fix: add missing dependencies for ts and add force install flags to pnpm for fresh pacakge installation without caching

This commit is contained in:
Anda Toshiki 2023-06-12 01:28:50 +08:00
parent 6ffa051e10
commit 5d06871244
3 changed files with 43 additions and 32 deletions

View File

@ -33,6 +33,7 @@
"@luckrya/markdown-it-link-to-card": "^0.3.3", "@luckrya/markdown-it-link-to-card": "^0.3.3",
"@mdit-vue/shared": "^0.12.0", "@mdit-vue/shared": "^0.12.0",
"@types/node": "^18.14.2", "@types/node": "^18.14.2",
"@types/react": "^18.2.9",
"@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue": "^4.0.0",
"@vue/cli-plugin-typescript": "^5.0.8", "@vue/cli-plugin-typescript": "^5.0.8",
"artplayer": "^4.6.2", "artplayer": "^4.6.2",
@ -57,9 +58,11 @@
"medium-zoom": "^1.0.8", "medium-zoom": "^1.0.8",
"mermaid": "^9.4.3", "mermaid": "^9.4.3",
"prettier": "2.8.4", "prettier": "2.8.4",
"react": "^18.2.0",
"sass": "^1.58.3", "sass": "^1.58.3",
"sitemap": "^7.1.1", "sitemap": "^7.1.1",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^5.1.3",
"unplugin-vue-components": "^0.24.0", "unplugin-vue-components": "^0.24.0",
"videojs-flash": "^2.2.1", "videojs-flash": "^2.2.1",
"vite": "^4.1.2", "vite": "^4.1.2",
@ -72,9 +75,7 @@
}, },
"dependencies": { "dependencies": {
"@andatoshiki/markdown-it-katex": "^0.0.3", "@andatoshiki/markdown-it-katex": "^0.0.3",
"@types/react": "^18.2.9",
"markdown-it": "^13.0.1", "markdown-it": "^13.0.1",
"react": "^18.2.0",
"vitest": "^0.32.0" "vitest": "^0.32.0"
}, },
"pnpm": { "pnpm": {

View File

@ -14,15 +14,9 @@ importers:
'@andatoshiki/markdown-it-katex': '@andatoshiki/markdown-it-katex':
specifier: ^0.0.3 specifier: ^0.0.3
version: 0.0.3 version: 0.0.3
'@types/react':
specifier: ^18.2.9
version: 18.2.9
markdown-it: markdown-it:
specifier: ^13.0.1 specifier: ^13.0.1
version: 13.0.1 version: 13.0.1
react:
specifier: ^18.2.0
version: 18.2.0
vitest: vitest:
specifier: ^0.32.0 specifier: ^0.32.0
version: 0.32.0(sass@1.62.1) version: 0.32.0(sass@1.62.1)
@ -35,7 +29,7 @@ importers:
version: 0.0.1 version: 0.0.1
'@andatoshiki/vitepress-plugin-shiki-twoslash': '@andatoshiki/vitepress-plugin-shiki-twoslash':
specifier: 0.0.1 specifier: 0.0.1
version: 0.0.1(typescript@5.0.4)(vitepress@1.0.0-alpha.75) version: 0.0.1(typescript@5.1.3)(vitepress@1.0.0-alpha.75)
'@antv/g2plot': '@antv/g2plot':
specifier: ^2.4.31 specifier: ^2.4.31
version: 2.4.31 version: 2.4.31
@ -51,12 +45,15 @@ importers:
'@types/node': '@types/node':
specifier: ^18.14.2 specifier: ^18.14.2
version: 18.16.3 version: 18.16.3
'@types/react':
specifier: ^18.2.9
version: 18.2.9
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: ^4.0.0 specifier: ^4.0.0
version: 4.2.1(vite@4.3.3)(vue@3.2.47) version: 4.2.1(vite@4.3.3)(vue@3.2.47)
'@vue/cli-plugin-typescript': '@vue/cli-plugin-typescript':
specifier: ^5.0.8 specifier: ^5.0.8
version: 5.0.8(@vue/cli-service@5.0.8)(typescript@5.0.4)(vue@3.2.47) version: 5.0.8(@vue/cli-service@5.0.8)(typescript@5.1.3)(vue@3.2.47)
artplayer: artplayer:
specifier: ^4.6.2 specifier: ^4.6.2
version: 4.6.2 version: 4.6.2
@ -123,6 +120,9 @@ importers:
prettier: prettier:
specifier: 2.8.4 specifier: 2.8.4
version: 2.8.4 version: 2.8.4
react:
specifier: ^18.2.0
version: 18.2.0
sass: sass:
specifier: ^1.58.3 specifier: ^1.58.3
version: 1.62.1 version: 1.62.1
@ -131,7 +131,10 @@ importers:
version: 7.1.1 version: 7.1.1
ts-node: ts-node:
specifier: ^10.9.1 specifier: ^10.9.1
version: 10.9.1(@types/node@18.16.3)(typescript@5.0.4) version: 10.9.1(@types/node@18.16.3)(typescript@5.1.3)
typescript:
specifier: ^5.1.3
version: 5.1.3
unplugin-vue-components: unplugin-vue-components:
specifier: ^0.24.0 specifier: ^0.24.0
version: 0.24.1(vue@3.2.47) version: 0.24.1(vue@3.2.47)
@ -317,12 +320,12 @@ packages:
nprogress: 0.2.0 nprogress: 0.2.0
dev: true dev: true
/@andatoshiki/vitepress-plugin-shiki-twoslash@0.0.1(typescript@5.0.4)(vitepress@1.0.0-alpha.75): /@andatoshiki/vitepress-plugin-shiki-twoslash@0.0.1(typescript@5.1.3)(vitepress@1.0.0-alpha.75):
resolution: {integrity: sha512-51GGfDsbcPKUA39FmrQO+fzKgBD7is/RVB9MuioVFoZi0S1PIrpRGMGd07QTR9I7v6N8u6QnmzF1i6Xgdr5EBQ==} resolution: {integrity: sha512-51GGfDsbcPKUA39FmrQO+fzKgBD7is/RVB9MuioVFoZi0S1PIrpRGMGd07QTR9I7v6N8u6QnmzF1i6Xgdr5EBQ==}
peerDependencies: peerDependencies:
vitepress: '>=1.0.0-alpha.61' vitepress: '>=1.0.0-alpha.61'
dependencies: dependencies:
remark-shiki-twoslash: 3.1.3(typescript@5.0.4) remark-shiki-twoslash: 3.1.3(typescript@5.1.3)
vitepress: 1.0.0-alpha.75(@types/node@18.16.3)(@types/react@18.2.9)(react-dom@15.7.0)(react@18.2.0)(sass@1.62.1) vitepress: 1.0.0-alpha.75(@types/node@18.16.3)(@types/react@18.2.9)(react-dom@15.7.0)(react@18.2.0)(sass@1.62.1)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -1342,6 +1345,7 @@ packages:
/@types/prop-types@15.7.5: /@types/prop-types@15.7.5:
resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==}
dev: true
/@types/qs@6.9.7: /@types/qs@6.9.7:
resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==} resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==}
@ -1357,6 +1361,7 @@ packages:
'@types/prop-types': 15.7.5 '@types/prop-types': 15.7.5
'@types/scheduler': 0.16.3 '@types/scheduler': 0.16.3
csstype: 3.1.2 csstype: 3.1.2
dev: true
/@types/retry@0.12.0: /@types/retry@0.12.0:
resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==}
@ -1370,6 +1375,7 @@ packages:
/@types/scheduler@0.16.3: /@types/scheduler@0.16.3:
resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==} resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==}
dev: true
/@types/send@0.17.1: /@types/send@0.17.1:
resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==}
@ -1555,7 +1561,7 @@ packages:
- encoding - encoding
dev: true dev: true
/@vue/cli-plugin-typescript@5.0.8(@vue/cli-service@5.0.8)(typescript@5.0.4)(vue@3.2.47): /@vue/cli-plugin-typescript@5.0.8(@vue/cli-service@5.0.8)(typescript@5.1.3)(vue@3.2.47):
resolution: {integrity: sha512-JKJOwzJshBqsmp4yLBexwVMebOZ4VGJgbnYvmHVxasJOStF2RxwyW28ZF+zIvASGdat4sAUuo/3mAQyVhm7JHg==} resolution: {integrity: sha512-JKJOwzJshBqsmp4yLBexwVMebOZ4VGJgbnYvmHVxasJOStF2RxwyW28ZF+zIvASGdat4sAUuo/3mAQyVhm7JHg==}
peerDependencies: peerDependencies:
'@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0
@ -1574,11 +1580,11 @@ packages:
'@vue/cli-service': 5.0.8(@babel/core@7.22.5)(react-dom@15.7.0)(react@18.2.0)(vue@3.2.47) '@vue/cli-service': 5.0.8(@babel/core@7.22.5)(react-dom@15.7.0)(react@18.2.0)(vue@3.2.47)
'@vue/cli-shared-utils': 5.0.8 '@vue/cli-shared-utils': 5.0.8
babel-loader: 8.3.0(@babel/core@7.22.5)(webpack@5.86.0) babel-loader: 8.3.0(@babel/core@7.22.5)(webpack@5.86.0)
fork-ts-checker-webpack-plugin: 6.5.3(typescript@5.0.4)(webpack@5.86.0) fork-ts-checker-webpack-plugin: 6.5.3(typescript@5.1.3)(webpack@5.86.0)
globby: 11.1.0 globby: 11.1.0
thread-loader: 3.0.4(webpack@5.86.0) thread-loader: 3.0.4(webpack@5.86.0)
ts-loader: 9.4.3(typescript@5.0.4)(webpack@5.86.0) ts-loader: 9.4.3(typescript@5.1.3)(webpack@5.86.0)
typescript: 5.0.4 typescript: 5.1.3
vue: 3.2.47 vue: 3.2.47
webpack: 5.86.0 webpack: 5.86.0
transitivePeerDependencies: transitivePeerDependencies:
@ -4267,6 +4273,7 @@ packages:
/csstype@3.1.2: /csstype@3.1.2:
resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}
dev: true
/cytoscape-cose-bilkent@4.1.0(cytoscape@3.24.0): /cytoscape-cose-bilkent@4.1.0(cytoscape@3.24.0):
resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==} resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==}
@ -5574,7 +5581,7 @@ packages:
dev: true dev: true
optional: true optional: true
/fork-ts-checker-webpack-plugin@6.5.3(typescript@5.0.4)(webpack@5.86.0): /fork-ts-checker-webpack-plugin@6.5.3(typescript@5.1.3)(webpack@5.86.0):
resolution: {integrity: sha512-SbH/l9ikmMWycd5puHJKTkZJKddF4iRLyW3DeZ08HTI7NGyLS38MXd/KGgeWumQO7YNQbW2u/NtPT2YowbPaGQ==} resolution: {integrity: sha512-SbH/l9ikmMWycd5puHJKTkZJKddF4iRLyW3DeZ08HTI7NGyLS38MXd/KGgeWumQO7YNQbW2u/NtPT2YowbPaGQ==}
engines: {node: '>=10', yarn: '>=1.0.0'} engines: {node: '>=10', yarn: '>=1.0.0'}
peerDependencies: peerDependencies:
@ -5601,7 +5608,7 @@ packages:
schema-utils: 2.7.0 schema-utils: 2.7.0
semver: 7.5.0 semver: 7.5.0
tapable: 1.1.3 tapable: 1.1.3
typescript: 5.0.4 typescript: 5.1.3
webpack: 5.86.0 webpack: 5.86.0
dev: true dev: true
@ -6818,6 +6825,7 @@ packages:
/js-tokens@4.0.0: /js-tokens@4.0.0:
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
dev: true
/js-yaml@3.14.1: /js-yaml@3.14.1:
resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
@ -7198,6 +7206,7 @@ packages:
hasBin: true hasBin: true
dependencies: dependencies:
js-tokens: 4.0.0 js-tokens: 4.0.0
dev: true
/loupe@2.3.6: /loupe@2.3.6:
resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
@ -8894,6 +8903,7 @@ packages:
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
dependencies: dependencies:
loose-envify: 1.4.0 loose-envify: 1.4.0
dev: true
/read-pkg-up@3.0.0: /read-pkg-up@3.0.0:
resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==} resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==}
@ -9052,7 +9062,7 @@ packages:
engines: {node: '>= 0.10'} engines: {node: '>= 0.10'}
dev: true dev: true
/remark-shiki-twoslash@3.1.3(typescript@5.0.4): /remark-shiki-twoslash@3.1.3(typescript@5.1.3):
resolution: {integrity: sha512-4e8OH3ySOCw5wUbDcPszokOKjKuebOqlP2WlySvC7ITBOq27BiGsFlq+FNWhxppZ+JzhTWah4gQrnMjX3KDbAQ==} resolution: {integrity: sha512-4e8OH3ySOCw5wUbDcPszokOKjKuebOqlP2WlySvC7ITBOq27BiGsFlq+FNWhxppZ+JzhTWah4gQrnMjX3KDbAQ==}
peerDependencies: peerDependencies:
typescript: '>3' typescript: '>3'
@ -9063,9 +9073,9 @@ packages:
fenceparser: 1.1.1 fenceparser: 1.1.1
regenerator-runtime: 0.13.11 regenerator-runtime: 0.13.11
shiki: 0.14.2 shiki: 0.14.2
shiki-twoslash: 3.1.2(typescript@5.0.4) shiki-twoslash: 3.1.2(typescript@5.1.3)
tslib: 2.1.0 tslib: 2.1.0
typescript: 5.0.4 typescript: 5.1.3
unist-util-visit: 2.0.3 unist-util-visit: 2.0.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -9484,7 +9494,7 @@ packages:
resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==}
dev: true dev: true
/shiki-twoslash@3.1.2(typescript@5.0.4): /shiki-twoslash@3.1.2(typescript@5.1.3):
resolution: {integrity: sha512-JBcRIIizi+exIA/OUhYkV6jtyeZco0ykCkIRd5sgwIt1Pm4pz+maoaRZpm6SkhPwvif4fCA7xOtJOykhpIV64Q==} resolution: {integrity: sha512-JBcRIIizi+exIA/OUhYkV6jtyeZco0ykCkIRd5sgwIt1Pm4pz+maoaRZpm6SkhPwvif4fCA7xOtJOykhpIV64Q==}
peerDependencies: peerDependencies:
typescript: '>3' typescript: '>3'
@ -9493,7 +9503,7 @@ packages:
'@typescript/vfs': 1.3.4 '@typescript/vfs': 1.3.4
fenceparser: 1.1.1 fenceparser: 1.1.1
shiki: 0.14.2 shiki: 0.14.2
typescript: 5.0.4 typescript: 5.1.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -10260,7 +10270,7 @@ packages:
engines: {node: '>=6.10'} engines: {node: '>=6.10'}
dev: true dev: true
/ts-loader@9.4.3(typescript@5.0.4)(webpack@5.86.0): /ts-loader@9.4.3(typescript@5.1.3)(webpack@5.86.0):
resolution: {integrity: sha512-n3hBnm6ozJYzwiwt5YRiJZkzktftRpMiBApHaJPoWLA+qetQBAXkHqCLM6nwSdRDimqVtA5ocIkcTRLMTt7yzA==} resolution: {integrity: sha512-n3hBnm6ozJYzwiwt5YRiJZkzktftRpMiBApHaJPoWLA+qetQBAXkHqCLM6nwSdRDimqVtA5ocIkcTRLMTt7yzA==}
engines: {node: '>=12.0.0'} engines: {node: '>=12.0.0'}
peerDependencies: peerDependencies:
@ -10271,11 +10281,11 @@ packages:
enhanced-resolve: 5.14.1 enhanced-resolve: 5.14.1
micromatch: 4.0.5 micromatch: 4.0.5
semver: 7.5.0 semver: 7.5.0
typescript: 5.0.4 typescript: 5.1.3
webpack: 5.86.0 webpack: 5.86.0
dev: true dev: true
/ts-node@10.9.1(@types/node@18.16.3)(typescript@5.0.4): /ts-node@10.9.1(@types/node@18.16.3)(typescript@5.1.3):
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -10301,7 +10311,7 @@ packages:
create-require: 1.1.1 create-require: 1.1.1
diff: 4.0.2 diff: 4.0.2
make-error: 1.3.6 make-error: 1.3.6
typescript: 5.0.4 typescript: 5.1.3
v8-compile-cache-lib: 3.0.1 v8-compile-cache-lib: 3.0.1
yn: 3.1.1 yn: 3.1.1
dev: true dev: true
@ -10366,9 +10376,9 @@ packages:
is-typed-array: 1.1.10 is-typed-array: 1.1.10
dev: true dev: true
/typescript@5.0.4: /typescript@5.1.3:
resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==}
engines: {node: '>=12.20'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
dev: true dev: true

View File

@ -1,5 +1,5 @@
{ {
"installCommand": "pnpm add -g pnpm@8.3.1 && pnpm i", "installCommand": "pnpm add -g pnpm@8.3.1 && pnpm install --force",
"buildCommand": "pnpm docs:build", "buildCommand": "pnpm docs:build",
"devCommand": "pnpm docs:dev", "devCommand": "pnpm docs:dev",
"cleanUrls": true, "cleanUrls": true,