diff --git a/CHANGELOG.md b/CHANGELOG.md index d6af60471..522e4bf06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.2.2](https://github.com/Tencent/tmagic-editor/compare/v1.2.1...v1.2.2) (2023-02-09) + + +### Bug Fixes + +* **editor:** set root 可能没有items ([aa566e9](https://github.com/Tencent/tmagic-editor/commit/aa566e9535c5afd76fa15b39f42de395758189eb)) + + + ## [1.2.1](https://github.com/Tencent/tmagic-editor/compare/v1.2.0...v1.2.1) (2023-02-09) diff --git a/package.json b/package.json index 1f62ed8e2..9762e0bf7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "tmagic", "private": true, "packageManager": "pnpm@7.1.9", diff --git a/packages/cli/package.json b/packages/cli/package.json index 20db79014..e44ae9ae7 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/cli", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/packages/core/package.json b/packages/core/package.json index 8527e5235..0e2a902bb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/core", "type": "module", "sideEffects": [ @@ -36,7 +36,7 @@ "vue" ], "dependencies": { - "@tmagic/schema": "1.2.1", + "@tmagic/schema": "1.2.2", "events": "^3.3.0", "lodash-es": "^4.17.21" }, diff --git a/packages/design/package.json b/packages/design/package.json index 3dbeed0e4..4e0d1eecd 100644 --- a/packages/design/package.json +++ b/packages/design/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/design", "type": "module", "sideEffects": [ diff --git a/packages/editor/package.json b/packages/editor/package.json index 8f753ae20..1148f0689 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/editor", "type": "module", "sideEffects": [ @@ -46,12 +46,12 @@ "dependencies": { "@babel/core": "^7.18.0", "@element-plus/icons-vue": "^2.0.9", - "@tmagic/core": "1.2.1", - "@tmagic/design": "1.2.1", - "@tmagic/form": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/stage": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/core": "1.2.2", + "@tmagic/design": "1.2.2", + "@tmagic/form": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/stage": "1.2.2", + "@tmagic/utils": "1.2.2", "buffer": "^6.0.3", "color": "^3.1.3", "events": "^3.3.0", @@ -63,8 +63,8 @@ "vue": "^3.2.37" }, "peerDependencies": { - "@tmagic/design": "1.2.1", - "@tmagic/form": "1.2.1", + "@tmagic/design": "1.2.2", + "@tmagic/form": "1.2.2", "monaco-editor": "^0.34.0", "vue": "^3.2.37" }, diff --git a/packages/element-plus-adapter/package.json b/packages/element-plus-adapter/package.json index 26059facc..efac4541b 100644 --- a/packages/element-plus-adapter/package.json +++ b/packages/element-plus-adapter/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/element-plus-adapter", "type": "module", "sideEffects": [ diff --git a/packages/form/package.json b/packages/form/package.json index af13dc9fb..558a1c388 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/form", "type": "module", "sideEffects": [ @@ -36,8 +36,8 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.0.9", - "@tmagic/design": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/design": "1.2.2", + "@tmagic/utils": "1.2.2", "lodash-es": "^4.17.21", "sortablejs": "^1.14.0", "vue": "^3.2.37" diff --git a/packages/schema/package.json b/packages/schema/package.json index 99f4b701b..4c4128086 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/schema", "type": "module", "sideEffects": false, diff --git a/packages/stage/package.json b/packages/stage/package.json index a7985e39d..277bfce2f 100644 --- a/packages/stage/package.json +++ b/packages/stage/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/stage", "type": "module", "sideEffects": [ @@ -30,9 +30,9 @@ }, "dependencies": { "@scena/guides": "^0.17.0", - "@tmagic/core": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/core": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/utils": "1.2.2", "events": "^3.3.0", "keycon": "^1.1.2", "lodash-es": "^4.17.21", diff --git a/packages/table/package.json b/packages/table/package.json index 31d02ed02..c6e7fd968 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/table", "type": "module", "sideEffects": [ @@ -33,14 +33,14 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/design": "1.2.1", - "@tmagic/form": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/design": "1.2.2", + "@tmagic/form": "1.2.2", + "@tmagic/utils": "1.2.2", "lodash-es": "^4.17.21", "vue": "^3.2.37" }, "peerDependencies": { - "@tmagic/form": "1.2.1", + "@tmagic/form": "1.2.2", "vue": "^3.2.37" }, "devDependencies": { diff --git a/packages/tdesign-vue-next-adapter/package.json b/packages/tdesign-vue-next-adapter/package.json index 7a058fd37..ef8693696 100644 --- a/packages/tdesign-vue-next-adapter/package.json +++ b/packages/tdesign-vue-next-adapter/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/tdesign-vue-next-adapter", "type": "module", "sideEffects": [ diff --git a/packages/ui-react/package.json b/packages/ui-react/package.json index bee7a33fc..e97372db3 100644 --- a/packages/ui-react/package.json +++ b/packages/ui-react/package.json @@ -1,6 +1,6 @@ { "name": "@tmagic/ui-react", - "version": "1.2.1", + "version": "1.2.2", "type": "module", "main": "src/index.ts", "engines": { @@ -14,8 +14,8 @@ "react:build": "tsc && vite build" }, "dependencies": { - "@tmagic/core": "1.2.1", - "@tmagic/schema": "1.2.1", + "@tmagic/core": "1.2.2", + "@tmagic/schema": "1.2.2", "qrcode": "^1.5.0", "react": "^17.0.0", "react-dom": "^17.0.0" diff --git a/packages/ui-vue2/package.json b/packages/ui-vue2/package.json index c31593554..624672727 100644 --- a/packages/ui-vue2/package.json +++ b/packages/ui-vue2/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/ui-vue2", "type": "module", "main": "src/index.ts", @@ -11,9 +11,9 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/core": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/core": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/utils": "1.2.2", "qrcode": "^1.5.0", "vue": "^2.7.4" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 6fcf25a1c..b2abf018a 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/ui", "type": "module", "main": "src/index.ts", @@ -12,9 +12,9 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/core": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/core": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/utils": "1.2.2", "delegate": "^3.2.0", "qrcode": "^1.5.0", "tiny-emitter": "^2.1.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index e56f2c1e5..155baaaa7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@tmagic/utils", "type": "module", "main": "dist/tmagic-utils.umd.cjs", @@ -25,7 +25,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "1.2.1", + "@tmagic/schema": "1.2.2", "dayjs": "^1.11.4" }, "devDependencies": { diff --git a/playground/package.json b/playground/package.json index 57c7d932b..46168e1aa 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,6 +1,6 @@ { "name": "tmagic-playground", - "version": "1.2.1", + "version": "1.2.2", "type": "module", "private": true, "scripts": { @@ -13,13 +13,13 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.0.9", - "@tmagic/design": "1.2.1", - "@tmagic/editor": "1.2.1", - "@tmagic/element-plus-adapter": "1.2.1", - "@tmagic/form": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/stage": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/design": "1.2.2", + "@tmagic/editor": "1.2.2", + "@tmagic/element-plus-adapter": "1.2.2", + "@tmagic/form": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/stage": "1.2.2", + "@tmagic/utils": "1.2.2", "element-plus": "^2.2.19", "monaco-editor": "^0.34.0", "serialize-javascript": "^6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c076649d..eb95dacfc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,7 +107,7 @@ importers: packages/core: specifiers: - '@tmagic/schema': 1.2.1 + '@tmagic/schema': 1.2.2 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -157,12 +157,12 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons-vue': ^2.0.9 - '@tmagic/core': 1.2.1 - '@tmagic/design': 1.2.1 - '@tmagic/form': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/stage': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/core': 1.2.2 + '@tmagic/design': 1.2.2 + '@tmagic/form': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/stage': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -239,8 +239,8 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons-vue': ^2.0.9 - '@tmagic/design': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/design': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 '@types/sortablejs': ^1.10.7 @@ -293,9 +293,9 @@ importers: packages/stage: specifiers: '@scena/guides': ^0.17.0 - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -329,9 +329,9 @@ importers: packages/table: specifiers: - '@tmagic/design': 1.2.1 - '@tmagic/form': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/design': 1.2.2 + '@tmagic/form': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/color': ^3.0.1 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -392,9 +392,9 @@ importers: packages/ui: specifiers: '@testing-library/vue': ^6.4.2 - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/qrcode': ^1.4.2 '@vue/compiler-sfc': ^3.2.37 '@vue/test-utils': ^2.0.0 @@ -418,8 +418,8 @@ importers: packages/ui-react: specifiers: - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 qrcode: ^1.5.0 @@ -439,9 +439,9 @@ importers: packages/ui-vue2: specifiers: - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/utils': 1.2.2 qrcode: ^1.5.0 vite: ^3.1.3 vue: ^2.7.4 @@ -458,7 +458,7 @@ importers: packages/utils: specifiers: - '@tmagic/schema': 1.2.1 + '@tmagic/schema': 1.2.2 '@types/node': ^15.12.4 dayjs: ^1.11.4 rimraf: ^3.0.2 @@ -476,13 +476,13 @@ importers: playground: specifiers: '@element-plus/icons-vue': ^2.0.9 - '@tmagic/design': 1.2.1 - '@tmagic/editor': 1.2.1 - '@tmagic/element-plus-adapter': 1.2.1 - '@tmagic/form': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/stage': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/design': 1.2.2 + '@tmagic/editor': 1.2.2 + '@tmagic/element-plus-adapter': 1.2.2 + '@tmagic/form': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/stage': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/node': ^15.12.4 '@types/serialize-javascript': ^5.0.1 '@vitejs/plugin-legacy': ^2.2.0 @@ -532,12 +532,12 @@ importers: runtime/react: specifiers: - '@tmagic/cli': 1.2.1 - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/stage': 1.2.1 - '@tmagic/ui-react': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/cli': 1.2.2 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/stage': 1.2.2 + '@tmagic/ui-react': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 '@vitejs/plugin-legacy': ^2.2.0 @@ -571,12 +571,12 @@ importers: runtime/vue2: specifiers: - '@tmagic/cli': 1.2.1 - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/stage': 1.2.1 - '@tmagic/ui-vue2': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/cli': 1.2.2 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/stage': 1.2.2 + '@tmagic/ui-vue2': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/events': ^3.0.0 '@vitejs/plugin-legacy': ^2.2.0 '@vitejs/plugin-vue2': ^1.1.2 @@ -612,12 +612,12 @@ importers: runtime/vue3: specifiers: - '@tmagic/cli': 1.2.1 - '@tmagic/core': 1.2.1 - '@tmagic/schema': 1.2.1 - '@tmagic/stage': 1.2.1 - '@tmagic/ui': 1.2.1 - '@tmagic/utils': 1.2.1 + '@tmagic/cli': 1.2.2 + '@tmagic/core': 1.2.2 + '@tmagic/schema': 1.2.2 + '@tmagic/stage': 1.2.2 + '@tmagic/ui': 1.2.2 + '@tmagic/utils': 1.2.2 '@types/node': ^15.12.4 '@vitejs/plugin-legacy': ^2.2.0 '@vitejs/plugin-vue': ^3.1.0 diff --git a/runtime/react/package.json b/runtime/react/package.json index 919c0baea..497f758bb 100644 --- a/runtime/react/package.json +++ b/runtime/react/package.json @@ -1,6 +1,6 @@ { "name": "runtime-react", - "version": "1.2.1", + "version": "1.2.2", "type": "module", "private": true, "scripts": { @@ -21,12 +21,12 @@ "build:event:admin": "vite build --config build.vite.config.ts --mode event:admin" }, "dependencies": { - "@tmagic/cli": "1.2.1", - "@tmagic/core": "1.2.1", - "@tmagic/ui-react": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/stage": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/cli": "1.2.2", + "@tmagic/core": "1.2.2", + "@tmagic/ui-react": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/stage": "1.2.2", + "@tmagic/utils": "1.2.2", "axios": "^0.25.0", "terser": "^5.14.2", "react": "^17.0.2", diff --git a/runtime/vue2/package.json b/runtime/vue2/package.json index 21ee8ba5a..010e01556 100644 --- a/runtime/vue2/package.json +++ b/runtime/vue2/package.json @@ -1,6 +1,6 @@ { "name": "runtime-vue2", - "version": "1.2.1", + "version": "1.2.2", "type": "module", "private": true, "scripts": { @@ -21,12 +21,12 @@ "build:event:admin": "vite build --config build.vite.config.ts --mode event:admin" }, "dependencies": { - "@tmagic/cli": "1.2.1", - "@tmagic/core": "1.2.1", - "@tmagic/ui-vue2": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/stage": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/cli": "1.2.2", + "@tmagic/core": "1.2.2", + "@tmagic/ui-vue2": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/stage": "1.2.2", + "@tmagic/utils": "1.2.2", "axios": "^0.25.0", "terser": "^5.14.2", "vue": "^2.7.4" diff --git a/runtime/vue3/package.json b/runtime/vue3/package.json index 72a3943e2..4be8d864d 100644 --- a/runtime/vue3/package.json +++ b/runtime/vue3/package.json @@ -1,6 +1,6 @@ { "name": "runtime-vue3", - "version": "1.2.1", + "version": "1.2.2", "type": "module", "private": true, "scripts": { @@ -21,12 +21,12 @@ "build:event:admin": "vite build --config build.vite.config.ts --mode event:admin" }, "dependencies": { - "@tmagic/cli": "1.2.1", - "@tmagic/core": "1.2.1", - "@tmagic/ui": "1.2.1", - "@tmagic/schema": "1.2.1", - "@tmagic/stage": "1.2.1", - "@tmagic/utils": "1.2.1", + "@tmagic/cli": "1.2.2", + "@tmagic/core": "1.2.2", + "@tmagic/ui": "1.2.2", + "@tmagic/schema": "1.2.2", + "@tmagic/stage": "1.2.2", + "@tmagic/utils": "1.2.2", "@vitejs/plugin-legacy": "^2.2.0", "@vitejs/plugin-vue-jsx": "^1.3.10", "axios": "^0.25.0",