mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
chore: install 后需要build,不然run playground会报错
This commit is contained in:
parent
a7afe057fb
commit
68302c01f1
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"packageManager": "pnpm@7.1.9",
|
||||
"scripts": {
|
||||
"bootstrap": "pnpm i && pnpm prepare && cd runtime/vue2 && npm i",
|
||||
"bootstrap": "pnpm i && npm run build && npm run install-vue2 && pnpm prepare",
|
||||
"clean:top": "rimraf */**/dist */dist coverage dwt*",
|
||||
"clean:modules": "rimraf node_modules **/node_modules **/**/node_modules",
|
||||
"clean:all": "pnpm clean:top && pnpm clean:modules",
|
||||
@ -21,6 +21,7 @@
|
||||
"page": "cd page && vite",
|
||||
"page-vue2": "cd page-vue2 && vite",
|
||||
"page-react": "cd page-react && vite",
|
||||
"install-vue2": "cd runtime/vue2 && npm i",
|
||||
"reinstall": "pnpm clean:all && pnpm bootstrap",
|
||||
"test": "vitest run",
|
||||
"coverage": "vitest run --coverage",
|
||||
@ -73,7 +74,7 @@
|
||||
"semver": "^7.3.7",
|
||||
"shx": "^0.3.4",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^2.3.7",
|
||||
"vite": "^2.9.13",
|
||||
"vitest": "^0.14.1"
|
||||
},
|
||||
"config": {
|
||||
|
@ -40,7 +40,7 @@
|
||||
"@types/events": "^3.0.0",
|
||||
"@types/node": "^15.12.4",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6"
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"sass": "^1.35.1",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6",
|
||||
"vue-tsc": "^0.38.2"
|
||||
}
|
||||
|
@ -54,7 +54,7 @@
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"sass": "^1.35.1",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6",
|
||||
"vue-tsc": "^0.38.2"
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "^15.12.4",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6"
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@
|
||||
"@types/node": "^15.12.4",
|
||||
"sass": "^1.35.1",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6"
|
||||
}
|
||||
}
|
||||
|
@ -49,7 +49,7 @@
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"sass": "^1.35.1",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6",
|
||||
"vue-tsc": "^0.38.2"
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
"vue": "^2.6.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^2.3.7",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-vue2": "^2.0.1",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
}
|
||||
|
@ -28,7 +28,7 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "^15.12.4",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-dts": "^0.9.6"
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,7 @@
|
||||
"@vue/compiler-sfc": "^3.2.0",
|
||||
"sass": "^1.35.1",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vue-tsc": "^0.38.2"
|
||||
}
|
||||
}
|
||||
|
138
pnpm-lock.yaml
generated
138
pnpm-lock.yaml
generated
@ -33,7 +33,7 @@ importers:
|
||||
semver: ^7.3.7
|
||||
shx: ^0.3.4
|
||||
typescript: ^4.3.4
|
||||
vite: ^2.3.7
|
||||
vite: ^2.9.13
|
||||
vitest: ^0.14.1
|
||||
devDependencies:
|
||||
'@babel/core': 7.18.2
|
||||
@ -42,7 +42,7 @@ importers:
|
||||
'@types/node': 15.14.9
|
||||
'@typescript-eslint/eslint-plugin': 4.33.0_b2rfmdvuwe4rokpupduzboofj4
|
||||
'@typescript-eslint/parser': 4.33.0_kix3shd7zvxuvkzdjm72bpp2vy
|
||||
'@vitejs/plugin-vue': 1.10.2_vite@2.9.10
|
||||
'@vitejs/plugin-vue': 1.10.2_vite@2.9.13
|
||||
c8: 7.11.3
|
||||
chalk: 4.1.2
|
||||
conventional-changelog-cli: 2.2.2
|
||||
@ -65,7 +65,7 @@ importers:
|
||||
semver: 7.3.7
|
||||
shx: 0.3.4
|
||||
typescript: 4.7.3
|
||||
vite: 2.9.10
|
||||
vite: 2.9.13
|
||||
vitest: 0.14.1_c8@7.11.3+jsdom@19.0.0
|
||||
|
||||
docs:
|
||||
@ -110,7 +110,7 @@ importers:
|
||||
'@types/node': ^15.12.4
|
||||
events: ^3.3.0
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
dependencies:
|
||||
'@tmagic/schema': link:../schema
|
||||
@ -149,7 +149,7 @@ importers:
|
||||
sass: ^1.35.1
|
||||
serialize-javascript: ^6.0.0
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
vue: ^3.2.0
|
||||
vue-tsc: ^0.38.2
|
||||
@ -202,7 +202,7 @@ importers:
|
||||
sass: ^1.35.1
|
||||
sortablejs: ^1.14.0
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
vue: ^3.2.0
|
||||
vue-tsc: ^0.38.2
|
||||
@ -232,7 +232,7 @@ importers:
|
||||
specifiers:
|
||||
'@types/node': ^15.12.4
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
devDependencies:
|
||||
'@types/node': 15.14.9
|
||||
@ -255,7 +255,7 @@ importers:
|
||||
moveable-helper: ^0.4.0
|
||||
sass: ^1.35.1
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
dependencies:
|
||||
'@scena/guides': 0.17.0
|
||||
@ -288,7 +288,7 @@ importers:
|
||||
lodash-es: ^4.17.21
|
||||
sass: ^1.35.1
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
vue: ^3.2.0
|
||||
vue-tsc: ^0.38.2
|
||||
@ -357,7 +357,7 @@ importers:
|
||||
'@tmagic/schema': 1.0.2
|
||||
'@vue/composition-api': 1.0.5
|
||||
qrcode: ^1.5.0
|
||||
vite: ^2.3.7
|
||||
vite: ^2.9.13
|
||||
vite-plugin-vue2: ^2.0.1
|
||||
vue: ^2.6.14
|
||||
vue-template-compiler: ^2.6.14
|
||||
@ -367,8 +367,8 @@ importers:
|
||||
qrcode: 1.5.0
|
||||
vue: 2.6.14
|
||||
devDependencies:
|
||||
vite: 2.9.10
|
||||
vite-plugin-vue2: 2.0.1_5jesfqc2ouaeplxglzazh5atyu
|
||||
vite: 2.9.13
|
||||
vite-plugin-vue2: 2.0.1_rjze3w2zsgj4z24tnggj7hdbyq
|
||||
vue-template-compiler: 2.6.14
|
||||
|
||||
packages/utils:
|
||||
@ -377,7 +377,7 @@ importers:
|
||||
'@types/node': ^15.12.4
|
||||
moment: ^2.29.2
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-dts: ^0.9.6
|
||||
dependencies:
|
||||
'@tmagic/schema': link:../schema
|
||||
@ -407,7 +407,7 @@ importers:
|
||||
sass: ^1.35.1
|
||||
serialize-javascript: ^6.0.0
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vue: ^3.2.0
|
||||
vue-router: ^4.0.10
|
||||
vue-tsc: ^0.38.2
|
||||
@ -446,7 +446,7 @@ importers:
|
||||
react-dom: ^17.0.2
|
||||
recast: ^0.20.4
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
dependencies:
|
||||
'@tmagic/schema': link:../../packages/schema
|
||||
'@tmagic/stage': link:../../packages/stage
|
||||
@ -471,7 +471,7 @@ importers:
|
||||
rollup: ^2.25.0
|
||||
rollup-plugin-external-globals: ^0.6.1
|
||||
sass: ^1.35.1
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vite-plugin-vue2: ^2.0.1
|
||||
vue: ^2.6.14
|
||||
vue-template-compiler: ^2.6.14
|
||||
@ -505,7 +505,7 @@ importers:
|
||||
rollup-plugin-external-globals: ^0.6.1
|
||||
sass: ^1.35.1
|
||||
typescript: ^4.3.4
|
||||
vite: ^ 2.9.13
|
||||
vite: ^2.9.13
|
||||
vue: ^3.2.0
|
||||
vue-tsc: ^0.38.2
|
||||
dependencies:
|
||||
@ -1813,13 +1813,13 @@ packages:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@vitejs/plugin-vue/1.10.2_vite@2.9.10:
|
||||
/@vitejs/plugin-vue/1.10.2_vite@2.9.13:
|
||||
resolution: {integrity: sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw==}
|
||||
engines: {node: '>=12.0.0'}
|
||||
peerDependencies:
|
||||
vite: ^2.5.10
|
||||
dependencies:
|
||||
vite: 2.9.10
|
||||
vite: 2.9.13
|
||||
dev: true
|
||||
|
||||
/@vitejs/plugin-vue/2.3.3_vite@2.9.10+vue@3.2.37:
|
||||
@ -3071,7 +3071,7 @@ packages:
|
||||
lodash: ^4.17.20
|
||||
marko: ^3.14.4
|
||||
mote: ^0.2.0
|
||||
mustache: ^4.0.1
|
||||
mustache: ^3.0.0
|
||||
nunjucks: ^3.2.2
|
||||
plates: ~0.4.11
|
||||
pug: ^3.0.0
|
||||
@ -7430,100 +7430,6 @@ packages:
|
||||
vite: 2.9.13
|
||||
dev: true
|
||||
|
||||
/vite-plugin-vue2/2.0.1_5jesfqc2ouaeplxglzazh5atyu:
|
||||
resolution: {integrity: sha512-8ixcIDZwk3PSbdaqKrPFYDot044lPLIqpjjuRXUDHdRhml87Kbc6JqLq6uwHERlPovwfI3DpluWRMVgn/Llmag==}
|
||||
peerDependencies:
|
||||
vite: ^2.0.0
|
||||
vue-template-compiler: ^2.2.0
|
||||
dependencies:
|
||||
'@babel/core': 7.18.2
|
||||
'@babel/parser': 7.18.4
|
||||
'@babel/plugin-proposal-class-properties': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-proposal-decorators': 7.18.2_@babel+core@7.18.2
|
||||
'@babel/plugin-proposal-nullish-coalescing-operator': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-proposal-object-rest-spread': 7.18.0_@babel+core@7.18.2
|
||||
'@babel/plugin-proposal-optional-chaining': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-arrow-functions': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-block-scoping': 7.18.4_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-computed-properties': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-destructuring': 7.18.0_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-parameters': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-spread': 7.17.12_@babel+core@7.18.2
|
||||
'@babel/plugin-transform-typescript': 7.18.4_@babel+core@7.18.2
|
||||
'@rollup/pluginutils': 4.2.1
|
||||
'@vue/babel-helper-vue-jsx-merge-props': 1.2.1
|
||||
'@vue/babel-preset-jsx': 1.2.4_@babel+core@7.18.2
|
||||
'@vue/component-compiler-utils': 3.3.0
|
||||
consolidate: 0.16.0
|
||||
debug: 4.3.4
|
||||
fs-extra: 10.1.0
|
||||
hash-sum: 2.0.0
|
||||
magic-string: 0.26.2
|
||||
prettier: 2.6.2
|
||||
querystring: 0.2.1
|
||||
rollup: 2.75.5
|
||||
slash: 3.0.0
|
||||
source-map: 0.7.4
|
||||
vite: 2.9.10
|
||||
vue-template-babel-compiler: 1.2.0_ev5jzj74xu2fombjvobqpq452a
|
||||
vue-template-compiler: 2.6.14
|
||||
transitivePeerDependencies:
|
||||
- arc-templates
|
||||
- atpl
|
||||
- babel-core
|
||||
- bracket-template
|
||||
- coffee-script
|
||||
- dot
|
||||
- dust
|
||||
- dustjs-helpers
|
||||
- dustjs-linkedin
|
||||
- eco
|
||||
- ect
|
||||
- ejs
|
||||
- haml-coffee
|
||||
- hamlet
|
||||
- hamljs
|
||||
- handlebars
|
||||
- hogan.js
|
||||
- htmling
|
||||
- jade
|
||||
- jazz
|
||||
- jqtpl
|
||||
- just
|
||||
- liquid-node
|
||||
- liquor
|
||||
- lodash
|
||||
- marko
|
||||
- mote
|
||||
- mustache
|
||||
- nunjucks
|
||||
- plates
|
||||
- pug
|
||||
- qejs
|
||||
- ractive
|
||||
- razor-tmpl
|
||||
- react
|
||||
- react-dom
|
||||
- slm
|
||||
- squirrelly
|
||||
- supports-color
|
||||
- swig
|
||||
- swig-templates
|
||||
- teacup
|
||||
- templayed
|
||||
- then-jade
|
||||
- then-pug
|
||||
- tinyliquid
|
||||
- toffee
|
||||
- twig
|
||||
- twing
|
||||
- underscore
|
||||
- vash
|
||||
- velocityjs
|
||||
- walrus
|
||||
- whiskers
|
||||
dev: true
|
||||
|
||||
/vite-plugin-vue2/2.0.1_rjze3w2zsgj4z24tnggj7hdbyq:
|
||||
resolution: {integrity: sha512-8ixcIDZwk3PSbdaqKrPFYDot044lPLIqpjjuRXUDHdRhml87Kbc6JqLq6uwHERlPovwfI3DpluWRMVgn/Llmag==}
|
||||
peerDependencies:
|
||||
@ -7558,7 +7464,7 @@ packages:
|
||||
rollup: 2.75.5
|
||||
slash: 3.0.0
|
||||
source-map: 0.7.4
|
||||
vite: 2.9.13_sass@1.52.2
|
||||
vite: 2.9.13
|
||||
vue-template-babel-compiler: 1.2.0_ev5jzj74xu2fombjvobqpq452a
|
||||
vue-template-compiler: 2.6.14
|
||||
transitivePeerDependencies:
|
||||
@ -7719,7 +7625,7 @@ packages:
|
||||
local-pkg: 0.4.1
|
||||
tinypool: 0.1.3
|
||||
tinyspy: 0.3.2
|
||||
vite: 2.9.10
|
||||
vite: 2.9.13
|
||||
transitivePeerDependencies:
|
||||
- less
|
||||
- sass
|
||||
|
@ -26,6 +26,6 @@
|
||||
"@vitejs/plugin-react-refresh": "^1.3.1",
|
||||
"recast": "^0.20.4",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13"
|
||||
"vite": "^2.9.13"
|
||||
}
|
||||
}
|
||||
|
2
runtime/vue2/package-lock.json
generated
2
runtime/vue2/package-lock.json
generated
@ -20,7 +20,7 @@
|
||||
"rollup": "^2.25.0",
|
||||
"rollup-plugin-external-globals": "^0.6.1",
|
||||
"sass": "^1.35.1",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-vue2": "^2.0.1",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
"rollup": "^2.25.0",
|
||||
"rollup-plugin-external-globals": "^0.6.1",
|
||||
"sass": "^1.35.1",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-vue2": "^2.0.1",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
}
|
||||
|
@ -26,7 +26,7 @@
|
||||
"rollup-plugin-external-globals": "^0.6.1",
|
||||
"sass": "^1.35.1",
|
||||
"typescript": "^4.3.4",
|
||||
"vite": "^ 2.9.13",
|
||||
"vite": "^2.9.13",
|
||||
"vue-tsc": "^0.38.2"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user