diff --git a/package.json b/package.json index c747dc16..a94b7df7 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "prepare": "husky install", "commit": "git-cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", - "release": "node scripts/release.cjs" + "release": "node scripts/release.mjs" }, "engines": { "node": ">=18" @@ -51,7 +51,6 @@ "@vitejs/plugin-vue": "^4.5.2", "@vitest/coverage-v8": "^1.0.4", "c8": "^7.11.3", - "chalk": "^4.1.0", "commitizen": "^4.3.0", "conventional-changelog-cli": "^4.1.0", "cosmiconfig": "^8.3.6", @@ -70,6 +69,7 @@ "jsdom": "^19.0.0", "lint-staged": "^11.0.1", "minimist": "^1.2.6", + "picocolors": "^1.0.0", "prettier": "^2.8.7", "recast": "^0.20.4", "rimraf": "^3.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index be6f7513..d9dfcefc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -25,10 +25,10 @@ }, "dependencies": { "cac": "^6.7.12", - "chalk": "^4.1.0", "chokidar": "^3.5.3", "esbuild": "^0.17.19", "fs-extra": "^10.1.0", + "picocolors": "^1.0.0", "recast": "^0.21.1", "tslib": "^2.4.0" }, diff --git a/packages/cli/src/utils/logger.ts b/packages/cli/src/utils/logger.ts index aba5fd16..9dc07a05 100644 --- a/packages/cli/src/utils/logger.ts +++ b/packages/cli/src/utils/logger.ts @@ -1,17 +1,17 @@ -import chalk from 'chalk'; +import pico from 'picocolors'; export const info = (msg: string) => { - console.log(chalk.white(msg)); + console.log(pico.white(msg)); }; export const error = (msg: string) => { - console.log(chalk.red(msg)); + console.log(pico.red(msg)); }; export const success = (msg: string) => { - console.log(chalk.green(msg)); + console.log(pico.green(msg)); }; export const execInfo = (msg: string) => { - console.log(chalk.blue(msg)); + console.log(pico.blue(msg)); }; diff --git a/packages/core/package.json b/packages/core/package.json index a37fddeb..64c2e508 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -38,9 +38,9 @@ "vue" ], "dependencies": { - "@tmagic/data-source": "1.4.4", - "@tmagic/schema": "1.4.4", - "@tmagic/utils": "1.4.4", + "@tmagic/data-source": "workspace:*", + "@tmagic/schema": "workspace:*", + "@tmagic/utils": "workspace:*", "events": "^3.3.0", "lodash-es": "^4.17.21" }, diff --git a/packages/data-source/package.json b/packages/data-source/package.json index 9f6cd457..aea8f190 100644 --- a/packages/data-source/package.json +++ b/packages/data-source/package.json @@ -34,9 +34,9 @@ "data-source" ], "dependencies": { - "@tmagic/dep": "1.4.4", - "@tmagic/utils": "1.4.4", - "@tmagic/schema": "1.4.4", + "@tmagic/dep": "workspace:*", + "@tmagic/utils": "workspace:*", + "@tmagic/schema": "workspace:*", "events": "^3.3.0", "lodash-es": "^4.17.21" }, diff --git a/packages/dep/package.json b/packages/dep/package.json index 4a460c39..68077df9 100644 --- a/packages/dep/package.json +++ b/packages/dep/package.json @@ -31,8 +31,8 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "1.4.4", - "@tmagic/utils": "1.4.4" + "@tmagic/schema": "workspace:*", + "@tmagic/utils": "workspace:*" }, "devDependencies": { "@types/node": "^18.19.0", diff --git a/packages/editor/package.json b/packages/editor/package.json index 7cd62cdd..0e89e66d 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,5 +1,5 @@ { - "version": "1.4.4", + "version": "workspace:*", "name": "@tmagic/editor", "type": "module", "sideEffects": [ @@ -48,14 +48,14 @@ "dependencies": { "@babel/core": "^7.18.0", "@element-plus/icons-vue": "^2.3.1", - "@tmagic/core": "1.4.4", - "@tmagic/dep": "1.4.4", - "@tmagic/design": "1.4.4", - "@tmagic/form": "1.4.4", - "@tmagic/schema": "1.4.4", - "@tmagic/stage": "1.4.4", - "@tmagic/table": "1.4.4", - "@tmagic/utils": "1.4.4", + "@tmagic/core": "workspace:*", + "@tmagic/dep": "workspace:*", + "@tmagic/design": "workspace:*", + "@tmagic/form": "workspace:*", + "@tmagic/schema": "workspace:*", + "@tmagic/stage": "workspace:*", + "@tmagic/table": "workspace:*", + "@tmagic/utils": "workspace:*", "buffer": "^6.0.3", "color": "^3.1.3", "emmet-monaco-es": "^5.3.0", @@ -69,8 +69,8 @@ "vue": "^3.4.21" }, "peerDependencies": { - "@tmagic/design": "1.4.4", - "@tmagic/form": "1.4.4", + "@tmagic/design": "workspace:*", + "@tmagic/form": "workspace:*", "monaco-editor": "^0.47.0", "vue": "^3.4.21" }, diff --git a/packages/element-plus-adapter/package.json b/packages/element-plus-adapter/package.json index eba3812c..3509ae88 100644 --- a/packages/element-plus-adapter/package.json +++ b/packages/element-plus-adapter/package.json @@ -38,11 +38,11 @@ "typescript" ], "dependencies": { - "@tmagic/design": "1.4.4", + "@tmagic/design": "workspace:*", "element-plus": "^2.6.1" }, "peerDependencies": { - "@tmagic/design": "1.4.4", + "@tmagic/design": "workspace:*", "element-plus": "^2.6.1" }, "devDependencies": { diff --git a/packages/form/package.json b/packages/form/package.json index 838e9970..bbbd56f1 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -38,8 +38,8 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.3.1", - "@tmagic/design": "1.4.4", - "@tmagic/utils": "1.4.4", + "@tmagic/design": "workspace:*", + "@tmagic/utils": "workspace:*", "lodash-es": "^4.17.21", "sortablejs": "^1.14.0", "vue": "^3.4.21" diff --git a/packages/stage/package.json b/packages/stage/package.json index e641a8dd..949e8381 100644 --- a/packages/stage/package.json +++ b/packages/stage/package.json @@ -32,9 +32,9 @@ }, "dependencies": { "@scena/guides": "^0.29.2", - "@tmagic/core": "1.4.4", - "@tmagic/schema": "1.4.4", - "@tmagic/utils": "1.4.4", + "@tmagic/core": "workspace:*", + "@tmagic/schema": "workspace:*", + "@tmagic/utils": "workspace:*", "events": "^3.3.0", "keycon": "^1.4.0", "lodash-es": "^4.17.21", diff --git a/packages/table/package.json b/packages/table/package.json index d98ada79..2a1d1acc 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -35,14 +35,14 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/design": "1.4.4", - "@tmagic/form": "1.4.4", - "@tmagic/utils": "1.4.4", + "@tmagic/design": "workspace:*", + "@tmagic/form": "workspace:*", + "@tmagic/utils": "workspace:*", "lodash-es": "^4.17.21", "vue": "^3.4.21" }, "peerDependencies": { - "@tmagic/form": "1.4.4", + "@tmagic/form": "workspace:*", "vue": "^3.4.21" }, "devDependencies": { diff --git a/packages/tdesign-vue-next-adapter/package.json b/packages/tdesign-vue-next-adapter/package.json index b8a11b6e..8e36732c 100644 --- a/packages/tdesign-vue-next-adapter/package.json +++ b/packages/tdesign-vue-next-adapter/package.json @@ -38,12 +38,12 @@ "typescript" ], "dependencies": { - "@tmagic/design": "1.4.4", + "@tmagic/design": "workspace:*", "tdesign-vue-next": "^1.8.1", "vue": "^3.4.21" }, "peerDependencies": { - "@tmagic/design": "1.4.4", + "@tmagic/design": "workspace:*", "tdesign-vue-next": "^1.8.1", "vue": "^3.4.21" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 313ed22b..f1a336e1 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -31,7 +31,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "1.4.4", + "@tmagic/schema": "workspace:*", "dayjs": "^1.11.4", "lodash-es": "^4.17.21" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1be4756c..1e133cf9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,22 +25,19 @@ importers: version: 18.19.3 '@typescript-eslint/eslint-plugin': specifier: ^5.57.1 - version: 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.4.2) + version: 5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0)(typescript@5.4.2) '@typescript-eslint/parser': specifier: ^5.57.1 version: 5.57.1(eslint@8.38.0)(typescript@5.4.2) '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vitest/coverage-v8': specifier: ^1.0.4 - version: 1.0.4(vitest@1.0.4) + version: 1.0.4(vitest@1.0.4(@types/node@18.19.3)(jsdom@19.0.0)(sass@1.35.1)(terser@5.14.2)) c8: specifier: ^7.11.3 version: 7.11.3 - chalk: - specifier: ^4.1.0 - version: 4.1.0 commitizen: specifier: ^4.3.0 version: 4.3.0(typescript@5.4.2) @@ -55,7 +52,7 @@ importers: version: 3.3.0(typescript@5.4.2) element-plus: specifier: ^2.6.1 - version: 2.6.1(vue@3.4.21) + version: 2.6.1(vue@3.4.21(typescript@5.4.2)) enquirer: specifier: ^2.3.6 version: 2.3.6 @@ -64,10 +61,10 @@ importers: version: 8.38.0 eslint-config-tencent: specifier: ^1.0.4 - version: 1.0.4(@babel/core@7.18.0)(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint-plugin-prettier@4.2.1)(eslint@8.38.0)(prettier@2.8.7) + version: 1.0.4(@babel/core@7.18.0)(@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0)(typescript@5.4.2))(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint-plugin-prettier@4.2.1(eslint@8.38.0)(prettier@2.8.7))(eslint@8.38.0)(prettier@2.8.7) eslint-plugin-import: specifier: ^2.27.5 - version: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.38.0) + version: 2.27.5(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0) eslint-plugin-prettier: specifier: ^4.2.1 version: 4.2.1(eslint@8.38.0)(prettier@2.8.7) @@ -95,6 +92,9 @@ importers: minimist: specifier: ^1.2.6 version: 1.2.6 + picocolors: + specifier: ^1.0.0 + version: 1.0.0 prettier: specifier: ^2.8.7 version: 2.8.7 @@ -121,10 +121,10 @@ importers: version: 5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) vitepress: specifier: 1.0.0-rc.31 - version: 1.0.0-rc.31(@algolia/client-search@4.9.1)(@types/node@18.19.3)(search-insights@2.9.0)(typescript@5.4.2) + version: 1.0.0-rc.31(@algolia/client-search@4.9.1)(@types/node@18.19.3)(@types/react@17.0.37)(async-validator@4.2.5)(axios@0.25.0)(postcss@8.4.35)(qrcode@1.5.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(sass@1.35.1)(search-insights@2.9.0)(sortablejs@1.15.0)(terser@5.14.2)(typescript@5.4.2) vitest: specifier: ^1.0.4 - version: 1.0.4(@types/node@18.19.3)(jsdom@19.0.0) + version: 1.0.4(@types/node@18.19.3)(jsdom@19.0.0)(sass@1.35.1)(terser@5.14.2) vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.4.2) @@ -134,9 +134,6 @@ importers: cac: specifier: ^6.7.12 version: 6.7.12 - chalk: - specifier: ^4.1.0 - version: 4.1.0 chokidar: specifier: ^3.5.3 version: 3.5.3 @@ -146,6 +143,9 @@ importers: fs-extra: specifier: ^10.1.0 version: 10.1.0 + picocolors: + specifier: ^1.0.0 + version: 1.0.0 recast: specifier: ^0.21.1 version: 0.21.1 @@ -163,13 +163,13 @@ importers: packages/core: dependencies: '@tmagic/data-source': - specifier: 1.4.4 + specifier: workspace:* version: link:../data-source '@tmagic/schema': - specifier: 1.4.4 + specifier: workspace:* version: link:../schema '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils events: specifier: ^3.3.0 @@ -200,13 +200,13 @@ importers: packages/data-source: dependencies: '@tmagic/dep': - specifier: 1.4.4 + specifier: workspace:* version: link:../dep '@tmagic/schema': - specifier: 1.4.4 + specifier: workspace:* version: link:../schema '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils events: specifier: ^3.3.0 @@ -237,10 +237,10 @@ importers: packages/dep: dependencies: '@tmagic/schema': - specifier: 1.4.4 + specifier: workspace:* version: link:../schema '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils devDependencies: '@types/node': @@ -267,13 +267,13 @@ importers: version: 18.19.3 '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 '@vue/test-utils': specifier: ^2.4.4 - version: 2.4.4(vue@3.4.21) + version: 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -294,30 +294,30 @@ importers: version: 7.18.0 '@element-plus/icons-vue': specifier: ^2.3.1 - version: 2.3.1(vue@3.4.21) + version: 2.3.1(vue@3.4.21(typescript@5.4.2)) '@tmagic/core': - specifier: 1.4.4 + specifier: workspace:* version: link:../core '@tmagic/dep': - specifier: 1.4.4 + specifier: workspace:* version: link:../dep '@tmagic/design': - specifier: 1.4.4 + specifier: workspace:* version: link:../design '@tmagic/form': - specifier: 1.4.4 + specifier: workspace:* version: link:../form '@tmagic/schema': - specifier: 1.4.4 + specifier: workspace:* version: link:../schema '@tmagic/stage': - specifier: 1.4.4 + specifier: workspace:* version: link:../stage '@tmagic/table': - specifier: 1.4.4 + specifier: workspace:* version: link:../table '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils buffer: specifier: ^6.0.3 @@ -367,13 +367,13 @@ importers: version: 5.0.1 '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 '@vue/test-utils': specifier: ^2.4.4 - version: 2.4.4(vue@3.4.21) + version: 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -399,14 +399,11 @@ importers: packages/element-plus-adapter: dependencies: '@tmagic/design': - specifier: 1.4.4 + specifier: workspace:* version: link:../design element-plus: specifier: ^2.6.1 - version: 2.6.1(vue@3.4.21) - vue: - specifier: ^3.4.21 - version: 3.4.21(typescript@5.4.2) + version: 2.6.1(vue@3.4.21(typescript@5.4.2)) devDependencies: '@types/node': specifier: ^18.19.0 @@ -425,12 +422,12 @@ importers: dependencies: '@element-plus/icons-vue': specifier: ^2.3.1 - version: 2.3.1(vue@3.4.21) + version: 2.3.1(vue@3.4.21(typescript@5.4.2)) '@tmagic/design': - specifier: 1.4.4 + specifier: workspace:* version: link:../design '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils lodash-es: specifier: ^4.17.21 @@ -456,13 +453,13 @@ importers: version: 1.10.7 '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 '@vue/test-utils': specifier: ^2.4.4 - version: 2.4.4(vue@3.4.21) + version: 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -500,13 +497,13 @@ importers: specifier: ^0.29.2 version: 0.29.2 '@tmagic/core': - specifier: 1.4.4 + specifier: workspace:* version: link:../core '@tmagic/schema': - specifier: 1.4.4 + specifier: workspace:* version: link:../schema '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils events: specifier: ^3.3.0 @@ -549,13 +546,13 @@ importers: packages/table: dependencies: '@tmagic/design': - specifier: 1.4.4 + specifier: workspace:* version: link:../design '@tmagic/form': - specifier: 1.4.4 + specifier: workspace:* version: link:../form '@tmagic/utils': - specifier: 1.4.4 + specifier: workspace:* version: link:../utils lodash-es: specifier: ^4.17.21 @@ -575,13 +572,13 @@ importers: version: 18.19.3 '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 '@vue/test-utils': specifier: ^2.4.4 - version: 2.4.4(vue@3.4.21) + version: 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -601,11 +598,11 @@ importers: packages/tdesign-vue-next-adapter: dependencies: '@tmagic/design': - specifier: 1.4.4 + specifier: workspace:* version: link:../design tdesign-vue-next: specifier: ^1.8.1 - version: 1.8.1(vue@3.4.21) + version: 1.8.1(vue@3.4.21(typescript@5.4.2)) vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.4.2) @@ -615,7 +612,7 @@ importers: version: 18.19.3 '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 @@ -636,13 +633,13 @@ importers: dependencies: '@tmagic/core': specifier: 1.4.4 - version: link:../core + version: 1.4.4(dayjs@1.11.10) '@tmagic/schema': specifier: 1.4.4 - version: link:../schema + version: 1.4.4 '@tmagic/utils': specifier: 1.4.4 - version: link:../utils + version: 1.4.4(dayjs@1.11.10) delegate: specifier: ^3.2.0 version: 3.2.0 @@ -658,7 +655,7 @@ importers: devDependencies: '@testing-library/vue': specifier: ^6.4.2 - version: 6.4.2(@vue/compiler-sfc@3.4.21)(vue@3.4.21) + version: 6.4.2(@vue/compiler-sfc@3.4.21)(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) '@types/qrcode': specifier: ^1.4.2 version: 1.4.2 @@ -667,19 +664,19 @@ importers: version: 3.4.21 '@vue/test-utils': specifier: ^2.4.4 - version: 2.4.4(vue@3.4.21) + version: 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) packages/ui-react: dependencies: '@tmagic/core': specifier: 1.4.4 - version: link:../core + version: 1.4.4(dayjs@1.11.10) '@tmagic/schema': specifier: 1.4.4 - version: link:../schema + version: 1.4.4 '@tmagic/utils': specifier: 1.4.4 - version: link:../utils + version: 1.4.4(dayjs@1.11.10) qrcode: specifier: ^1.5.0 version: 1.5.0 @@ -704,13 +701,13 @@ importers: dependencies: '@tmagic/core': specifier: 1.4.4 - version: link:../core + version: 1.4.4(dayjs@1.11.10) '@tmagic/schema': specifier: 1.4.4 - version: link:../schema + version: 1.4.4 '@tmagic/utils': specifier: 1.4.4 - version: link:../utils + version: 1.4.4(dayjs@1.11.10) qrcode: specifier: ^1.5.0 version: 1.5.0 @@ -725,7 +722,7 @@ importers: packages/utils: dependencies: '@tmagic/schema': - specifier: 1.4.4 + specifier: workspace:* version: link:../schema dayjs: specifier: ^1.11.4 @@ -754,37 +751,37 @@ importers: dependencies: '@element-plus/icons-vue': specifier: ^2.3.1 - version: 2.3.1(vue@3.4.21) + version: 2.3.1(vue@3.4.21(typescript@5.4.2)) '@tmagic/core': specifier: 1.4.4 - version: link:../packages/core + version: 1.4.4(dayjs@1.11.10) '@tmagic/design': specifier: 1.4.4 - version: link:../packages/design + version: 1.4.4(vue@3.4.21(typescript@5.4.2)) '@tmagic/editor': specifier: 1.4.4 - version: link:../packages/editor + version: 1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(monaco-editor@0.47.0)(scenejs@1.9.4)(vue@3.4.21(typescript@5.4.2)) '@tmagic/element-plus-adapter': specifier: 1.4.4 - version: link:../packages/element-plus-adapter + version: 1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(element-plus@2.6.1(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) '@tmagic/form': specifier: 1.4.4 - version: link:../packages/form + version: 1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)) '@tmagic/schema': specifier: 1.4.4 - version: link:../packages/schema + version: 1.4.4 '@tmagic/stage': specifier: 1.4.4 - version: link:../packages/stage + version: 1.4.4(dayjs@1.11.10)(scenejs@1.9.4) '@tmagic/tmagic-form-runtime': specifier: 1.0.2 - version: 1.0.2(@tmagic/editor@packages+editor)(@tmagic/form@packages+form)(@tmagic/schema@packages+schema)(dayjs@1.11.10)(element-plus@2.6.1)(vue@3.4.21) + version: 1.0.2(@tmagic/editor@1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(monaco-editor@0.47.0)(scenejs@1.9.4)(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(@tmagic/schema@1.4.4)(dayjs@1.11.10)(element-plus@2.6.1(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) '@tmagic/utils': specifier: 1.4.4 - version: link:../packages/utils + version: 1.4.4(dayjs@1.11.10) element-plus: specifier: ^2.6.1 - version: 2.6.1(vue@3.4.21) + version: 2.6.1(vue@3.4.21(typescript@5.4.2)) monaco-editor: specifier: ^0.47.0 version: 0.47.0 @@ -796,7 +793,7 @@ importers: version: 3.4.21(typescript@5.4.2) vue-router: specifier: ^4.0.10 - version: 4.0.10(vue@3.4.21) + version: 4.0.10(vue@3.4.21(typescript@5.4.2)) devDependencies: '@babel/preset-env': specifier: ^7.21.4 @@ -809,13 +806,13 @@ importers: version: 5.0.1 '@vitejs/plugin-legacy': specifier: ^5.2.0 - version: 5.2.0(terser@5.14.2)(vite@5.1.6) + version: 5.2.0(terser@5.14.2)(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2)) '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.1.6)(vue@3.4.21) + version: 3.1.0(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 @@ -830,10 +827,10 @@ importers: version: 5.4.2 unplugin-auto-import: specifier: ^0.12.0 - version: 0.12.0 + version: 0.12.0(@vueuse/core@10.7.0(vue@3.4.21(typescript@5.4.2)))(rollup@2.25.0) unplugin-vue-components: specifier: ^0.22.11 - version: 0.22.11(vue@3.4.21) + version: 0.22.11(@babel/parser@7.24.0)(rollup@2.25.0)(vue@3.4.21(typescript@5.4.2)) vite: specifier: ^5.1.6 version: 5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) @@ -842,25 +839,25 @@ importers: dependencies: '@tmagic/cli': specifier: 1.4.4 - version: link:../../packages/cli + version: 1.4.4 '@tmagic/core': specifier: 1.4.4 - version: link:../../packages/core + version: 1.4.4(dayjs@1.11.10) '@tmagic/data-source': specifier: 1.4.4 - version: link:../../packages/data-source + version: 1.4.4(dayjs@1.11.10) '@tmagic/schema': specifier: 1.4.4 - version: link:../../packages/schema + version: 1.4.4 '@tmagic/stage': specifier: 1.4.4 - version: link:../../packages/stage + version: 1.4.4(dayjs@1.11.10)(scenejs@1.9.4) '@tmagic/ui-react': specifier: 1.4.4 - version: link:../../packages/ui-react + version: 1.4.4(dayjs@1.11.10)(qrcode@1.5.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@tmagic/utils': specifier: 1.4.4 - version: link:../../packages/utils + version: 1.4.4(dayjs@1.11.10) axios: specifier: ^0.25.0 version: 0.25.0 @@ -879,7 +876,7 @@ importers: devDependencies: '@babel/preset-env': specifier: ^7.21.4 - version: 7.21.4(@babel/core@7.23.5) + version: 7.21.4(@babel/core@7.18.0) '@types/lodash-es': specifier: ^4.17.4 version: 4.17.4 @@ -891,7 +888,7 @@ importers: version: 17.0.11 '@vitejs/plugin-legacy': specifier: ^5.2.0 - version: 5.2.0(terser@5.14.2)(vite@5.1.6) + version: 5.2.0(terser@5.14.2)(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2)) '@vitejs/plugin-react-refresh': specifier: ^1.3.1 version: 1.3.1 @@ -909,25 +906,25 @@ importers: dependencies: '@tmagic/core': specifier: 1.4.4 - version: link:../../packages/core + version: 1.4.4(dayjs@1.11.10) '@tmagic/editor': specifier: 1.4.4 - version: link:../../packages/editor + version: 1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(monaco-editor@0.47.0)(scenejs@1.9.4)(vue@3.4.21(typescript@5.4.2)) '@tmagic/form': specifier: 1.4.4 - version: link:../../packages/form + version: 1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)) '@tmagic/schema': specifier: 1.4.4 - version: link:../../packages/schema + version: 1.4.4 '@tmagic/stage': specifier: 1.4.4 - version: link:../../packages/stage + version: 1.4.4(dayjs@1.11.10)(scenejs@1.9.4) '@tmagic/utils': specifier: 1.4.4 - version: link:../../packages/utils + version: 1.4.4(dayjs@1.11.10) element-plus: specifier: ^2.6.1 - version: 2.6.1(vue@3.4.21) + version: 2.6.1(vue@3.4.21(typescript@5.4.2)) vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.4.2) @@ -937,7 +934,7 @@ importers: version: 18.19.3 '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 @@ -958,25 +955,25 @@ importers: dependencies: '@tmagic/cli': specifier: 1.4.4 - version: link:../../packages/cli + version: 1.4.4 '@tmagic/core': specifier: 1.4.4 - version: link:../../packages/core + version: 1.4.4(dayjs@1.11.10) '@tmagic/data-source': specifier: 1.4.4 - version: link:../../packages/data-source + version: 1.4.4(dayjs@1.11.10) '@tmagic/schema': specifier: 1.4.4 - version: link:../../packages/schema + version: 1.4.4 '@tmagic/stage': specifier: 1.4.4 - version: link:../../packages/stage + version: 1.4.4(dayjs@1.11.10)(scenejs@1.9.4) '@tmagic/ui-vue2': specifier: 1.4.4 - version: link:../../packages/ui-vue2 + version: 1.4.4(dayjs@1.11.10)(qrcode@1.5.0)(vue@2.7.4) '@tmagic/utils': specifier: 1.4.4 - version: link:../../packages/utils + version: 1.4.4(dayjs@1.11.10) axios: specifier: ^0.25.0 version: 0.25.0 @@ -995,10 +992,10 @@ importers: version: 3.0.0 '@vitejs/plugin-legacy': specifier: ^5.2.0 - version: 5.2.0(terser@5.14.2)(vite@5.1.6) + version: 5.2.0(terser@5.14.2)(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2)) '@vitejs/plugin-vue2': specifier: ^2.3.1 - version: 2.3.1(vite@5.1.6)(vue@2.7.4) + version: 2.3.1(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@2.7.4) recast: specifier: ^0.20.4 version: 0.20.4 @@ -1022,25 +1019,25 @@ importers: dependencies: '@tmagic/cli': specifier: 1.4.4 - version: link:../../packages/cli + version: 1.4.4 '@tmagic/core': specifier: 1.4.4 - version: link:../../packages/core + version: 1.4.4(dayjs@1.11.10) '@tmagic/data-source': specifier: 1.4.4 - version: link:../../packages/data-source + version: 1.4.4(dayjs@1.11.10) '@tmagic/schema': specifier: 1.4.4 - version: link:../../packages/schema + version: 1.4.4 '@tmagic/stage': specifier: 1.4.4 - version: link:../../packages/stage + version: 1.4.4(dayjs@1.11.10)(scenejs@1.9.4) '@tmagic/ui': specifier: 1.4.4 - version: link:../../packages/ui + version: 1.4.4(dayjs@1.11.10)(qrcode@1.5.0)(vue@3.4.21(typescript@5.4.2)) '@tmagic/utils': specifier: 1.4.4 - version: link:../../packages/utils + version: 1.4.4(dayjs@1.11.10) axios: specifier: ^0.25.0 version: 0.25.0 @@ -1056,19 +1053,19 @@ importers: version: 18.19.3 '@vitejs/plugin-legacy': specifier: ^5.2.0 - version: 5.2.0(terser@5.14.2)(vite@5.1.6) + version: 5.2.0(terser@5.14.2)(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2)) '@vitejs/plugin-vue': specifier: ^4.5.2 - version: 4.5.2(vite@5.1.6)(vue@3.4.21) + version: 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.1.6)(vue@3.4.21) + version: 3.1.0(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/compiler-sfc': specifier: ^3.4.21 version: 3.4.21 '@vue/test-utils': specifier: ^2.4.4 - version: 2.4.4(vue@3.4.21) + version: 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) recast: specifier: ^0.20.4 version: 0.20.4 @@ -2944,18 +2941,67 @@ packages: '@vue/compiler-sfc': '>= 3' vue: '>= 3' - '@tmagic/core@1.4.2': - resolution: {integrity: sha512-ti8RmSCu+m96OmpqTTfVN14lAw2YkPZLg47cWbsWpIvvpo9D/eFSJr6njU/OpmsAYU4ypyEPzdnPDklOvhHiJA==} + '@tmagic/cli@1.4.4': + resolution: {integrity: sha512-lzjY6/O+dnvwflMPMeEWti3TSKoBsvMlUWMlWKr+Fu9AllTlbKCAv2667vwIdv6/saYRGB4IqkgcDMjuOEc+6w==} + engines: {node: '>=18'} + hasBin: true + + '@tmagic/core@1.4.4': + resolution: {integrity: sha512-yrtv80C55hk2Sei96O0OE1fOj2IWF+/AhiE/lNTOZXxhA7Frt/S6y40jydclllQxeew4QeUMPo3WKpf0W1VEjQ==} engines: {node: '>=18'} - '@tmagic/data-source@1.4.2': - resolution: {integrity: sha512-HCWdUCn56JBH4A5Ea9JNzIgjwTll8h9FAopeLRYRvtkDLFxoyAIONweT99D2ih4S9PmcyxxE0Dy2C4Ef4JVX0Q==} + '@tmagic/data-source@1.4.4': + resolution: {integrity: sha512-ag5Pb6zl0/aclwSHsCh+wZAgqRZ4ugscbaO0jyx6NXIG7QqLRbOTz+0oVB9JELgmzz4MCKqY0qrya3vNmv1M/w==} engines: {node: '>=18'} - '@tmagic/schema@1.4.2': - resolution: {integrity: sha512-XDmvKLclLoYyCgD/XnDk5ONf/hyTiiSovhWnv1XjyFV9hTr3JahVrFz89Wzk7UX0y2AoaVtW/kpm3QNjDvDbvQ==} + '@tmagic/dep@1.4.4': + resolution: {integrity: sha512-wv66VF/2EnrVz0ZqgVl6D3M11i0Z7TfU0lmJS+zuMLinfJB+dTdJq4tFnx/MSaxntuxAshFiUo37BmZ7uH7+pQ==} engines: {node: '>=18'} + '@tmagic/design@1.4.4': + resolution: {integrity: sha512-aszbdPuprKkExM7lBkyqzlX+E81N30vuppqrCvrMrwyvzKPBVQDvlCAlf8hk0iQaiXVncn9C8Lsj4sOCCfWlXw==} + engines: {node: '>=18'} + peerDependencies: + vue: ^3.4.21 + + '@tmagic/editor@1.4.4': + resolution: {integrity: sha512-znUvP/rxY39xmTEJlIjIl9b8RtLp/+KzQatHXnBpXGCkEL+1xsk1htVZS945ehPe/JrFs8q78Dgn3kQF9nUW+g==} + engines: {node: '>=18'} + peerDependencies: + '@tmagic/design': 1.4.4 + '@tmagic/form': 1.4.4 + monaco-editor: ^0.47.0 + vue: ^3.4.21 + + '@tmagic/element-plus-adapter@1.4.4': + resolution: {integrity: sha512-w60UiPgQ+hq/QZWaA45VaqIeOnFLy9+nx4bdQPZPuvmW5ayqE5k1Ahz83psKx72h3J7KhSdJHnpmXJnkq6XXeQ==} + engines: {node: '>=18'} + peerDependencies: + '@tmagic/design': 1.4.4 + element-plus: ^2.6.1 + vue: ^3.4.21 + + '@tmagic/form@1.4.4': + resolution: {integrity: sha512-bgjkZqc6hWJUAA01r60S1uFU0R30R/AZ+qx7A9PQqGaI5ROUvy4IgJY+sD2OFYqUcNI8LhJnO7F0m/kGBCxYnA==} + engines: {node: '>=18'} + peerDependencies: + vue: ^3.4.21 + + '@tmagic/schema@1.4.4': + resolution: {integrity: sha512-EJsrvhkWFfjTnl9l4I7jzNYsBnSuKQHYIB/udjgHiI4/DbhDt4Bo6JAbPAbceOl6U7J/KG/bb+5ZAoljg5Th7w==} + engines: {node: '>=18'} + + '@tmagic/stage@1.4.4': + resolution: {integrity: sha512-8gO7MRiamMZhepvsk6jZtligJfRmuaClhfVtyq65R9JPNhDl48kSosabyDvMAaYSAnelSwSW4Mv5ax2gXb+4ug==} + engines: {node: '>=18'} + + '@tmagic/table@1.4.4': + resolution: {integrity: sha512-3ijRaDFmyek9HPE0xcTon2/muXrKbWPBETgbHrE+iaGXgMASCwJgwZPGUGvMV5LjOcwAwqaeDWBwH52OIwgjjA==} + engines: {node: '>=18'} + peerDependencies: + '@tmagic/form': 1.4.4 + vue: ^3.4.21 + '@tmagic/tmagic-form-runtime@1.0.2': resolution: {integrity: sha512-596/I+6qZ7s6MM3TT8YN9GKqcp2xb4H4j4G0n3saOb7kwN6pLsYqiyw/vD9AMPuEcvpNDUci3oRf+/9fPAtHbw==} engines: {node: '>=18'} @@ -2966,8 +3012,30 @@ packages: element-plus: ^2.4.3 vue: ^3.3.8 - '@tmagic/utils@1.4.2': - resolution: {integrity: sha512-OQ0qo+3JZD94lXsxlSjxqR4tuv55MwnKpxN2C/wLmY0h4z9Aelchd0qRVN3ukC4WL6SleRbk50lWmWiOLVCdYQ==} + '@tmagic/ui-react@1.4.4': + resolution: {integrity: sha512-X5+PyOlQeZCIkIrRJOO5VSHum/qlvfzYsj/oRKk6+wjswB29UrAYBH+tyvbMOlgJyD+zXwcDYwLISYX6ZdsaGA==} + engines: {node: '>=18'} + peerDependencies: + qrcode: ^1.5.0 + react: ^17.0.0 + react-dom: ^17.0.0 + + '@tmagic/ui-vue2@1.4.4': + resolution: {integrity: sha512-wAEd/BvYgmpZCIxRNWPqMZIX86ba/8DDFsskYO0PYX4rcd+Jo1nobNsKB3svNpGUA9aPLnjD6AZjSfKyAMif6A==} + engines: {node: '>=18'} + peerDependencies: + qrcode: ^1.5.0 + vue: ^2.7.4 + + '@tmagic/ui@1.4.4': + resolution: {integrity: sha512-6sEW5QQWZ0bTlzWVxRoYN6+Z1vkJgsysHCjhzHPq8lVNra2QKXAmHSVtQ8i/sx42rSHgZ5/9JIVWj8X1pztXzw==} + engines: {node: '>=18'} + peerDependencies: + qrcode: ^1.5.0 + vue: ^3.4.21 + + '@tmagic/utils@1.4.4': + resolution: {integrity: sha512-yIgX+uq4P1xZb2TszmzHV8DbzlxgyxH+eWzdvW0sEyti1yCG4qOyNoJtl1ElFZyR6k2eq4QcmrqfC7tqnwh0RA==} engines: {node: '>=18'} peerDependencies: dayjs: ^1.11.4 @@ -6836,6 +6904,15 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 + '@babel/helper-compilation-targets@7.22.9(@babel/core@7.18.0)': + dependencies: + '@babel/compat-data': 7.22.9 + '@babel/core': 7.18.0 + '@babel/helper-validator-option': 7.22.5 + browserslist: 4.21.9 + lru-cache: 5.1.1 + semver: 6.3.1 + '@babel/helper-compilation-targets@7.22.9(@babel/core@7.23.5)': dependencies: '@babel/compat-data': 7.22.9 @@ -6845,6 +6922,20 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 + '@babel/helper-create-class-features-plugin@7.21.4(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-member-expression-to-functions': 7.21.0 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/helper-replace-supers': 7.20.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/helper-split-export-declaration': 7.18.6 + transitivePeerDependencies: + - supports-color + '@babel/helper-create-class-features-plugin@7.21.4(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -6872,6 +6963,12 @@ snapshots: '@babel/helper-split-export-declaration': 7.22.6 semver: 6.3.1 + '@babel/helper-create-regexp-features-plugin@7.21.4(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-annotate-as-pure': 7.18.6 + regexpu-core: 5.3.2 + '@babel/helper-create-regexp-features-plugin@7.21.4(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -6892,6 +6989,18 @@ snapshots: regexpu-core: 5.3.2 semver: 6.3.1 + '@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + debug: 4.3.4 + lodash.debounce: 4.0.8 + resolve: 1.22.2 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + '@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7002,6 +7111,16 @@ snapshots: '@babel/helper-plugin-utils@7.22.5': {} + '@babel/helper-remap-async-to-generator@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-wrap-function': 7.20.5 + '@babel/types': 7.22.5 + transitivePeerDependencies: + - supports-color + '@babel/helper-remap-async-to-generator@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7144,6 +7263,11 @@ snapshots: dependencies: '@babel/types': 7.23.5 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7154,6 +7278,13 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7174,6 +7305,16 @@ snapshots: '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) + transitivePeerDependencies: + - supports-color + '@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7184,6 +7325,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + transitivePeerDependencies: + - supports-color + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7192,6 +7341,15 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-proposal-class-static-block@7.21.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) + transitivePeerDependencies: + - supports-color + '@babel/plugin-proposal-class-static-block@7.21.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7201,42 +7359,87 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-proposal-dynamic-import@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-proposal-dynamic-import@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-proposal-json-strings@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-proposal-json-strings@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-proposal-logical-assignment-operators@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) + '@babel/plugin-proposal-logical-assignment-operators@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.5) + '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) + '@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.5) + '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/compat-data': 7.21.4 + '@babel/core': 7.18.0 + '@babel/helper-compilation-targets': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.18.0) + '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/compat-data': 7.21.4 @@ -7246,12 +7449,25 @@ snapshots: '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.5) '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.23.5) + '@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7259,6 +7475,14 @@ snapshots: '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + transitivePeerDependencies: + - supports-color + '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7267,6 +7491,16 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-proposal-private-property-in-object@7.21.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) + transitivePeerDependencies: + - supports-color + '@babel/plugin-proposal-private-property-in-object@7.21.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7281,37 +7515,73 @@ snapshots: dependencies: '@babel/core': 7.23.5 + '@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-import-assertions@7.20.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-import-assertions@7.20.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7332,6 +7602,11 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7342,41 +7617,81 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7393,6 +7708,11 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-arrow-functions@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-arrow-functions@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7411,6 +7731,15 @@ snapshots: '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.5) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.5) + '@babel/plugin-transform-async-to-generator@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.18.0) + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-async-to-generator@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7427,6 +7756,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.5) + '@babel/plugin-transform-block-scoped-functions@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-block-scoped-functions@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7437,6 +7771,11 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-block-scoping@7.21.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-block-scoping@7.21.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7460,6 +7799,21 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.5) + '@babel/plugin-transform-classes@7.21.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-compilation-targets': 7.21.4(@babel/core@7.18.0) + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-replace-supers': 7.20.7 + '@babel/helper-split-export-declaration': 7.18.6 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-classes@7.21.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7488,6 +7842,12 @@ snapshots: '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 + '@babel/plugin-transform-computed-properties@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/template': 7.20.7 + '@babel/plugin-transform-computed-properties@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7500,6 +7860,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/template': 7.22.15 + '@babel/plugin-transform-destructuring@7.21.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-destructuring@7.21.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7510,6 +7875,12 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-dotall-regex@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-dotall-regex@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7522,6 +7893,11 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-duplicate-keys@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-duplicate-keys@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7538,6 +7914,12 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-transform-exponentiation-operator@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-exponentiation-operator@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7556,6 +7938,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-transform-for-of@7.21.0(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-for-of@7.21.0(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7566,6 +7953,13 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-function-name@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-compilation-targets': 7.21.4(@babel/core@7.18.0) + '@babel/helper-function-name': 7.21.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-function-name@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7586,6 +7980,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-transform-literals@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-literals@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7602,6 +8001,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.5) + '@babel/plugin-transform-member-expression-literals@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-member-expression-literals@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7612,6 +8016,14 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-modules-amd@7.20.11(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-module-transforms': 7.21.2 + '@babel/helper-plugin-utils': 7.20.2 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-modules-amd@7.20.11(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7626,6 +8038,15 @@ snapshots: '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-modules-commonjs@7.21.2(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-module-transforms': 7.21.2 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-simple-access': 7.20.2 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-modules-commonjs@7.21.2(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7642,6 +8063,16 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-simple-access': 7.22.5 + '@babel/plugin-transform-modules-systemjs@7.20.11(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-hoist-variables': 7.18.6 + '@babel/helper-module-transforms': 7.21.2 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-validator-identifier': 7.19.1 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-modules-systemjs@7.20.11(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7660,6 +8091,14 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-identifier': 7.22.20 + '@babel/plugin-transform-modules-umd@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-module-transforms': 7.21.2 + '@babel/helper-plugin-utils': 7.20.2 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-modules-umd@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7674,6 +8113,12 @@ snapshots: '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-named-capturing-groups-regex@7.20.5(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-named-capturing-groups-regex@7.20.5(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7686,6 +8131,11 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-new-target@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-new-target@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7717,6 +8167,14 @@ snapshots: '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.5) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.5) + '@babel/plugin-transform-object-super@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-replace-supers': 7.20.7 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-object-super@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7744,6 +8202,11 @@ snapshots: '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-transform-parameters@7.21.3(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-parameters@7.21.3(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7768,6 +8231,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.5) + '@babel/plugin-transform-property-literals@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-property-literals@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7788,6 +8256,12 @@ snapshots: '@babel/core': 7.18.0 '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-regenerator@7.20.5(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + regenerator-transform: 0.15.1 + '@babel/plugin-transform-regenerator@7.20.5(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7800,6 +8274,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 regenerator-transform: 0.15.2 + '@babel/plugin-transform-reserved-words@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-reserved-words@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7810,6 +8289,11 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-shorthand-properties@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-shorthand-properties@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7820,6 +8304,12 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-spread@7.20.7(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-transform-spread@7.20.7(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7832,6 +8322,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/plugin-transform-sticky-regex@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-sticky-regex@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7842,6 +8337,11 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-template-literals@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-template-literals@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7852,6 +8352,11 @@ snapshots: '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-typeof-symbol@7.18.9(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-typeof-symbol@7.18.9(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7870,6 +8375,11 @@ snapshots: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.5) + '@babel/plugin-transform-unicode-escapes@7.18.10(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-unicode-escapes@7.18.10(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7886,6 +8396,12 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-transform-unicode-regex@7.18.6(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-create-regexp-features-plugin': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-transform-unicode-regex@7.18.6(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -7904,6 +8420,87 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.5) '@babel/helper-plugin-utils': 7.22.5 + '@babel/preset-env@7.21.4(@babel/core@7.18.0)': + dependencies: + '@babel/compat-data': 7.21.4 + '@babel/core': 7.18.0 + '@babel/helper-compilation-targets': 7.21.4(@babel/core@7.18.0) + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-class-static-block': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-proposal-dynamic-import': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-export-namespace-from': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-proposal-json-strings': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-logical-assignment-operators': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-proposal-private-property-in-object': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.18.0) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-import-assertions': 7.20.0(@babel/core@7.18.0) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.18.0) + '@babel/plugin-transform-arrow-functions': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-transform-async-to-generator': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-transform-block-scoped-functions': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-block-scoping': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-transform-classes': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-transform-computed-properties': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-transform-destructuring': 7.21.3(@babel/core@7.18.0) + '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-duplicate-keys': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-transform-exponentiation-operator': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-for-of': 7.21.0(@babel/core@7.18.0) + '@babel/plugin-transform-function-name': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-transform-literals': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-transform-member-expression-literals': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-modules-amd': 7.20.11(@babel/core@7.18.0) + '@babel/plugin-transform-modules-commonjs': 7.21.2(@babel/core@7.18.0) + '@babel/plugin-transform-modules-systemjs': 7.20.11(@babel/core@7.18.0) + '@babel/plugin-transform-modules-umd': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-named-capturing-groups-regex': 7.20.5(@babel/core@7.18.0) + '@babel/plugin-transform-new-target': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-object-super': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.18.0) + '@babel/plugin-transform-property-literals': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-regenerator': 7.20.5(@babel/core@7.18.0) + '@babel/plugin-transform-reserved-words': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-shorthand-properties': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-spread': 7.20.7(@babel/core@7.18.0) + '@babel/plugin-transform-sticky-regex': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-template-literals': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-transform-typeof-symbol': 7.18.9(@babel/core@7.18.0) + '@babel/plugin-transform-unicode-escapes': 7.18.10(@babel/core@7.18.0) + '@babel/plugin-transform-unicode-regex': 7.18.6(@babel/core@7.18.0) + '@babel/preset-modules': 0.1.5(@babel/core@7.18.0) + '@babel/types': 7.21.4 + babel-plugin-polyfill-corejs2: 0.3.3(@babel/core@7.18.0) + babel-plugin-polyfill-corejs3: 0.6.0(@babel/core@7.18.0) + babel-plugin-polyfill-regenerator: 0.4.1(@babel/core@7.18.0) + core-js-compat: 3.30.0 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + '@babel/preset-env@7.21.4(@babel/core@7.23.5)': dependencies: '@babel/compat-data': 7.21.4 @@ -8071,6 +8668,15 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/preset-modules@0.1.5(@babel/core@7.18.0)': + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.18.0) + '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.18.0) + '@babel/types': 7.21.4 + esutils: 2.0.3 + '@babel/preset-modules@0.1.5(@babel/core@7.23.5)': dependencies: '@babel/core': 7.23.5 @@ -8254,7 +8860,7 @@ snapshots: '@types/node': 18.19.3 chalk: 4.1.2 cosmiconfig: 8.3.6(typescript@5.4.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.4.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6(typescript@5.4.2))(typescript@5.4.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -8313,9 +8919,9 @@ snapshots: '@docsearch/css@3.5.2': {} - '@docsearch/js@3.5.2(@algolia/client-search@4.9.1)(search-insights@2.9.0)': + '@docsearch/js@3.5.2(@algolia/client-search@4.9.1)(@types/react@17.0.37)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(search-insights@2.9.0)': dependencies: - '@docsearch/react': 3.5.2(@algolia/client-search@4.9.1)(search-insights@2.9.0) + '@docsearch/react': 3.5.2(@algolia/client-search@4.9.1)(@types/react@17.0.37)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(search-insights@2.9.0) preact: 10.13.2 transitivePeerDependencies: - '@algolia/client-search' @@ -8324,12 +8930,16 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.5.2(@algolia/client-search@4.9.1)(search-insights@2.9.0)': + '@docsearch/react@3.5.2(@algolia/client-search@4.9.1)(@types/react@17.0.37)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(search-insights@2.9.0)': dependencies: '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.9.1)(algoliasearch@4.20.0)(search-insights@2.9.0) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.9.1)(algoliasearch@4.20.0) '@docsearch/css': 3.5.2 algoliasearch: 4.20.0 + optionalDependencies: + '@types/react': 17.0.37 + react: 17.0.2 + react-dom: 17.0.2(react@17.0.2) search-insights: 2.9.0 transitivePeerDependencies: - '@algolia/client-search' @@ -8344,7 +8954,7 @@ snapshots: '@egjs/list-differ@1.0.1': {} - '@element-plus/icons-vue@2.3.1(vue@3.4.21)': + '@element-plus/icons-vue@2.3.1(vue@3.4.21(typescript@5.4.2))': dependencies: vue: 3.4.21(typescript@5.4.2) @@ -8608,11 +9218,13 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rollup/pluginutils@5.0.2': + '@rollup/pluginutils@5.0.2(rollup@2.25.0)': dependencies: '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 + optionalDependencies: + rollup: 2.25.0 '@rollup/rollup-android-arm-eabi@4.7.0': optional: true @@ -8702,52 +9314,177 @@ snapshots: lz-string: 1.5.0 pretty-format: 26.6.2 - '@testing-library/vue@6.4.2(@vue/compiler-sfc@3.4.21)(vue@3.4.21)': + '@testing-library/vue@6.4.2(@vue/compiler-sfc@3.4.21)(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2))': dependencies: '@babel/runtime': 7.21.0 '@testing-library/dom': 7.31.2 '@vue/compiler-sfc': 3.4.21 - '@vue/test-utils': 2.4.4(vue@3.4.21) + '@vue/test-utils': 2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2)) vue: 3.4.21(typescript@5.4.2) transitivePeerDependencies: - '@vue/server-renderer' - '@tmagic/core@1.4.2(dayjs@1.11.10)': + '@tmagic/cli@1.4.4': dependencies: - '@tmagic/data-source': 1.4.2(dayjs@1.11.10) - '@tmagic/schema': 1.4.2 - '@tmagic/utils': 1.4.2(dayjs@1.11.10) + cac: 6.7.14 + chalk: 4.1.2 + chokidar: 3.5.3 + esbuild: 0.17.19 + fs-extra: 10.1.0 + recast: 0.21.1 + tslib: 2.4.0 + + '@tmagic/core@1.4.4(dayjs@1.11.10)': + dependencies: + '@tmagic/data-source': 1.4.4(dayjs@1.11.10) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) events: 3.3.0 lodash-es: 4.17.21 transitivePeerDependencies: - dayjs - '@tmagic/data-source@1.4.2(dayjs@1.11.10)': + '@tmagic/data-source@1.4.4(dayjs@1.11.10)': dependencies: - '@tmagic/schema': 1.4.2 - '@tmagic/utils': 1.4.2(dayjs@1.11.10) + '@tmagic/dep': 1.4.4(dayjs@1.11.10) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) events: 3.3.0 lodash-es: 4.17.21 transitivePeerDependencies: - dayjs - '@tmagic/schema@1.4.2': {} - - '@tmagic/tmagic-form-runtime@1.0.2(@tmagic/editor@packages+editor)(@tmagic/form@packages+form)(@tmagic/schema@packages+schema)(dayjs@1.11.10)(element-plus@2.6.1)(vue@3.4.21)': + '@tmagic/dep@1.4.4(dayjs@1.11.10)': dependencies: - '@tmagic/core': 1.4.2(dayjs@1.11.10) - '@tmagic/editor': link:packages/editor - '@tmagic/form': link:packages/form - '@tmagic/schema': link:packages/schema - '@tmagic/utils': 1.4.2(dayjs@1.11.10) - element-plus: 2.6.1(vue@3.4.21) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + transitivePeerDependencies: + - dayjs + + '@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2))': + dependencies: + vue: 3.4.21(typescript@5.4.2) + + '@tmagic/editor@1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(monaco-editor@0.47.0)(scenejs@1.9.4)(vue@3.4.21(typescript@5.4.2))': + dependencies: + '@babel/core': 7.23.5 + '@element-plus/icons-vue': 2.3.1(vue@3.4.21(typescript@5.4.2)) + '@tmagic/core': 1.4.4(dayjs@1.11.10) + '@tmagic/dep': 1.4.4(dayjs@1.11.10) + '@tmagic/design': 1.4.4(vue@3.4.21(typescript@5.4.2)) + '@tmagic/form': 1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)) + '@tmagic/schema': 1.4.4 + '@tmagic/stage': 1.4.4(dayjs@1.11.10)(scenejs@1.9.4) + '@tmagic/table': 1.4.4(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)) + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + buffer: 6.0.3 + color: 3.1.3 + emmet-monaco-es: 5.3.0(monaco-editor@0.47.0) + events: 3.3.0 + gesto: 1.19.1 + keycon: 1.4.0 + lodash-es: 4.17.21 + monaco-editor: 0.47.0 + moveable: 0.51.1 + serialize-javascript: 6.0.0 + vue: 3.4.21(typescript@5.4.2) + transitivePeerDependencies: + - dayjs + - scenejs + - supports-color + + '@tmagic/element-plus-adapter@1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(element-plus@2.6.1(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2))': + dependencies: + '@tmagic/design': 1.4.4(vue@3.4.21(typescript@5.4.2)) + element-plus: 2.6.1(vue@3.4.21(typescript@5.4.2)) + vue: 3.4.21(typescript@5.4.2) + + '@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2))': + dependencies: + '@element-plus/icons-vue': 2.3.1(vue@3.4.21(typescript@5.4.2)) + '@tmagic/design': 1.4.4(vue@3.4.21(typescript@5.4.2)) + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + lodash-es: 4.17.21 + sortablejs: 1.15.0 vue: 3.4.21(typescript@5.4.2) transitivePeerDependencies: - dayjs - '@tmagic/utils@1.4.2(dayjs@1.11.10)': + '@tmagic/schema@1.4.4': {} + + '@tmagic/stage@1.4.4(dayjs@1.11.10)(scenejs@1.9.4)': dependencies: - '@tmagic/schema': 1.4.2 + '@scena/guides': 0.29.2 + '@tmagic/core': 1.4.4(dayjs@1.11.10) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + events: 3.3.0 + keycon: 1.4.0 + lodash-es: 4.17.21 + moveable: 0.51.1 + moveable-helper: 0.4.0(scenejs@1.9.4) + transitivePeerDependencies: + - dayjs + - scenejs + + '@tmagic/table@1.4.4(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2))': + dependencies: + '@tmagic/design': 1.4.4(vue@3.4.21(typescript@5.4.2)) + '@tmagic/form': 1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)) + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + lodash-es: 4.17.21 + vue: 3.4.21(typescript@5.4.2) + transitivePeerDependencies: + - dayjs + + '@tmagic/tmagic-form-runtime@1.0.2(@tmagic/editor@1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(monaco-editor@0.47.0)(scenejs@1.9.4)(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(@tmagic/schema@1.4.4)(dayjs@1.11.10)(element-plus@2.6.1(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2))': + dependencies: + '@tmagic/core': 1.4.4(dayjs@1.11.10) + '@tmagic/editor': 1.4.4(@tmagic/design@1.4.4(vue@3.4.21(typescript@5.4.2)))(@tmagic/form@1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)))(dayjs@1.11.10)(monaco-editor@0.47.0)(scenejs@1.9.4)(vue@3.4.21(typescript@5.4.2)) + '@tmagic/form': 1.4.4(dayjs@1.11.10)(vue@3.4.21(typescript@5.4.2)) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + element-plus: 2.6.1(vue@3.4.21(typescript@5.4.2)) + vue: 3.4.21(typescript@5.4.2) + transitivePeerDependencies: + - dayjs + + '@tmagic/ui-react@1.4.4(dayjs@1.11.10)(qrcode@1.5.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)': + dependencies: + '@tmagic/core': 1.4.4(dayjs@1.11.10) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + qrcode: 1.5.0 + react: 17.0.2 + react-dom: 17.0.2(react@17.0.2) + transitivePeerDependencies: + - dayjs + + '@tmagic/ui-vue2@1.4.4(dayjs@1.11.10)(qrcode@1.5.0)(vue@2.7.4)': + dependencies: + '@tmagic/core': 1.4.4(dayjs@1.11.10) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + qrcode: 1.5.0 + vue: 2.7.4 + transitivePeerDependencies: + - dayjs + + '@tmagic/ui@1.4.4(dayjs@1.11.10)(qrcode@1.5.0)(vue@3.4.21(typescript@5.4.2))': + dependencies: + '@tmagic/core': 1.4.4(dayjs@1.11.10) + '@tmagic/schema': 1.4.4 + '@tmagic/utils': 1.4.4(dayjs@1.11.10) + delegate: 3.2.0 + qrcode: 1.5.0 + tiny-emitter: 2.1.0 + vue: 3.4.21(typescript@5.4.2) + transitivePeerDependencies: + - dayjs + + '@tmagic/utils@1.4.4(dayjs@1.11.10)': + dependencies: + '@tmagic/schema': 1.4.4 dayjs: 1.11.10 lodash-es: 4.17.21 @@ -8868,7 +9605,7 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.0 - '@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.4.2)': + '@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0)(typescript@5.4.2)': dependencies: '@eslint-community/regexpp': 4.5.0 '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.4.2) @@ -8882,6 +9619,7 @@ snapshots: natural-compare-lite: 1.4.0 semver: 7.3.7 tsutils: 3.21.0(typescript@5.4.2) + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -8893,6 +9631,7 @@ snapshots: '@typescript-eslint/typescript-estree': 5.57.1(typescript@5.4.2) debug: 4.3.4 eslint: 8.38.0 + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -8909,6 +9648,7 @@ snapshots: debug: 4.3.4 eslint: 8.38.0 tsutils: 3.21.0(typescript@5.4.2) + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -8924,6 +9664,7 @@ snapshots: is-glob: 4.0.3 semver: 7.3.7 tsutils: 3.21.0(typescript@5.4.2) + optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -8950,7 +9691,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-legacy@5.2.0(terser@5.14.2)(vite@5.1.6)': + '@vitejs/plugin-legacy@5.2.0(terser@5.14.2)(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))': dependencies: '@babel/core': 7.23.5 '@babel/preset-env': 7.23.5(@babel/core@7.23.5) @@ -8973,7 +9714,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.6)(vue@3.4.21)': + '@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2))': dependencies: '@babel/core': 7.23.5 '@babel/plugin-transform-typescript': 7.23.5(@babel/core@7.23.5) @@ -8983,17 +9724,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue2@2.3.1(vite@5.1.6)(vue@2.7.4)': + '@vitejs/plugin-vue2@2.3.1(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@2.7.4)': dependencies: vite: 5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) vue: 2.7.4 - '@vitejs/plugin-vue@4.5.2(vite@5.1.6)(vue@3.4.21)': + '@vitejs/plugin-vue@4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2))': dependencies: vite: 5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) vue: 3.4.21(typescript@5.4.2) - '@vitest/coverage-v8@1.0.4(vitest@1.0.4)': + '@vitest/coverage-v8@1.0.4(vitest@1.0.4(@types/node@18.19.3)(jsdom@19.0.0)(sass@1.35.1)(terser@5.14.2))': dependencies: '@ampproject/remapping': 2.2.1 '@bcoe/v8-coverage': 0.2.3 @@ -9008,7 +9749,7 @@ snapshots: std-env: 3.6.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.0.4(@types/node@18.19.3)(jsdom@19.0.0) + vitest: 1.0.4(@types/node@18.19.3)(jsdom@19.0.0)(sass@1.35.1)(terser@5.14.2) transitivePeerDependencies: - supports-color @@ -9118,8 +9859,9 @@ snapshots: computeds: 0.0.1 minimatch: 9.0.3 path-browserify: 1.0.1 - typescript: 5.4.2 vue-template-compiler: 2.7.14 + optionalDependencies: + typescript: 5.4.2 '@vue/reactivity@3.4.21': dependencies: @@ -9136,7 +9878,7 @@ snapshots: '@vue/shared': 3.4.21 csstype: 3.1.3 - '@vue/server-renderer@3.4.21(vue@3.4.21)': + '@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2))': dependencies: '@vue/compiler-ssr': 3.4.21 '@vue/shared': 3.4.21 @@ -9144,38 +9886,45 @@ snapshots: '@vue/shared@3.4.21': {} - '@vue/test-utils@2.4.4(vue@3.4.21)': + '@vue/test-utils@2.4.4(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.4.2)))(vue@3.4.21(typescript@5.4.2))': dependencies: js-beautify: 1.15.1 vue: 3.4.21(typescript@5.4.2) vue-component-type-helpers: 1.8.27 + optionalDependencies: + '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.4.2)) - '@vueuse/core@10.7.0(vue@3.4.21)': + '@vueuse/core@10.7.0(vue@3.4.21(typescript@5.4.2))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 10.7.0 - '@vueuse/shared': 10.7.0(vue@3.4.21) - vue-demi: 0.14.6(vue@3.4.21) + '@vueuse/shared': 10.7.0(vue@3.4.21(typescript@5.4.2)) + vue-demi: 0.14.6(vue@3.4.21(typescript@5.4.2)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/core@9.13.0(vue@3.4.21)': + '@vueuse/core@9.13.0(vue@3.4.21(typescript@5.4.2))': dependencies: '@types/web-bluetooth': 0.0.16 '@vueuse/metadata': 9.13.0 - '@vueuse/shared': 9.13.0(vue@3.4.21) - vue-demi: 0.14.6(vue@3.4.21) + '@vueuse/shared': 9.13.0(vue@3.4.21(typescript@5.4.2)) + vue-demi: 0.14.6(vue@3.4.21(typescript@5.4.2)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/integrations@10.7.0(focus-trap@7.5.4)(vue@3.4.21)': + '@vueuse/integrations@10.7.0(async-validator@4.2.5)(axios@0.25.0)(focus-trap@7.5.4)(qrcode@1.5.0)(sortablejs@1.15.0)(vue@3.4.21(typescript@5.4.2))': dependencies: - '@vueuse/core': 10.7.0(vue@3.4.21) - '@vueuse/shared': 10.7.0(vue@3.4.21) + '@vueuse/core': 10.7.0(vue@3.4.21(typescript@5.4.2)) + '@vueuse/shared': 10.7.0(vue@3.4.21(typescript@5.4.2)) + vue-demi: 0.14.6(vue@3.4.21(typescript@5.4.2)) + optionalDependencies: + async-validator: 4.2.5 + axios: 0.25.0 focus-trap: 7.5.4 - vue-demi: 0.14.6(vue@3.4.21) + qrcode: 1.5.0 + sortablejs: 1.15.0 transitivePeerDependencies: - '@vue/composition-api' - vue @@ -9184,16 +9933,16 @@ snapshots: '@vueuse/metadata@9.13.0': {} - '@vueuse/shared@10.7.0(vue@3.4.21)': + '@vueuse/shared@10.7.0(vue@3.4.21(typescript@5.4.2))': dependencies: - vue-demi: 0.14.6(vue@3.4.21) + vue-demi: 0.14.6(vue@3.4.21(typescript@5.4.2)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/shared@9.13.0(vue@3.4.21)': + '@vueuse/shared@9.13.0(vue@3.4.21(typescript@5.4.2))': dependencies: - vue-demi: 0.14.6(vue@3.4.21) + vue-demi: 0.14.6(vue@3.4.21(typescript@5.4.2)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -9363,6 +10112,15 @@ snapshots: transitivePeerDependencies: - debug + babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.18.0): + dependencies: + '@babel/compat-data': 7.21.4 + '@babel/core': 7.18.0 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.18.0) + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.23.5): dependencies: '@babel/compat-data': 7.21.4 @@ -9381,6 +10139,14 @@ snapshots: transitivePeerDependencies: - supports-color + babel-plugin-polyfill-corejs3@0.6.0(@babel/core@7.18.0): + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.18.0) + core-js-compat: 3.30.0 + transitivePeerDependencies: + - supports-color + babel-plugin-polyfill-corejs3@0.6.0(@babel/core@7.23.5): dependencies: '@babel/core': 7.23.5 @@ -9397,6 +10163,13 @@ snapshots: transitivePeerDependencies: - supports-color + babel-plugin-polyfill-regenerator@0.4.1(@babel/core@7.18.0): + dependencies: + '@babel/core': 7.18.0 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.18.0) + transitivePeerDependencies: + - supports-color + babel-plugin-polyfill-regenerator@0.4.1(@babel/core@7.23.5): dependencies: '@babel/core': 7.23.5 @@ -9777,7 +10550,7 @@ snapshots: core-js@3.34.0: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.4.2): + cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6(typescript@5.4.2))(typescript@5.4.2): dependencies: '@types/node': 18.19.3 cosmiconfig: 8.3.6(typescript@5.4.2) @@ -9798,6 +10571,7 @@ snapshots: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 + optionalDependencies: typescript: 5.4.2 croact-css-styled@1.1.9: @@ -9992,15 +10766,15 @@ snapshots: electron-to-chromium@1.4.609: {} - element-plus@2.6.1(vue@3.4.21): + element-plus@2.6.1(vue@3.4.21(typescript@5.4.2)): dependencies: '@ctrl/tinycolor': 3.6.0 - '@element-plus/icons-vue': 2.3.1(vue@3.4.21) + '@element-plus/icons-vue': 2.3.1(vue@3.4.21(typescript@5.4.2)) '@floating-ui/dom': 1.2.6 '@popperjs/core': '@sxzz/popperjs-es@2.11.7' '@types/lodash': 4.14.192 '@types/lodash-es': 4.17.7 - '@vueuse/core': 9.13.0(vue@3.4.21) + '@vueuse/core': 9.13.0(vue@3.4.21(typescript@5.4.2)) async-validator: 4.2.5 dayjs: 1.11.10 escape-html: 1.0.3 @@ -10165,15 +10939,15 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-config-tencent@1.0.4(@babel/core@7.18.0)(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint-plugin-prettier@4.2.1)(eslint@8.38.0)(prettier@2.8.7): + eslint-config-tencent@1.0.4(@babel/core@7.18.0)(@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0)(typescript@5.4.2))(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint-plugin-prettier@4.2.1(eslint@8.38.0)(prettier@2.8.7))(eslint@8.38.0)(prettier@2.8.7): dependencies: '@babel/core': 7.18.0 '@babel/eslint-parser': 7.21.3(@babel/core@7.18.0)(eslint@8.38.0) - '@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.4.2) + '@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0)(typescript@5.4.2) '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.4.2) eslint: 8.38.0 eslint-plugin-chalk: 1.0.0(eslint@8.38.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.38.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0) eslint-plugin-prettier: 4.2.1(eslint@8.38.0)(prettier@2.8.7) prettier: 2.8.7 transitivePeerDependencies: @@ -10189,10 +10963,11 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0): + eslint-module-utils@2.7.4(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint-import-resolver-node@0.3.7)(eslint@8.38.0): dependencies: - '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.4.2) debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.4.2) eslint: 8.38.0 eslint-import-resolver-node: 0.3.7 transitivePeerDependencies: @@ -10203,9 +10978,8 @@ snapshots: chalk: 4.1.2 eslint: 8.38.0 - eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.38.0): + eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint@8.38.0): dependencies: - '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.4.2) array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -10213,7 +10987,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.38.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0) + eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.4.2))(eslint-import-resolver-node@0.3.7)(eslint@8.38.0) has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -10222,6 +10996,8 @@ snapshots: resolve: 1.22.2 semver: 6.3.0 tsconfig-paths: 3.14.2 + optionalDependencies: + '@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.4.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -11131,13 +11907,14 @@ snapshots: dependencies: cli-truncate: 2.1.0 colorette: 2.0.19 - enquirer: 2.3.6 log-update: 4.0.0 p-map: 4.0.0 rfdc: 1.3.0 rxjs: 7.8.0 through: 2.3.8 wrap-ansi: 7.0.0 + optionalDependencies: + enquirer: 2.3.6 local-pkg@0.4.3: {} @@ -12213,12 +12990,12 @@ snapshots: tabbable@6.2.0: {} - tdesign-icons-vue-next@0.2.2(vue@3.4.21): + tdesign-icons-vue-next@0.2.2(vue@3.4.21(typescript@5.4.2)): dependencies: '@babel/runtime': 7.24.0 vue: 3.4.21(typescript@5.4.2) - tdesign-vue-next@1.8.1(vue@3.4.21): + tdesign-vue-next@1.8.1(vue@3.4.21(typescript@5.4.2)): dependencies: '@babel/runtime': 7.24.0 '@popperjs/core': 2.11.8 @@ -12230,7 +13007,7 @@ snapshots: lodash: 4.17.21 mitt: 3.0.1 sortablejs: 1.15.0 - tdesign-icons-vue-next: 0.2.2(vue@3.4.21) + tdesign-icons-vue-next: 0.2.2(vue@3.4.21(typescript@5.4.2)) tinycolor2: 1.6.0 validator: 13.9.0 vue: 3.4.21(typescript@5.4.2) @@ -12383,9 +13160,9 @@ snapshots: unicode-property-aliases-ecmascript@2.1.0: {} - unimport@1.3.0: + unimport@1.3.0(rollup@2.25.0): dependencies: - '@rollup/pluginutils': 5.0.2 + '@rollup/pluginutils': 5.0.2(rollup@2.25.0) escape-string-regexp: 5.0.0 fast-glob: 3.2.12 local-pkg: 0.4.3 @@ -12426,21 +13203,23 @@ snapshots: universalify@2.0.0: {} - unplugin-auto-import@0.12.0: + unplugin-auto-import@0.12.0(@vueuse/core@10.7.0(vue@3.4.21(typescript@5.4.2)))(rollup@2.25.0): dependencies: '@antfu/utils': 0.7.2 - '@rollup/pluginutils': 5.0.2 + '@rollup/pluginutils': 5.0.2(rollup@2.25.0) local-pkg: 0.4.3 magic-string: 0.26.7 - unimport: 1.3.0 + unimport: 1.3.0(rollup@2.25.0) unplugin: 1.3.1 + optionalDependencies: + '@vueuse/core': 10.7.0(vue@3.4.21(typescript@5.4.2)) transitivePeerDependencies: - rollup - unplugin-vue-components@0.22.11(vue@3.4.21): + unplugin-vue-components@0.22.11(@babel/parser@7.24.0)(rollup@2.25.0)(vue@3.4.21(typescript@5.4.2)): dependencies: '@antfu/utils': 0.7.2 - '@rollup/pluginutils': 5.0.2 + '@rollup/pluginutils': 5.0.2(rollup@2.25.0) chokidar: 3.5.3 debug: 4.3.4 fast-glob: 3.2.12 @@ -12450,6 +13229,8 @@ snapshots: resolve: 1.22.2 unplugin: 1.3.1 vue: 3.4.21(typescript@5.4.2) + optionalDependencies: + '@babel/parser': 7.24.0 transitivePeerDependencies: - rollup - supports-color @@ -12525,7 +13306,7 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-node@1.0.4(@types/node@18.19.3): + vite-node@1.0.4(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2): dependencies: cac: 6.7.14 debug: 4.3.4 @@ -12544,24 +13325,24 @@ snapshots: vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2): dependencies: - '@types/node': 18.19.3 esbuild: 0.19.9 postcss: 8.4.35 rollup: 4.7.0 + optionalDependencies: + '@types/node': 18.19.3 + fsevents: 2.3.3 sass: 1.35.1 terser: 5.14.2 - optionalDependencies: - fsevents: 2.3.3 - vitepress@1.0.0-rc.31(@algolia/client-search@4.9.1)(@types/node@18.19.3)(search-insights@2.9.0)(typescript@5.4.2): + vitepress@1.0.0-rc.31(@algolia/client-search@4.9.1)(@types/node@18.19.3)(@types/react@17.0.37)(async-validator@4.2.5)(axios@0.25.0)(postcss@8.4.35)(qrcode@1.5.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(sass@1.35.1)(search-insights@2.9.0)(sortablejs@1.15.0)(terser@5.14.2)(typescript@5.4.2): dependencies: '@docsearch/css': 3.5.2 - '@docsearch/js': 3.5.2(@algolia/client-search@4.9.1)(search-insights@2.9.0) + '@docsearch/js': 3.5.2(@algolia/client-search@4.9.1)(@types/react@17.0.37)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(search-insights@2.9.0) '@types/markdown-it': 13.0.7 - '@vitejs/plugin-vue': 4.5.2(vite@5.1.6)(vue@3.4.21) + '@vitejs/plugin-vue': 4.5.2(vite@5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2))(vue@3.4.21(typescript@5.4.2)) '@vue/devtools-api': 6.5.1 - '@vueuse/core': 10.7.0(vue@3.4.21) - '@vueuse/integrations': 10.7.0(focus-trap@7.5.4)(vue@3.4.21) + '@vueuse/core': 10.7.0(vue@3.4.21(typescript@5.4.2)) + '@vueuse/integrations': 10.7.0(async-validator@4.2.5)(axios@0.25.0)(focus-trap@7.5.4)(qrcode@1.5.0)(sortablejs@1.15.0)(vue@3.4.21(typescript@5.4.2)) focus-trap: 7.5.4 mark.js: 8.11.1 minisearch: 6.3.0 @@ -12570,6 +13351,8 @@ snapshots: shikiji-transformers: 0.7.6 vite: 5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) vue: 3.4.21(typescript@5.4.2) + optionalDependencies: + postcss: 8.4.35 transitivePeerDependencies: - '@algolia/client-search' - '@types/node' @@ -12597,9 +13380,8 @@ snapshots: - typescript - universal-cookie - vitest@1.0.4(@types/node@18.19.3)(jsdom@19.0.0): + vitest@1.0.4(@types/node@18.19.3)(jsdom@19.0.0)(sass@1.35.1)(terser@5.14.2): dependencies: - '@types/node': 18.19.3 '@vitest/expect': 1.0.4 '@vitest/runner': 1.0.4 '@vitest/snapshot': 1.0.4 @@ -12610,7 +13392,6 @@ snapshots: chai: 4.3.10 debug: 4.3.4 execa: 8.0.1 - jsdom: 19.0.0 local-pkg: 0.5.0 magic-string: 0.30.5 pathe: 1.1.1 @@ -12620,8 +13401,11 @@ snapshots: tinybench: 2.5.1 tinypool: 0.8.1 vite: 5.1.6(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) - vite-node: 1.0.4(@types/node@18.19.3) + vite-node: 1.0.4(@types/node@18.19.3)(sass@1.35.1)(terser@5.14.2) why-is-node-running: 2.2.2 + optionalDependencies: + '@types/node': 18.19.3 + jsdom: 19.0.0 transitivePeerDependencies: - less - lightningcss @@ -12633,7 +13417,7 @@ snapshots: vue-component-type-helpers@1.8.27: {} - vue-demi@0.14.6(vue@3.4.21): + vue-demi@0.14.6(vue@3.4.21(typescript@5.4.2)): dependencies: vue: 3.4.21(typescript@5.4.2) @@ -12650,7 +13434,7 @@ snapshots: transitivePeerDependencies: - supports-color - vue-router@4.0.10(vue@3.4.21): + vue-router@4.0.10(vue@3.4.21(typescript@5.4.2)): dependencies: '@vue/devtools-api': 6.5.0 vue: 3.4.21(typescript@5.4.2) @@ -12682,8 +13466,9 @@ snapshots: '@vue/compiler-dom': 3.4.21 '@vue/compiler-sfc': 3.4.21 '@vue/runtime-dom': 3.4.21 - '@vue/server-renderer': 3.4.21(vue@3.4.21) + '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.4.2)) '@vue/shared': 3.4.21 + optionalDependencies: typescript: 5.4.2 w3c-hr-time@1.0.2: diff --git a/runtime/tmagic-form/package.json b/runtime/tmagic-form/package.json index d77f718e..16a18134 100644 --- a/runtime/tmagic-form/package.json +++ b/runtime/tmagic-form/package.json @@ -32,12 +32,12 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/core": "1.4.4", - "@tmagic/editor": "1.4.4", - "@tmagic/form": "1.4.4", - "@tmagic/utils": "1.4.4", - "@tmagic/schema": "1.4.4", - "@tmagic/stage": "1.4.4", + "@tmagic/core": "workspace:*", + "@tmagic/editor": "workspace:*", + "@tmagic/form": "workspace:*", + "@tmagic/utils": "workspace:*", + "@tmagic/schema": "workspace:*", + "@tmagic/stage": "workspace:*", "element-plus": "^2.6.1", "vue": "^3.4.21" }, diff --git a/scripts/release.cjs b/scripts/release.cjs deleted file mode 100644 index f473f4cc..00000000 --- a/scripts/release.cjs +++ /dev/null @@ -1,209 +0,0 @@ -const args = require('minimist')(process.argv.slice(2)); -const fs = require('fs'); -const path = require('path'); -const chalk = require('chalk'); -const semver = require('semver'); -const currentVersion = require('../package.json').version; -const { prompt } = require('enquirer'); -const execa = require('execa'); - -const preId = args.preid || (semver.prerelease(currentVersion) && semver.prerelease(currentVersion)[0]); -const isDryRun = args.dry; -const { skipTests } = args; -const { skipBuild } = args; -const packages = fs - .readdirSync(path.resolve(__dirname, '../packages')) - .filter((p) => !p.endsWith('.ts') && !p.startsWith('.')); - -const skippedPackages = []; - -const versionIncrements = [ - 'patch', - 'minor', - 'major', - ...(preId ? ['prepatch', 'preminor', 'premajor', 'prerelease'] : []), -]; - -const inc = (i) => semver.inc(currentVersion, i, preId); -const run = (bin, args, opts = {}) => execa(bin, args, { stdio: 'inherit', ...opts }); -const dryRun = (bin, args, opts = {}) => console.log(chalk.blue(`[dryrun] ${bin} ${args.join(' ')}`), opts); -const runIfNotDry = isDryRun ? dryRun : run; -const getPkgRoot = (pkg) => path.resolve(__dirname, `../packages/${pkg}`); -const getRunTimeRoot = (pkg) => path.resolve(__dirname, `../runtime/${pkg}`); -const getPlayground = () => path.resolve(__dirname, `../playground`); -const step = (msg) => console.log(chalk.cyan(msg)); - -async function main() { - let targetVersion = args._[0]; - - if (!targetVersion) { - // no explicit version, offer suggestions - const { release } = await prompt({ - type: 'select', - name: 'release', - message: 'Select release type', - choices: versionIncrements.map((i) => `${i} (${inc(i)})`).concat(['custom']), - }); - - if (release === 'custom') { - targetVersion = ( - await prompt({ - type: 'input', - name: 'version', - message: 'Input custom version', - initial: currentVersion, - }) - ).version; - } else { - [, targetVersion] = release.match(/\((.*)\)/); - } - } - - if (!semver.valid(targetVersion)) { - throw new Error(`invalid target version: ${targetVersion}`); - } - - const { yes } = await prompt({ - type: 'confirm', - name: 'yes', - message: `Releasing v${targetVersion}. Confirm?`, - }); - - if (!yes) { - return; - } - - // run tests before release - step('\nRunning tests...'); - if (!skipTests && !isDryRun) { - await run('pnpm', ['test']); - } else { - console.log(`(skipped)`); - } - - // update all package versions and inter-dependencies - step('\nUpdating cross dependencies...'); - updateVersions(targetVersion); - - // build all packages with types - step('\nBuilding all packages...'); - if (!skipBuild && !isDryRun) { - await run('pnpm', ['run', 'build']); - } else { - console.log(`(skipped)`); - } - - // generate changelog - step('\nGenerating changelog...'); - await run(`pnpm`, ['run', 'changelog']); - - // update pnpm-lock.yaml - step('\nUpdating lockfile...'); - await run(`pnpm`, ['install', '--prefer-offline']); - - const { stdout } = await run('git', ['diff'], { stdio: 'pipe' }); - if (stdout) { - step('\nCommitting changes...'); - await runIfNotDry('git', ['add', '-A']); - await runIfNotDry('git', ['commit', '-m', `chore: release v${targetVersion}`, '--no-verify']); - } else { - console.log('No changes to commit.'); - } - - // publish packages - step('\nPublishing packages...'); - for (const pkg of packages) { - await publishPackage(pkg, targetVersion, runIfNotDry); - } - - // push to GitHub - step('\nPushing to GitHub...'); - await runIfNotDry('git', ['tag', `v${targetVersion}`]); - await runIfNotDry('git', ['push']); - - if (isDryRun) { - console.log(`\nDry run finished - run git diff to see package changes.`); - } - - if (skippedPackages.length) { - console.log( - chalk.yellow(`The following packages are skipped and NOT published:\n- ${skippedPackages.join('\n- ')}`), - ); - } - console.log(); -} - -function updateVersions(version) { - // 1. update root package.json - updatePackage(path.resolve(__dirname, '..'), version); - // 2. update all packages - packages.forEach((p) => updatePackage(getPkgRoot(p), version)); - ['vue3', 'react', 'vue2'].forEach((p) => updatePackage(getRunTimeRoot(p), version)); - updatePackage(getPlayground(), version); - updatePackage(getRunTimeRoot('tmagic-form'), version, false); -} - -function updatePackage(pkgRoot, version, updateVersion = true) { - const pkgPath = path.resolve(pkgRoot, 'package.json'); - const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); - if (updateVersion) { - pkg.version = version; - } - updateDeps(pkg, 'dependencies', version); - updateDeps(pkg, 'peerDependencies', version); - fs.writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}\n`); -} - -function updateDeps(pkg, depType, version) { - const deps = pkg[depType]; - if (!deps) return; - Object.keys(deps).forEach((dep) => { - if (dep.startsWith('@tmagic') && packages.includes(dep.replace(/^@tmagic\//, ''))) { - console.log(chalk.yellow(`${pkg.name} -> ${depType} -> ${dep}@${version}`)); - deps[dep] = version; - } - }); -} - -async function publishPackage(pkgName, version, runIfNotDry) { - if (skippedPackages.includes(pkgName)) { - return; - } - const pkgRoot = getPkgRoot(pkgName); - const pkgPath = path.resolve(pkgRoot, 'package.json'); - const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); - if (pkg.private) { - return; - } - - let releaseTag = null; - if (args.tag) { - releaseTag = args.tag; - } else if (version.includes('alpha')) { - releaseTag = 'alpha'; - } else if (version.includes('beta')) { - releaseTag = 'beta'; - } else if (version.includes('rc')) { - releaseTag = 'rc'; - } - - step(`Publishing ${pkgName}...`); - try { - await runIfNotDry('pnpm', ['publish', ...(releaseTag ? ['--tag', releaseTag] : []), '--access', 'public'], { - cwd: pkgRoot, - stdio: 'pipe', - }); - console.log(chalk.green(`Successfully published ${pkgName}@${version}`)); - } catch (e) { - if (e.stderr.match(/previously published/)) { - console.log(chalk.red(`Skipping already published: ${pkgName}`)); - } else { - throw e; - } - } -} - -main().catch((err) => { - updateVersions(currentVersion); - console.error(err); -}); diff --git a/scripts/release.mjs b/scripts/release.mjs new file mode 100644 index 00000000..676236c2 --- /dev/null +++ b/scripts/release.mjs @@ -0,0 +1,386 @@ +// @ts-check +import enquirer from 'enquirer'; +import execa from 'execa'; +import minimist from 'minimist'; +import fs from 'node:fs'; +import { createRequire } from 'node:module'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import pico from 'picocolors'; +import semver from 'semver'; + +/** + * @typedef {{ + * name: string + * version: string + * dependencies?: { [dependenciesPackageName: string]: string } + * peerDependencies?: { [peerDependenciesPackageName: string]: string } + * }} Package + */ + +let versionUpdated = false; + +const { prompt } = enquirer; +const currentVersion = createRequire(import.meta.url)('../package.json').version; +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const args = minimist(process.argv.slice(2), { + alias: { + skipBuild: 'skip-build', + skipTests: 'skip-tests', + skipGit: 'skip-git', + skipPrompts: 'skip-prompts', + }, +}); + +const preId = args.preid || semver.prerelease(currentVersion)?.[0]; +const isDryRun = args.dry; +/** @type {boolean | undefined} */ +let { skipTests } = args; +const { skipBuild } = args; +const skipPrompts = args.skipPrompts || args.canary; +const skipGit = args.skipGit || args.canary; + +const packages = fs.readdirSync(path.resolve(__dirname, '../packages')).filter((p) => { + const pkgRoot = path.resolve(__dirname, '../packages', p); + if (fs.statSync(pkgRoot).isDirectory()) { + const pkg = JSON.parse(fs.readFileSync(path.resolve(pkgRoot, 'package.json'), 'utf-8')); + return !pkg.private; + } +}); + +const keepThePackageName = (/** @type {string} */ pkgName) => pkgName; + +/** @type {string[]} */ +const skippedPackages = []; + +/** @type {ReadonlyArray} */ +const versionIncrements = [ + 'patch', + 'minor', + 'major', + ...(preId ? /** @type {const} */ (['prepatch', 'preminor', 'premajor', 'prerelease']) : []), +]; + +const inc = (/** @type {import('semver').ReleaseType} */ i) => semver.inc(currentVersion, i, preId); +const run = async ( + /** @type {string} */ bin, + /** @type {ReadonlyArray} */ args, + /** @type {import('execa').Options} */ opts = {}, +) => execa(bin, args, { stdio: 'inherit', ...opts }); +const dryRun = async ( + /** @type {string} */ bin, + /** @type {ReadonlyArray} */ args, + /** @type {import('execa').Options} */ opts = {}, +) => console.log(pico.blue(`[dryrun] ${bin} ${args.join(' ')}`), opts); +const runIfNotDry = isDryRun ? dryRun : run; +const getPkgRoot = (/** @type {string} */ pkg) => path.resolve(__dirname, `../packages/${pkg}`); +const getRunTimeRoot = (pkg) => path.resolve(__dirname, `../runtime/${pkg}`); +const getPlayground = () => path.resolve(__dirname, `../playground`); +const step = (/** @type {string} */ msg) => console.log(pico.cyan(msg)); + +async function main() { + if (!(await isInSyncWithRemote())) { + return; + } + console.log(`${pico.green(`✓`)} commit is up-to-date with remote.\n`); + + let targetVersion = args._[0]; + + if (!targetVersion) { + // no explicit version, offer suggestions + /** @type {{ release: string }} */ + const { release } = await prompt({ + type: 'select', + name: 'release', + message: 'Select release type', + choices: versionIncrements.map((i) => `${i} (${inc(i)})`).concat(['custom']), + }); + + if (release === 'custom') { + /** @type {{ version: string }} */ + const result = await prompt({ + type: 'input', + name: 'version', + message: 'Input custom version', + initial: currentVersion, + }); + targetVersion = result.version; + } else { + targetVersion = release.match(/\((.*)\)/)?.[1] ?? ''; + } + } + + if (!semver.valid(targetVersion)) { + throw new Error(`invalid target version: ${targetVersion}`); + } + + if (skipPrompts) { + step(`Releasing v${targetVersion}...`); + } else { + /** @type {{ yes: boolean }} */ + const { yes: confirmRelease } = await prompt({ + type: 'confirm', + name: 'yes', + message: `Releasing v${targetVersion}. Confirm?`, + }); + + if (!confirmRelease) { + return; + } + } + + if (!skipTests) { + step('Checking CI status for HEAD...'); + const isCIPassed = await getCIResult(); + skipTests ||= isCIPassed; + + if (isCIPassed && !skipPrompts) { + /** @type {{ yes: boolean }} */ + const { yes: promptSkipTests } = await prompt({ + type: 'confirm', + name: 'yes', + message: `CI for this commit passed. Skip local tests?`, + }); + + skipTests = promptSkipTests; + } + } + + if (!skipTests) { + step('\nRunning tests...'); + if (!isDryRun) { + await run('pnpm', ['run', 'test', '--run']); + } else { + console.log(`Skipped (dry run)`); + } + } else { + step('Tests skipped.'); + } + + // update all package versions and inter-dependencies + step('\nUpdating cross dependencies...'); + updateVersions(targetVersion); + versionUpdated = true; + + // build all packages with types + step('\nBuilding all packages...'); + if (!skipBuild && !isDryRun) { + await run('pnpm', ['run', 'build']); + } else { + console.log(`(skipped)`); + } + + // generate changelog + step('\nGenerating changelog...'); + await run(`pnpm`, ['run', 'changelog']); + + if (!skipPrompts) { + /** @type {{ yes: boolean }} */ + const { yes: changelogOk } = await prompt({ + type: 'confirm', + name: 'yes', + message: `Changelog generated. Does it look good?`, + }); + + if (!changelogOk) { + return; + } + } + + if (!skipGit) { + const { stdout } = await run('git', ['diff'], { stdio: 'pipe' }); + if (stdout) { + step('\nCommitting changes...'); + await runIfNotDry('git', ['add', '-A']); + await runIfNotDry('git', ['commit', '-m', `release: v${targetVersion}`]); + } else { + console.log('No changes to commit.'); + } + } + + // publish packages + step('\nPublishing packages...'); + + const additionalPublishFlags = []; + if (isDryRun) { + additionalPublishFlags.push('--dry-run'); + } + if (isDryRun || skipGit) { + additionalPublishFlags.push('--no-git-checks'); + } + // bypass the pnpm --publish-branch restriction which isn't too useful to us + // otherwise it leads to a prompt and blocks the release script + const branch = await getBranch(); + if (branch !== 'master') { + additionalPublishFlags.push('--publish-branch', branch); + } + + for (const pkg of packages) { + await publishPackage(pkg, targetVersion, additionalPublishFlags); + } + + // push to GitHub + if (!skipGit) { + step('\nPushing to GitHub...'); + await runIfNotDry('git', ['tag', `v${targetVersion}`]); + await runIfNotDry('git', ['push', 'origin', `refs/tags/v${targetVersion}`]); + await runIfNotDry('git', ['push']); + } + + if (isDryRun) { + console.log(`\nDry run finished - run git diff to see package changes.`); + } + + if (skippedPackages.length) { + console.log( + pico.yellow(`The following packages are skipped and NOT published:\n- ${skippedPackages.join('\n- ')}`), + ); + } + console.log(); +} + +async function getCIResult() { + try { + const sha = await getSha(); + const res = await fetch( + `https://api.github.com/repos/vuejs/core/actions/runs?head_sha=${sha}` + + `&status=success&exclude_pull_requests=true`, + ); + const data = await res.json(); + return data.workflow_runs.length > 0; + } catch { + console.error('Failed to get CI status for current commit.'); + return false; + } +} + +async function isInSyncWithRemote() { + try { + const branch = await getBranch(); + const res = await fetch(`https://api.github.com/repos/vuejs/core/commits/${branch}?per_page=1`); + const data = await res.json(); + if (data.sha === (await getSha())) { + return true; + } + /** @type {{ yes: boolean }} */ + const { yes } = await prompt({ + type: 'confirm', + name: 'yes', + message: pico.red(`Local HEAD is not up-to-date with remote. Are you sure you want to continue?`), + }); + return yes; + } catch { + console.error(pico.red('Failed to check whether local HEAD is up-to-date with remote.')); + return false; + } +} + +async function getSha() { + return (await execa('git', ['rev-parse', 'HEAD'])).stdout; +} + +async function getBranch() { + return (await execa('git', ['rev-parse', '--abbrev-ref', 'HEAD'])).stdout; +} + +/** + * @param {string} version + * @param {(pkgName: string) => string} getNewPackageName + */ +function updateVersions(version, getNewPackageName = keepThePackageName) { + // 1. update root package.json + updatePackage(path.resolve(__dirname, '..'), version, getNewPackageName); + // 2. update all packages + packages.forEach((p) => updatePackage(getPkgRoot(p), version, getNewPackageName)); + + ['vue3', 'react', 'vue2'].forEach((p) => updatePackage(getRunTimeRoot(p), version, getNewPackageName, true)); + updatePackage(getPlayground(), version, getNewPackageName, true); +} + +/** + * @param {string} pkgRoot + * @param {string} version + * @param {(pkgName: string) => string} getNewPackageName + */ +function updatePackage(pkgRoot, version, getNewPackageName, updateDep = false) { + const pkgPath = path.resolve(pkgRoot, 'package.json'); + /** @type {Package} */ + const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); + pkg.name = getNewPackageName(pkg.name); + pkg.version = version; + + if (updateDep) { + updateDeps(pkg, 'dependencies', version); + updateDeps(pkg, 'peerDependencies', version); + } + + fs.writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}\n`); +} + +/** + * @param {Package} pkg + * @param {'dependencies' | 'peerDependencies'} depType + * @param {string} version + */ +function updateDeps(pkg, depType, version) { + const deps = pkg[depType]; + if (!deps) return; + Object.keys(deps).forEach((dep) => { + if (dep.startsWith('@tmagic') && packages.includes(dep.replace(/^@tmagic\//, ''))) { + console.log(pico.yellow(`${pkg.name} -> ${depType} -> ${dep}@${version}`)); + deps[dep] = version; + } + }); +} + +/** + * @param {string} pkgName + * @param {string} version + * @param {ReadonlyArray} additionalFlags + */ +async function publishPackage(pkgName, version, additionalFlags) { + if (skippedPackages.includes(pkgName)) { + return; + } + + let releaseTag = null; + if (args.tag) { + releaseTag = args.tag; + } else if (version.includes('alpha')) { + releaseTag = 'alpha'; + } else if (version.includes('beta')) { + releaseTag = 'beta'; + } else if (version.includes('rc')) { + releaseTag = 'rc'; + } + + step(`Publishing ${pkgName}...`); + try { + // Don't change the package manager here as we rely on pnpm to handle + // workspace:* deps + await run( + 'pnpm', + ['publish', ...(releaseTag ? ['--tag', releaseTag] : []), '--access', 'public', ...additionalFlags], + { + cwd: getPkgRoot(pkgName), + stdio: 'pipe', + }, + ); + console.log(pico.green(`Successfully published ${pkgName}@${version}`)); + } catch (/** @type {any} */ e) { + if (e.stderr.match(/previously published/)) { + console.log(pico.red(`Skipping already published: ${pkgName}`)); + } else { + throw e; + } + } +} + +main().catch((err) => { + if (versionUpdated) { + // revert to current version on failed releases + updateVersions(currentVersion); + } + console.error(err); + process.exit(1); +});