mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
feat: Update package schemas and scripts to support JSON-based lifecycle hooks
- Added `jsonScript` property to metadata schema for JSON script entry points. - Refactored `generate-package.ts` to replace Lua scripts with JSON scripts for lifecycle hooks. - Updated test generation to use JSON format for metadata validation. - Modified documentation and comments to reflect the transition from Lua to JSON scripting. - Adjusted Storybook configuration and mock data to align with new JSON script structure. - Renamed relevant files and references from Lua to JSON for consistency across the project.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* E2E Tests for Lua Package Rendering
|
||||
* E2E Tests for Package Rendering
|
||||
*
|
||||
* Verifies that Lua packages render correctly in the browser.
|
||||
* Tests the full pipeline: JSON → Lua → React → DOM
|
||||
* Verifies that packages render correctly in the browser.
|
||||
* Tests the full pipeline: JSON → React → DOM
|
||||
*/
|
||||
import { expect, test } from '@playwright/test'
|
||||
|
||||
test.describe('Lua Package Rendering', () => {
|
||||
test.describe('Package Rendering', () => {
|
||||
test.describe('Homepage (level1)', () => {
|
||||
test('should render homepage with fakemui components', async ({ page }) => {
|
||||
await page.goto('/')
|
||||
|
||||
Reference in New Issue
Block a user