diff --git a/designer-demo/package.json b/designer-demo/package.json index ee717a529..53832406f 100644 --- a/designer-demo/package.json +++ b/designer-demo/package.json @@ -18,6 +18,6 @@ "@vitejs/plugin-vue": "^5.0.4", "vite": "^5.2.7", "@opentiny/tiny-engine-cli": "workspace:^", - "@opentiny/vite-plugin-generate-comments": "workspace:^" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:^" } } diff --git a/packages/build/vite-plugin-generate-comments/index.js b/packages/build/vite-plugin-meta-comments/index.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/index.js rename to packages/build/vite-plugin-meta-comments/index.js diff --git a/packages/build/vite-plugin-generate-comments/package.json b/packages/build/vite-plugin-meta-comments/package.json similarity index 53% rename from packages/build/vite-plugin-generate-comments/package.json rename to packages/build/vite-plugin-meta-comments/package.json index 4225a192d..2e8ef6b40 100644 --- a/packages/build/vite-plugin-generate-comments/package.json +++ b/packages/build/vite-plugin-meta-comments/package.json @@ -1,5 +1,5 @@ { - "name": "@opentiny/vite-plugin-generate-comments", + "name": "@opentiny/tiny-engine-vite-plugin-meta-comments", "version": "1.0.0", "description": "", "type": "module", @@ -22,6 +22,18 @@ "@vue/compiler-sfc": "^3.4.21" }, "keywords": [], - "author": "", - "license": "ISC" + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/opentiny/tiny-engine", + "directory": "packages/build/vite-plugin-meta-comments" + }, + "bugs": { + "url": "https://github.com/opentiny/tiny-engine/issues" + }, + "author": "OpenTiny Team", + "license": "MIT", + "homepage": "https://opentiny.design/tiny-engine" } diff --git a/packages/build/vite-plugin-generate-comments/src/test/code/entry.js b/packages/build/vite-plugin-meta-comments/src/test/code/entry.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/test/code/entry.js rename to packages/build/vite-plugin-meta-comments/src/test/code/entry.js diff --git a/packages/build/vite-plugin-generate-comments/src/test/code/output.js b/packages/build/vite-plugin-meta-comments/src/test/code/output.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/test/code/output.js rename to packages/build/vite-plugin-meta-comments/src/test/code/output.js diff --git a/packages/build/vite-plugin-generate-comments/src/test/index.js b/packages/build/vite-plugin-meta-comments/src/test/index.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/test/index.js rename to packages/build/vite-plugin-meta-comments/src/test/index.js diff --git a/packages/build/vite-plugin-generate-comments/src/test/meta.js b/packages/build/vite-plugin-meta-comments/src/test/meta.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/test/meta.js rename to packages/build/vite-plugin-meta-comments/src/test/meta.js diff --git a/packages/build/vite-plugin-generate-comments/src/transform-sfc.js b/packages/build/vite-plugin-meta-comments/src/transform-sfc.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/transform-sfc.js rename to packages/build/vite-plugin-meta-comments/src/transform-sfc.js diff --git a/packages/build/vite-plugin-generate-comments/src/transform.js b/packages/build/vite-plugin-meta-comments/src/transform.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/transform.js rename to packages/build/vite-plugin-meta-comments/src/transform.js diff --git a/packages/build/vite-plugin-generate-comments/src/utils.js b/packages/build/vite-plugin-meta-comments/src/utils.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/src/utils.js rename to packages/build/vite-plugin-meta-comments/src/utils.js diff --git a/packages/build/vite-plugin-generate-comments/vite.config.js b/packages/build/vite-plugin-meta-comments/vite.config.js similarity index 100% rename from packages/build/vite-plugin-generate-comments/vite.config.js rename to packages/build/vite-plugin-meta-comments/vite.config.js diff --git a/packages/canvas/package.json b/packages/canvas/package.json index 28dcc6c84..3e1d0785c 100644 --- a/packages/canvas/package.json +++ b/packages/canvas/package.json @@ -38,7 +38,7 @@ "@vueuse/core": "^9.6.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "rollup-plugin-terser": "^7.0.2", diff --git a/packages/canvas/vite.config.js b/packages/canvas/vite.config.js index 97cafda69..e01f859b8 100644 --- a/packages/canvas/vite.config.js +++ b/packages/canvas/vite.config.js @@ -15,7 +15,7 @@ import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' import { terser } from 'rollup-plugin-terser' -import generateComments from '@opentiny/vite-plugin-generate-comments' +import generateComments from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/common/package.json b/packages/common/package.json index 019c04411..d72fa0adf 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -38,7 +38,7 @@ "vue-draggable-next": "2.1.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/common/vite.config.js b/packages/common/vite.config.js index 54b60921d..16675447a 100644 --- a/packages/common/vite.config.js +++ b/packages/common/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComments from '@opentiny/vite-plugin-generate-comments' +import generateComments from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/controller/package.json b/packages/controller/package.json index aaf9142e4..f28c68b34 100644 --- a/packages/controller/package.json +++ b/packages/controller/package.json @@ -45,7 +45,7 @@ "prettier": "2.7.1" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "glob": "^10.3.4", diff --git a/packages/controller/vite.config.js b/packages/controller/vite.config.js index 77cff57f5..6bf646b3c 100644 --- a/packages/controller/vite.config.js +++ b/packages/controller/vite.config.js @@ -16,7 +16,7 @@ import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' import { glob } from 'glob' import { fileURLToPath } from 'node:url' -import generateComments from '@opentiny/vite-plugin-generate-comments' +import generateComments from '@opentiny/tiny-engine-vite-plugin-meta-comments' const jsEntries = glob.sync('./js/**/*.js').map((file) => { return [file.slice(0, file.length - path.extname(file).length), fileURLToPath(new URL(file, import.meta.url))] diff --git a/packages/design-core/package.json b/packages/design-core/package.json index 3aa884410..75f0f008f 100644 --- a/packages/design-core/package.json +++ b/packages/design-core/package.json @@ -44,7 +44,7 @@ "@babel/parser": "~7.23.2", "@babel/traverse": "~7.23.2", "@opentiny/tiny-engine-layout": "workspace:~", - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@opentiny/tiny-engine-entry": "workspace:*", "@opentiny/tiny-engine-canvas": "workspace:*", "@opentiny/tiny-engine-common": "workspace:*", @@ -110,11 +110,9 @@ "vue-i18n": "^9.9.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", "@babel/eslint-parser": "^7.21.3", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", - "@opentiny/tiny-engine-i18n-host": "workspace:*", "@types/node": "^18.0.0", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", diff --git a/packages/design-core/vite.config.js b/packages/design-core/vite.config.js index 357f4f1e8..7adcf25a6 100644 --- a/packages/design-core/vite.config.js +++ b/packages/design-core/vite.config.js @@ -13,7 +13,7 @@ import { createSvgIconsPlugin } from 'vite-plugin-svg-icons' import { importmapPlugin } from './scripts/externalDeps.js' import visualizerCjs from 'rollup-plugin-visualizer' import { fileURLToPath } from 'node:url' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' import { getBaseUrlFromCli, copyBundleDeps, diff --git a/packages/engine-cli/template/package.json b/packages/engine-cli/template/package.json index 996782c1a..732e81cdb 100644 --- a/packages/engine-cli/template/package.json +++ b/packages/engine-cli/template/package.json @@ -17,6 +17,6 @@ "@vitejs/plugin-vue": "^5.0.4", "vite": "^5.2.7", "@opentiny/tiny-engine-cli": "workspace:^", - "@opentiny/vite-plugin-generate-comments": "workspace:^" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:^" } } diff --git a/packages/http/package.json b/packages/http/package.json index 3fcefb6d4..f32f92b45 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -31,7 +31,7 @@ "axios-mock-adapter": "^1.21.5" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/http/vite.config.js b/packages/http/vite.config.js index 36771e67b..afc974c25 100644 --- a/packages/http/vite.config.js +++ b/packages/http/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/layout/package.json b/packages/layout/package.json index 22d2f9894..da1c4fadf 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -15,7 +15,7 @@ "vue": "3.2.45" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^5.0.4", "less": "^4.2.0", "vite": "^5.1.6" diff --git a/packages/layout/vite.config.js b/packages/layout/vite.config.js index a8191dcef..1a844a398 100644 --- a/packages/layout/vite.config.js +++ b/packages/layout/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/block/package.json b/packages/plugins/block/package.json index 7bc1d8194..8c40d136f 100644 --- a/packages/plugins/block/package.json +++ b/packages/plugins/block/package.json @@ -34,7 +34,7 @@ "pinyin-pro": "^3.13.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/block/vite.config.js b/packages/plugins/block/vite.config.js index 33d33f472..dbabf02f8 100644 --- a/packages/plugins/block/vite.config.js +++ b/packages/plugins/block/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/bridge/package.json b/packages/plugins/bridge/package.json index bcac1d504..a13b8aa4d 100644 --- a/packages/plugins/bridge/package.json +++ b/packages/plugins/bridge/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-http": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/bridge/vite.config.js b/packages/plugins/bridge/vite.config.js index 3cda78b1a..5b2ea0083 100644 --- a/packages/plugins/bridge/vite.config.js +++ b/packages/plugins/bridge/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/data/package.json b/packages/plugins/data/package.json index 245a89589..7714cda20 100644 --- a/packages/plugins/data/package.json +++ b/packages/plugins/data/package.json @@ -33,7 +33,7 @@ "monaco-editor": "0.33.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/data/vite.config.js b/packages/plugins/data/vite.config.js index b2f2023ed..be1da0b73 100644 --- a/packages/plugins/data/vite.config.js +++ b/packages/plugins/data/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/datasource/package.json b/packages/plugins/datasource/package.json index bcf5b4bd0..1aa5abc73 100644 --- a/packages/plugins/datasource/package.json +++ b/packages/plugins/datasource/package.json @@ -36,7 +36,7 @@ "xlsx": "^0.18.5" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/datasource/vite.config.js b/packages/plugins/datasource/vite.config.js index 4cc200b40..9da0289f6 100644 --- a/packages/plugins/datasource/vite.config.js +++ b/packages/plugins/datasource/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/help/package.json b/packages/plugins/help/package.json index 7109422a0..0536b4d13 100644 --- a/packages/plugins/help/package.json +++ b/packages/plugins/help/package.json @@ -30,7 +30,7 @@ "@opentiny/tiny-engine-http": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/help/vite.config.js b/packages/plugins/help/vite.config.js index 8cf906be2..6875d4bf0 100644 --- a/packages/plugins/help/vite.config.js +++ b/packages/plugins/help/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/i18n/package.json b/packages/plugins/i18n/package.json index caf14e9f7..e3f5d14b8 100644 --- a/packages/plugins/i18n/package.json +++ b/packages/plugins/i18n/package.json @@ -32,7 +32,7 @@ "vue-clipboard3": "^2.0.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/i18n/vite.config.js b/packages/plugins/i18n/vite.config.js index 7a12a6ec4..d31ee0254 100644 --- a/packages/plugins/i18n/vite.config.js +++ b/packages/plugins/i18n/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/materials/package.json b/packages/plugins/materials/package.json index 374aba963..4d8589f31 100644 --- a/packages/plugins/materials/package.json +++ b/packages/plugins/materials/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-http": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/materials/vite.config.js b/packages/plugins/materials/vite.config.js index 556d03f2a..ef82cda23 100644 --- a/packages/plugins/materials/vite.config.js +++ b/packages/plugins/materials/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/page/package.json b/packages/plugins/page/package.json index d23771e0a..3105a2de2 100644 --- a/packages/plugins/page/package.json +++ b/packages/plugins/page/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-utils": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/page/vite.config.js b/packages/plugins/page/vite.config.js index 9ae6ac540..787a5e6da 100644 --- a/packages/plugins/page/vite.config.js +++ b/packages/plugins/page/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/robot/package.json b/packages/plugins/robot/package.json index 6813fcda4..10048ef8e 100644 --- a/packages/plugins/robot/package.json +++ b/packages/plugins/robot/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-http": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/robot/vite.config.js b/packages/plugins/robot/vite.config.js index 6525ed2a9..16365a773 100644 --- a/packages/plugins/robot/vite.config.js +++ b/packages/plugins/robot/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/schema/package.json b/packages/plugins/schema/package.json index a7b38c69f..4a0a66a3f 100644 --- a/packages/plugins/schema/package.json +++ b/packages/plugins/schema/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-http": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/schema/vite.config.js b/packages/plugins/schema/vite.config.js index 937bed163..d09489693 100644 --- a/packages/plugins/schema/vite.config.js +++ b/packages/plugins/schema/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/script/package.json b/packages/plugins/script/package.json index 46e07296d..fa84d4d03 100644 --- a/packages/plugins/script/package.json +++ b/packages/plugins/script/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-utils": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/script/vite.config.js b/packages/plugins/script/vite.config.js index 1c1140252..bf4c1225d 100644 --- a/packages/plugins/script/vite.config.js +++ b/packages/plugins/script/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/tree/package.json b/packages/plugins/tree/package.json index e41a9aa03..82ac4fcf5 100644 --- a/packages/plugins/tree/package.json +++ b/packages/plugins/tree/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-utils": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/tree/vite.config.js b/packages/plugins/tree/vite.config.js index 093537793..778212ccf 100644 --- a/packages/plugins/tree/vite.config.js +++ b/packages/plugins/tree/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/plugins/tutorial/package.json b/packages/plugins/tutorial/package.json index 57ab041b7..dace8b670 100644 --- a/packages/plugins/tutorial/package.json +++ b/packages/plugins/tutorial/package.json @@ -31,7 +31,7 @@ "marked": "^4.0.17" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/plugins/tutorial/vite.config.js b/packages/plugins/tutorial/vite.config.js index 6f960d130..bc566cd46 100644 --- a/packages/plugins/tutorial/vite.config.js +++ b/packages/plugins/tutorial/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/settings/events/package.json b/packages/settings/events/package.json index 8618cb351..bc387af86 100644 --- a/packages/settings/events/package.json +++ b/packages/settings/events/package.json @@ -31,7 +31,7 @@ "@opentiny/tiny-engine-utils": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/settings/events/vite.config.js b/packages/settings/events/vite.config.js index 543ea69e8..786255652 100644 --- a/packages/settings/events/vite.config.js +++ b/packages/settings/events/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/settings/panel/package.json b/packages/settings/panel/package.json index d073c27b3..f5519ef6f 100644 --- a/packages/settings/panel/package.json +++ b/packages/settings/panel/package.json @@ -27,7 +27,7 @@ "@opentiny/tiny-engine-entry": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/settings/panel/vite.config.js b/packages/settings/panel/vite.config.js index 1093bb32a..bedf78179 100644 --- a/packages/settings/panel/vite.config.js +++ b/packages/settings/panel/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'node:path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' /** @type {import('vite').UserConfig} */ export default defineConfig({ diff --git a/packages/settings/props/package.json b/packages/settings/props/package.json index e9089a5bf..5a1a8e9b6 100644 --- a/packages/settings/props/package.json +++ b/packages/settings/props/package.json @@ -31,7 +31,7 @@ "@vueuse/core": "^9.6.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/settings/props/vite.config.js b/packages/settings/props/vite.config.js index d24b57d9c..8e453dd32 100644 --- a/packages/settings/props/vite.config.js +++ b/packages/settings/props/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/settings/styles/package.json b/packages/settings/styles/package.json index 27860ef0c..50ce384a9 100644 --- a/packages/settings/styles/package.json +++ b/packages/settings/styles/package.json @@ -34,7 +34,7 @@ "postcss": "^8.4.31" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/settings/styles/vite.config.js b/packages/settings/styles/vite.config.js index c61f37bf8..f96aab1fb 100644 --- a/packages/settings/styles/vite.config.js +++ b/packages/settings/styles/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/svgs/package.json b/packages/svgs/package.json index c0f4480ed..d426b65e7 100644 --- a/packages/svgs/package.json +++ b/packages/svgs/package.json @@ -27,7 +27,7 @@ "@opentiny/tiny-engine-entry": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7" diff --git a/packages/svgs/vite.config.js b/packages/svgs/vite.config.js index ebf9b63e9..1027cae7a 100644 --- a/packages/svgs/vite.config.js +++ b/packages/svgs/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/theme/dark/package.json b/packages/theme/dark/package.json index aa5f3f34c..75aa65da1 100644 --- a/packages/theme/dark/package.json +++ b/packages/theme/dark/package.json @@ -26,7 +26,7 @@ "@opentiny/tiny-engine-entry": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "rimraf": "^3.0.2", "vite": "^4.3.7" } diff --git a/packages/theme/dark/vite.config.js b/packages/theme/dark/vite.config.js index ed06a20b1..ba07756bb 100644 --- a/packages/theme/dark/vite.config.js +++ b/packages/theme/dark/vite.config.js @@ -12,7 +12,7 @@ import { defineConfig } from 'vite' import path from 'path' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/theme/light/package.json b/packages/theme/light/package.json index 2f57286b9..7d7a27e8c 100644 --- a/packages/theme/light/package.json +++ b/packages/theme/light/package.json @@ -26,7 +26,7 @@ "@opentiny/tiny-engine-entry": "workspace:*" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "rimraf": "^3.0.2", "vite": "^4.3.7" } diff --git a/packages/theme/light/vite.config.js b/packages/theme/light/vite.config.js index 5c0f88222..5c43f49e2 100644 --- a/packages/theme/light/vite.config.js +++ b/packages/theme/light/vite.config.js @@ -12,7 +12,7 @@ import { defineConfig } from 'vite' import path from 'path' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/breadcrumb/package.json b/packages/toolbars/breadcrumb/package.json index cd9ca2e9f..a5740937a 100644 --- a/packages/toolbars/breadcrumb/package.json +++ b/packages/toolbars/breadcrumb/package.json @@ -32,7 +32,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/breadcrumb/vite.config.js b/packages/toolbars/breadcrumb/vite.config.js index c6467c400..1b1055f93 100644 --- a/packages/toolbars/breadcrumb/vite.config.js +++ b/packages/toolbars/breadcrumb/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/clean/package.json b/packages/toolbars/clean/package.json index 5490646cd..51963b9db 100644 --- a/packages/toolbars/clean/package.json +++ b/packages/toolbars/clean/package.json @@ -32,7 +32,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/clean/vite.config.js b/packages/toolbars/clean/vite.config.js index 24bb19e2d..79d232793 100644 --- a/packages/toolbars/clean/vite.config.js +++ b/packages/toolbars/clean/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/collaboration/package.json b/packages/toolbars/collaboration/package.json index abd0ab106..77317e8f0 100644 --- a/packages/toolbars/collaboration/package.json +++ b/packages/toolbars/collaboration/package.json @@ -31,7 +31,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/collaboration/vite.config.js b/packages/toolbars/collaboration/vite.config.js index 827474481..53ba836b2 100644 --- a/packages/toolbars/collaboration/vite.config.js +++ b/packages/toolbars/collaboration/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' export default defineConfig({ plugins: [generateComment(), vue(), vueJsx()], diff --git a/packages/toolbars/fullscreen/package.json b/packages/toolbars/fullscreen/package.json index 727cd442b..83d92334a 100644 --- a/packages/toolbars/fullscreen/package.json +++ b/packages/toolbars/fullscreen/package.json @@ -31,7 +31,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/fullscreen/vite.config.js b/packages/toolbars/fullscreen/vite.config.js index 024573d99..c7eda672c 100644 --- a/packages/toolbars/fullscreen/vite.config.js +++ b/packages/toolbars/fullscreen/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/generate-vue/package.json b/packages/toolbars/generate-vue/package.json index b7b9e740f..eec198c3d 100644 --- a/packages/toolbars/generate-vue/package.json +++ b/packages/toolbars/generate-vue/package.json @@ -36,7 +36,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/generate-vue/vite.config.js b/packages/toolbars/generate-vue/vite.config.js index a5d138865..32198efdb 100644 --- a/packages/toolbars/generate-vue/vite.config.js +++ b/packages/toolbars/generate-vue/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/lang/package.json b/packages/toolbars/lang/package.json index a517e7938..0598747ec 100644 --- a/packages/toolbars/lang/package.json +++ b/packages/toolbars/lang/package.json @@ -32,7 +32,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/lang/vite.config.js b/packages/toolbars/lang/vite.config.js index a4a51c4df..d14931093 100644 --- a/packages/toolbars/lang/vite.config.js +++ b/packages/toolbars/lang/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/layout/package.json b/packages/toolbars/layout/package.json index fd583d8f7..10715c08b 100644 --- a/packages/toolbars/layout/package.json +++ b/packages/toolbars/layout/package.json @@ -30,7 +30,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/layout/vite.config.js b/packages/toolbars/layout/vite.config.js index b04902752..34a4858e0 100644 --- a/packages/toolbars/layout/vite.config.js +++ b/packages/toolbars/layout/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/lock/package.json b/packages/toolbars/lock/package.json index 10f6ba0f8..c757dc391 100644 --- a/packages/toolbars/lock/package.json +++ b/packages/toolbars/lock/package.json @@ -33,7 +33,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/lock/vite.config.js b/packages/toolbars/lock/vite.config.js index d8d4fa67c..cbbd4817b 100644 --- a/packages/toolbars/lock/vite.config.js +++ b/packages/toolbars/lock/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/logo/package.json b/packages/toolbars/logo/package.json index dc62ae57c..4adf6d8eb 100644 --- a/packages/toolbars/logo/package.json +++ b/packages/toolbars/logo/package.json @@ -33,7 +33,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/logo/vite.config.js b/packages/toolbars/logo/vite.config.js index aa48f0937..c48d41c91 100644 --- a/packages/toolbars/logo/vite.config.js +++ b/packages/toolbars/logo/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/logout/package.json b/packages/toolbars/logout/package.json index 6c2f450c1..4948f4c7b 100644 --- a/packages/toolbars/logout/package.json +++ b/packages/toolbars/logout/package.json @@ -30,7 +30,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/logout/vite.config.js b/packages/toolbars/logout/vite.config.js index fbee8de98..4ae746a97 100644 --- a/packages/toolbars/logout/vite.config.js +++ b/packages/toolbars/logout/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/media/package.json b/packages/toolbars/media/package.json index a7b746957..cf1bf9ba8 100644 --- a/packages/toolbars/media/package.json +++ b/packages/toolbars/media/package.json @@ -32,7 +32,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/media/vite.config.js b/packages/toolbars/media/vite.config.js index d3ec6b864..551b1f0e7 100644 --- a/packages/toolbars/media/vite.config.js +++ b/packages/toolbars/media/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/preview/package.json b/packages/toolbars/preview/package.json index 120b8b2d6..a9e05bce9 100644 --- a/packages/toolbars/preview/package.json +++ b/packages/toolbars/preview/package.json @@ -33,7 +33,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/preview/vite.config.js b/packages/toolbars/preview/vite.config.js index 7bb226c05..45882efbb 100644 --- a/packages/toolbars/preview/vite.config.js +++ b/packages/toolbars/preview/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/redoundo/package.json b/packages/toolbars/redoundo/package.json index d2fe050e5..ba600a86c 100644 --- a/packages/toolbars/redoundo/package.json +++ b/packages/toolbars/redoundo/package.json @@ -31,7 +31,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/redoundo/vite.config.js b/packages/toolbars/redoundo/vite.config.js index 5dbf5b9db..27e69dce8 100644 --- a/packages/toolbars/redoundo/vite.config.js +++ b/packages/toolbars/redoundo/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/refresh/package.json b/packages/toolbars/refresh/package.json index 9e7c6ca52..93f254bec 100644 --- a/packages/toolbars/refresh/package.json +++ b/packages/toolbars/refresh/package.json @@ -32,7 +32,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/refresh/vite.config.js b/packages/toolbars/refresh/vite.config.js index 842050d72..f548c9ac4 100644 --- a/packages/toolbars/refresh/vite.config.js +++ b/packages/toolbars/refresh/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/save/package.json b/packages/toolbars/save/package.json index 9db2c08a7..8be43be05 100644 --- a/packages/toolbars/save/package.json +++ b/packages/toolbars/save/package.json @@ -34,7 +34,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/save/vite.config.js b/packages/toolbars/save/vite.config.js index 4f154227e..7daf1b9b0 100644 --- a/packages/toolbars/save/vite.config.js +++ b/packages/toolbars/save/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/toolbars/setting/package.json b/packages/toolbars/setting/package.json index e8e72b59a..13addbb53 100644 --- a/packages/toolbars/setting/package.json +++ b/packages/toolbars/setting/package.json @@ -32,7 +32,7 @@ "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vite": "^4.3.7", - "@opentiny/vite-plugin-generate-comments": "workspace:*" + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*" }, "peerDependencies": { "@opentiny/vue": "^3.14.0", diff --git a/packages/toolbars/setting/vite.config.js b/packages/toolbars/setting/vite.config.js index 6cb7a6748..db5b8e528 100644 --- a/packages/toolbars/setting/vite.config.js +++ b/packages/toolbars/setting/vite.config.js @@ -14,7 +14,7 @@ import { defineConfig } from 'vite' import path from 'path' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/packages/utils/index.js b/packages/utils/index.js deleted file mode 100644 index dcf78045f..000000000 --- a/packages/utils/index.js +++ /dev/null @@ -1,5 +0,0 @@ -import metaData from './meta' - -export default { - ...metaData -} diff --git a/packages/utils/meta.js b/packages/utils/meta.js deleted file mode 100644 index 29623bb08..000000000 --- a/packages/utils/meta.js +++ /dev/null @@ -1,4 +0,0 @@ -export default { - id: 'engine.utils', - type: 'utils' -} diff --git a/packages/utils/package.json b/packages/utils/package.json index aebdc923c..9d3e0f7d9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -27,13 +27,9 @@ "license": "MIT", "homepage": "https://opentiny.design/tiny-engine", "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", "vite": "^4.3.7", "vitest": "^1.4.0" }, - "dependencies": { - "@opentiny/tiny-engine-entry": "workspace:*" - }, "peerDependencies": { "@opentiny/vue-renderless": "^3.14.0", "vue": "^3.4.15" diff --git a/packages/utils/vite.config.js b/packages/utils/vite.config.js index 0a89e3bf6..a9c0fa37e 100644 --- a/packages/utils/vite.config.js +++ b/packages/utils/vite.config.js @@ -12,11 +12,9 @@ import { defineConfig } from 'vite' import path from 'path' -import generateComment from '@opentiny/vite-plugin-generate-comments' // https://vitejs.dev/config/ export default defineConfig({ - plugins: [generateComment()], publicDir: false, resolve: {}, build: { diff --git a/packages/vue-generator/package.json b/packages/vue-generator/package.json index ddd873177..e5896b3a9 100644 --- a/packages/vue-generator/package.json +++ b/packages/vue-generator/package.json @@ -39,7 +39,7 @@ "vue-eslint-parser": "8.3.0" }, "devDependencies": { - "@opentiny/vite-plugin-generate-comments": "workspace:*", + "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:*", "@rushstack/eslint-patch": "^1.1.1", "@vitest/coverage-v8": "^1.4.0", "@vue/eslint-config-prettier": "^7.0.0", diff --git a/packages/vue-generator/vite.config.mjs b/packages/vue-generator/vite.config.mjs index 39215b71a..6e6a032cb 100644 --- a/packages/vue-generator/vite.config.mjs +++ b/packages/vue-generator/vite.config.mjs @@ -13,7 +13,7 @@ import { defineConfig } from 'vite' import path from 'path' import { viteStaticCopy } from 'vite-plugin-static-copy' -import generateComment from '@opentiny/vite-plugin-generate-comments' +import generateComment from '@opentiny/tiny-engine-vite-plugin-meta-comments' // https://vitejs.dev/config/ export default defineConfig({ diff --git a/scripts/setup.js b/scripts/setup.js index 1ce987293..199f0c29d 100644 --- a/scripts/setup.js +++ b/scripts/setup.js @@ -1,3 +1,3 @@ const { exec } = require('node:child_process') -exec('pnpm -F @opentiny/vite-plugin-generate-comments -F @opentiny/tiny-engine-controller -F @opentiny/tiny-engine-dsl-vue build') +exec('pnpm -F @opentiny/tiny-engine-vite-plugin-meta-comments -F @opentiny/tiny-engine-controller -F @opentiny/tiny-engine-dsl-vue build')