build(projects): update deps
This commit is contained in:
parent
0c12665fda
commit
f71812d622
21
package.json
21
package.json
@ -48,9 +48,8 @@
|
|||||||
"commit": "soy git-commit",
|
"commit": "soy git-commit",
|
||||||
"cleanup": "soy cleanup",
|
"cleanup": "soy cleanup",
|
||||||
"update-pkg": "soy update-pkg",
|
"update-pkg": "soy update-pkg",
|
||||||
"esno": "esno",
|
"tsx": "tsx",
|
||||||
"logo": "esno ./scripts/logo.ts",
|
"logo": "tsx ./scripts/logo.ts",
|
||||||
"compress": "esno ./scripts/compress.ts",
|
|
||||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||||
"release": "standard-version",
|
"release": "standard-version",
|
||||||
"prepare": "simple-git-hooks"
|
"prepare": "simple-git-hooks"
|
||||||
@ -86,7 +85,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@amap/amap-jsapi-types": "^0.0.10",
|
"@amap/amap-jsapi-types": "^0.0.10",
|
||||||
"@iconify/json": "^2.2.5",
|
"@iconify/json": "^2.2.6",
|
||||||
"@iconify/vue": "^4.0.2",
|
"@iconify/vue": "^4.0.2",
|
||||||
"@soybeanjs/cli": "^0.1.6",
|
"@soybeanjs/cli": "^0.1.6",
|
||||||
"@soybeanjs/router-page": "1.0.3",
|
"@soybeanjs/router-page": "1.0.3",
|
||||||
@ -95,29 +94,26 @@
|
|||||||
"@types/node": "18.11.18",
|
"@types/node": "18.11.18",
|
||||||
"@types/qs": "^6.9.7",
|
"@types/qs": "^6.9.7",
|
||||||
"@types/ua-parser-js": "^0.7.36",
|
"@types/ua-parser-js": "^0.7.36",
|
||||||
"@unocss/preset-uno": "^0.48.3",
|
"@unocss/preset-uno": "^0.48.4",
|
||||||
"@unocss/vite": "^0.48.3",
|
"@unocss/vite": "^0.48.4",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
||||||
"compressing": "^1.6.3",
|
|
||||||
"conventional-changelog": "^3.1.25",
|
"conventional-changelog": "^3.1.25",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^8.31.0",
|
"eslint": "^8.31.0",
|
||||||
"eslint-config-soybeanjs-vue": "^0.2.2",
|
"eslint-config-soybeanjs-vue": "^0.2.2",
|
||||||
"esno": "^0.16.3",
|
|
||||||
"lint-staged": "12.5.0",
|
"lint-staged": "12.5.0",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"node-html-to-image": "^3.2.4",
|
"node-html-to-image": "^3.2.4",
|
||||||
"npm-check-updates": "^16.6.2",
|
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"rollup-plugin-visualizer": "^5.9.0",
|
"rollup-plugin-visualizer": "^5.9.0",
|
||||||
"sass": "^1.57.1",
|
"sass": "^1.57.1",
|
||||||
"simple-git-hooks": "^2.8.1",
|
"simple-git-hooks": "^2.8.1",
|
||||||
"standard-version": "^9.5.0",
|
"standard-version": "^9.5.0",
|
||||||
|
"tsx": "^3.12.2",
|
||||||
"typescript": "4.9.4",
|
"typescript": "4.9.4",
|
||||||
"unplugin-icons": "^0.15.1",
|
"unplugin-icons": "^0.15.1",
|
||||||
"unplugin-vue-components": "0.22.12",
|
"unplugin-vue-components": "0.22.12",
|
||||||
"unplugin-vue-macros": "^1.3.2",
|
"unplugin-vue-macros": "^1.3.3",
|
||||||
"utility-types": "^3.10.0",
|
"utility-types": "^3.10.0",
|
||||||
"vite": "^4.0.4",
|
"vite": "^4.0.4",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
@ -126,8 +122,7 @@
|
|||||||
"vite-plugin-progress": "^0.0.6",
|
"vite-plugin-progress": "^0.0.6",
|
||||||
"vite-plugin-pwa": "^0.14.1",
|
"vite-plugin-pwa": "^0.14.1",
|
||||||
"vite-plugin-svg-icons": "^2.0.1",
|
"vite-plugin-svg-icons": "^2.0.1",
|
||||||
"vue-tsc": "^1.0.24",
|
"vue-tsc": "^1.0.24"
|
||||||
"zx": "^7.1.1"
|
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"patchedDependencies": {
|
"patchedDependencies": {
|
||||||
|
519
pnpm-lock.yaml
519
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env zx
|
|
||||||
import { $ } from 'zx';
|
|
||||||
|
|
||||||
$`pnpm rimraf node_modules dist pnpm-lock.yaml`;
|
|
@ -1,21 +0,0 @@
|
|||||||
import { createWriteStream } from 'fs';
|
|
||||||
import { zip } from 'compressing';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 压缩目录或者文件
|
|
||||||
* @param paths 目录或者文件的路径
|
|
||||||
* @param destinationName 压缩产物的名称
|
|
||||||
*/
|
|
||||||
function zipDirsOrFile(paths: string[], destinationName = 'dist.zip') {
|
|
||||||
const stream = new zip.Stream();
|
|
||||||
|
|
||||||
paths.forEach(path => {
|
|
||||||
stream.addEntry(path);
|
|
||||||
});
|
|
||||||
|
|
||||||
const destination = createWriteStream(destinationName);
|
|
||||||
|
|
||||||
stream.pipe(destination);
|
|
||||||
}
|
|
||||||
|
|
||||||
zipDirsOrFile(['dist']);
|
|
@ -1,6 +0,0 @@
|
|||||||
import { $ } from 'zx';
|
|
||||||
|
|
||||||
$`rm -rf .husky`;
|
|
||||||
$`git config core.hooksPath .git/hooks/`;
|
|
||||||
$`rm -rf .git/hooks`;
|
|
||||||
$`pnpm simple-git-hooks`;
|
|
Loading…
Reference in New Issue
Block a user