diff --git a/CHANGELOG.md b/CHANGELOG.md index f16b37cc..6eddb95e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +# [1.0.0-rc.8](https://github.com/Tencent/tmagic-editor/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2022-06-15) + + +### Bug Fixes + +* **editor:** page和container默认value加上items ([10577ae](https://github.com/Tencent/tmagic-editor/commit/10577aea68a63323bc1312faced84bcd5c616d1f)) + + +### Features + +* **docs:** 添加搜索 ([4e812c3](https://github.com/Tencent/tmagic-editor/commit/4e812c396de05286a990cfe8831b7cb20531b2e3)) +* **playground:** 优化form/table playground ([c570370](https://github.com/Tencent/tmagic-editor/commit/c57037030d652ff160a108d632ff79b9bac97e2a)) +* **playground:** 添加form、table playground入口 ([f808253](https://github.com/Tencent/tmagic-editor/commit/f80825331e373047d467bb189cc4e5857dac6dfa)) +* **playground:** 添加不同设备切换 ([9f23cd6](https://github.com/Tencent/tmagic-editor/commit/9f23cd6361cce60c10178f39e133e13aa71a62ca)) +* 支持配置updateDragEl方法来调制选中框 ([154860c](https://github.com/Tencent/tmagic-editor/commit/154860c66c149b72537029b351401a0e90179e9c)) + + + # [1.0.0-rc.7](https://github.com/Tencent/tmagic-editor/compare/1.0.0-beta.8...1.0.0-rc.7) (2022-06-13) diff --git a/package.json b/package.json index e187ab6b..539ce009 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "tmagic", "private": true, "packageManager": "pnpm@7.1.9", diff --git a/packages/core/package.json b/packages/core/package.json index 02dbdfca..6c22974a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/core", "sideEffects": [ "dist/*" @@ -33,7 +33,7 @@ "vue" ], "dependencies": { - "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", "events": "^3.3.0" }, "devDependencies": { diff --git a/packages/editor/package.json b/packages/editor/package.json index 1e2e6c8b..a5f6a5ac 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/editor", "sideEffects": [ "dist/*", @@ -43,11 +43,11 @@ "dependencies": { "@babel/core": "^7.18.0", "@element-plus/icons": "0.0.11", - "@tmagic/core": "1.0.0-rc.7", - "@tmagic/form": "1.0.0-rc.7", - "@tmagic/schema": "1.0.0-rc.7", - "@tmagic/stage": "1.0.0-rc.7", - "@tmagic/utils": "1.0.0-rc.7", + "@tmagic/core": "1.0.0-rc.8", + "@tmagic/form": "1.0.0-rc.8", + "@tmagic/schema": "1.0.0-rc.8", + "@tmagic/stage": "1.0.0-rc.8", + "@tmagic/utils": "1.0.0-rc.8", "buffer": "^6.0.3", "color": "^3.1.3", "element-plus": "^2.2.0", @@ -60,7 +60,7 @@ "vue": "^3.2.0" }, "peerDependencies": { - "@tmagic/form": "1.0.0-rc.7", + "@tmagic/form": "1.0.0-rc.8", "element-plus": "^2.2.0", "monaco-editor": "^0.32.1", "vue": "^3.2.0" diff --git a/packages/form/package.json b/packages/form/package.json index 3fd9ff05..c8f6b3e4 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/form", "sideEffects": [ "dist/*", @@ -33,7 +33,7 @@ }, "dependencies": { "@element-plus/icons": "0.0.11", - "@tmagic/utils": "1.0.0-rc.7", + "@tmagic/utils": "1.0.0-rc.8", "element-plus": "^2.2.0", "lodash-es": "^4.17.21", "moment": "^2.29.2", diff --git a/packages/schema/package.json b/packages/schema/package.json index 1ef01697..0a291d69 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/schema", "sideEffects": false, "main": "dist/tmagic-schema.umd.js", diff --git a/packages/stage/package.json b/packages/stage/package.json index 59ff9a0e..b63ba86f 100644 --- a/packages/stage/package.json +++ b/packages/stage/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/stage", "sideEffects": [ "dist/*" @@ -27,9 +27,9 @@ }, "dependencies": { "@scena/guides": "^0.17.0", - "@tmagic/core": "1.0.0-rc.7", - "@tmagic/schema": "1.0.0-rc.7", - "@tmagic/utils": "1.0.0-rc.7", + "@tmagic/core": "1.0.0-rc.8", + "@tmagic/schema": "1.0.0-rc.8", + "@tmagic/utils": "1.0.0-rc.8", "events": "^3.3.0", "lodash-es": "^4.17.21", "moveable": "^0.29.4", diff --git a/packages/table/package.json b/packages/table/package.json index c1997d83..62d5a006 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/table", "sideEffects": [ "dist/*" @@ -30,13 +30,13 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/form": "1.0.0-rc.7", + "@tmagic/form": "1.0.0-rc.8", "element-plus": "^2.2.0", "lodash-es": "^4.17.21", "vue": "^3.2.0" }, "peerDependencies": { - "@tmagic/form": "1.0.0-rc.7", + "@tmagic/form": "1.0.0-rc.8", "element-plus": "^2.2.0", "vue": "^3.2.0" }, diff --git a/packages/ui-react/package.json b/packages/ui-react/package.json index 82272c80..8222aa9b 100644 --- a/packages/ui-react/package.json +++ b/packages/ui-react/package.json @@ -1,6 +1,6 @@ { "name": "@tmagic/ui-react", - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "main": "src/index.ts", "engines": { "node": ">=14" @@ -13,7 +13,7 @@ "react:build": "tsc && vite build" }, "dependencies": { - "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", "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 8791d8e5..fd164c78 100644 --- a/packages/ui-vue2/package.json +++ b/packages/ui-vue2/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/ui-vue2", "main": "src/index.ts", "engines": { @@ -10,7 +10,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", "@vue/composition-api": "1.0.5", "qrcode": "^1.5.0", "vue": "^2.6.14" diff --git a/packages/ui/package.json b/packages/ui/package.json index 2c86271d..29a3ef2d 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/ui", "main": "src/index.ts", "engines": { @@ -11,7 +11,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", "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 dcf6a82c..e1b54e98 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "name": "@tmagic/utils", "main": "dist/tmagic-utils.umd.js", "module": "dist/tmagic-utils.es.js", @@ -22,7 +22,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", "moment": "^2.29.2" }, "devDependencies": { diff --git a/playground/package.json b/playground/package.json index 40bfcfef..8dcdcbcb 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,6 +1,6 @@ { "name": "tmagic-playground", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.8", "private": true, "scripts": { "clean:top": "rimraf dist", @@ -12,11 +12,11 @@ }, "dependencies": { "@element-plus/icons": "0.0.11", - "@tmagic/editor": "^1.0.0-rc.7", - "@tmagic/form": "^1.0.0-rc.7", - "@tmagic/schema": "^1.0.0-rc.7", - "@tmagic/stage": "^1.0.0-rc.7", - "@tmagic/utils": "^1.0.0-rc.7", + "@tmagic/editor": "1.0.0-rc.8", + "@tmagic/form": "1.0.0-rc.8", + "@tmagic/schema": "1.0.0-rc.8", + "@tmagic/stage": "1.0.0-rc.8", + "@tmagic/utils": "1.0.0-rc.8", "element-plus": "^2.2.0", "monaco-editor": "^0.32.1", "serialize-javascript": "^6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc8afe4e..787cf517 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -105,7 +105,7 @@ importers: packages/core: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 '@types/events': ^3.0.0 '@types/node': ^15.12.4 events: ^3.3.0 @@ -126,11 +126,11 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons': 0.0.11 - '@tmagic/core': 1.0.0-rc.7 - '@tmagic/form': 1.0.0-rc.7 - '@tmagic/schema': 1.0.0-rc.7 - '@tmagic/stage': 1.0.0-rc.7 - '@tmagic/utils': 1.0.0-rc.7 + '@tmagic/core': 1.0.0-rc.8 + '@tmagic/form': 1.0.0-rc.8 + '@tmagic/schema': 1.0.0-rc.8 + '@tmagic/stage': 1.0.0-rc.8 + '@tmagic/utils': 1.0.0-rc.8 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -191,7 +191,7 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons': 0.0.11 - '@tmagic/utils': 1.0.0-rc.7 + '@tmagic/utils': 1.0.0-rc.8 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 '@types/sortablejs': ^1.10.7 @@ -247,9 +247,9 @@ importers: packages/stage: specifiers: '@scena/guides': ^0.17.0 - '@tmagic/core': 1.0.0-rc.7 - '@tmagic/schema': 1.0.0-rc.7 - '@tmagic/utils': 1.0.0-rc.7 + '@tmagic/core': 1.0.0-rc.8 + '@tmagic/schema': 1.0.0-rc.8 + '@tmagic/utils': 1.0.0-rc.8 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -281,7 +281,7 @@ importers: packages/table: specifiers: - '@tmagic/form': 1.0.0-rc.7 + '@tmagic/form': 1.0.0-rc.8 '@types/color': ^3.0.1 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -317,7 +317,7 @@ importers: packages/ui: specifiers: '@testing-library/vue': ^6.4.2 - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 '@types/qrcode': ^1.4.2 '@vue/compiler-sfc': ^3.2.0 '@vue/test-utils': ^2.0.0 @@ -339,7 +339,7 @@ importers: packages/ui-react: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 qrcode: ^1.5.0 @@ -358,7 +358,7 @@ importers: packages/ui-vue2: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 '@vue/composition-api': 1.0.5 qrcode: ^1.5.0 vite: ^2.3.7 @@ -377,7 +377,7 @@ importers: packages/utils: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 '@types/node': ^15.12.4 moment: ^2.29.2 typescript: ^4.3.4 @@ -395,11 +395,11 @@ importers: playground: specifiers: '@element-plus/icons': 0.0.11 - '@tmagic/editor': ^1.0.0-rc.7 - '@tmagic/form': ^1.0.0-rc.7 - '@tmagic/schema': ^1.0.0-rc.7 - '@tmagic/stage': ^1.0.0-rc.7 - '@tmagic/utils': ^1.0.0-rc.7 + '@tmagic/editor': 1.0.0-rc.8 + '@tmagic/form': 1.0.0-rc.8 + '@tmagic/schema': 1.0.0-rc.8 + '@tmagic/stage': 1.0.0-rc.8 + '@tmagic/utils': 1.0.0-rc.8 '@types/node': ^15.12.4 '@types/serialize-javascript': ^5.0.1 '@vitejs/plugin-legacy': ^1.8.2 @@ -441,8 +441,8 @@ importers: runtime/react: specifiers: - '@tmagic/schema': ^1.0.0-rc.7 - '@tmagic/stage': ^1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 + '@tmagic/stage': 1.0.0-rc.8 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 '@vitejs/plugin-react-refresh': ^1.3.1 @@ -466,8 +466,8 @@ importers: runtime/vue2: specifiers: - '@tmagic/schema': ^1.0.0-rc.7 - '@tmagic/stage': ^1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 + '@tmagic/stage': 1.0.0-rc.8 '@types/events': ^3.0.0 '@vue/composition-api': 1.0.5 axios: ^0.27.2 @@ -497,8 +497,8 @@ importers: runtime/vue3: specifiers: - '@tmagic/schema': ^1.0.0-rc.7 - '@tmagic/stage': ^1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.8 + '@tmagic/stage': 1.0.0-rc.8 '@types/node': ^15.12.4 '@vitejs/plugin-vue': ^1.2.3 '@vue/compiler-sfc': ^3.2.0 diff --git a/runtime/react/package.json b/runtime/react/package.json index 6483672d..9d2b272b 100644 --- a/runtime/react/package.json +++ b/runtime/react/package.json @@ -1,6 +1,6 @@ { "name": "runtime-react", - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "private": true, "scripts": { "dev:react": "npm run build && npm run serve", @@ -9,8 +9,8 @@ "serve": "vite preview --port 8076" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.7", - "@tmagic/stage": "^1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", + "@tmagic/stage": "1.0.0-rc.8", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/runtime/vue2/package.json b/runtime/vue2/package.json index b9441346..6b570579 100644 --- a/runtime/vue2/package.json +++ b/runtime/vue2/package.json @@ -1,6 +1,6 @@ { "name": "runtime-vue2", - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "private": true, "scripts": { "dev:vue2": "npm run build && npm run serve", @@ -9,8 +9,8 @@ "serve": "vite preview --port 8077" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.7", - "@tmagic/stage": "^1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", + "@tmagic/stage": "1.0.0-rc.8", "@vue/composition-api": "1.0.5", "vue": "^2.6.14" }, diff --git a/runtime/vue3/package.json b/runtime/vue3/package.json index 4cd7de6c..32ffa0ed 100644 --- a/runtime/vue3/package.json +++ b/runtime/vue3/package.json @@ -1,6 +1,6 @@ { "name": "runtime-vue3", - "version": "1.0.0-rc.7", + "version": "1.0.0-rc.8", "private": true, "scripts": { "dev": "npm run build && npm run serve", @@ -9,8 +9,8 @@ "serve": "vite preview --port 8078" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.7", - "@tmagic/stage": "^1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.8", + "@tmagic/stage": "1.0.0-rc.8", "axios": "^0.25.0", "vue": "^3.2.0" }, diff --git a/scripts/release.js b/scripts/release.js index f6910439..4686ed7e 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -88,7 +88,7 @@ async function main() { // build all packages with types step('\nBuilding all packages...'); if (!skipBuild && !isDryRun) { - // await run('pnpm', ['run', 'build']); + await run('pnpm', ['run', 'build']); } else { console.log(`(skipped)`); } @@ -99,7 +99,7 @@ async function main() { // update pnpm-lock.yaml step('\nUpdating lockfile...'); - await run(`pnpm`, ['reinstall']); + await run(`pnpm`, ['install', '--prefer-offline']); const { stdout } = await run('git', ['diff'], { stdio: 'pipe' }); if (stdout) {