|
22 | 22 | "node": ">=14"
|
23 | 23 | },
|
24 | 24 | "scripts": {
|
25 |
| - "bootstrap": "yarn install", |
| 25 | + "bootstrap": "pnpm install", |
26 | 26 | "check": "vue-tsc --noEmit",
|
27 | 27 | "serve": "npm run dev",
|
28 | 28 | "dev": "vite",
|
|
31 | 31 | "build": "vite build",
|
32 | 32 | "build:check": "vue-tsc --noEmit && vite build",
|
33 | 33 | "build:github": "vite build --base=/vite-vue3-ts/",
|
34 |
| - "build:no-cache": "yarn clean:cache && npm run build", |
| 34 | + "build:no-cache": "pnpm clean:cache && npm run build", |
35 | 35 | "preview": "vite preview",
|
36 | 36 | "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
|
37 | 37 | "clean:lib": "rimraf node_modules",
|
38 | 38 | "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
39 | 39 | "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
40 | 40 | "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
41 |
| - "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", |
| 41 | + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && npx prettier CHANGELOG.md --write && git add CHANGELOG.md", |
42 | 42 | "prepare": "husky install"
|
43 | 43 | },
|
44 | 44 | "dependencies": {
|
|
66 | 66 | "@vitejs/plugin-vue": "^3.0.1",
|
67 | 67 | "@vitejs/plugin-vue-jsx": "^2.0.0",
|
68 | 68 | "autoprefixer": "^10.4.0",
|
| 69 | + "conventional-changelog-cli": "^2.2.2", |
69 | 70 | "eslint": "^7.32.0",
|
70 | 71 | "eslint-config-prettier": "^8.3.0",
|
71 | 72 | "eslint-define-config": "~1.0.9",
|
|
0 commit comments