chore: use pnpm
							parent
							
								
									0413be595d
								
							
						
					
					
						commit
						16f3239d26
					
				|  | @ -16,7 +16,7 @@ | ||||||
| 
 | 
 | ||||||
| ## 预览地址 | ## 预览地址 | ||||||
| 
 | 
 | ||||||
| - [预览地址](http://dashboard-vben.yudao.iocoder.cn) | - [预览地址](http://vben.xingyuv.com/) | ||||||
| - [启动文档](https://doc.iocoder.cn/quick-start/) | - [启动文档](https://doc.iocoder.cn/quick-start/) | ||||||
| - [视频教程](https://doc.iocoder.cn/video/) | - [视频教程](https://doc.iocoder.cn/video/) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								package.json
								
								
								
								
							
							
						
						
									
										14
									
								
								package.json
								
								
								
								
							|  | @ -9,16 +9,16 @@ | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "commit": "czg", |     "commit": "czg", | ||||||
|     "bootstrap": "pnpm install", |     "bootstrap": "pnpm install", | ||||||
|     "serve": "npm run dev", |     "serve": "pnpm dev", | ||||||
|     "dev": "vite", |     "dev": "vite", | ||||||
|     "front": "vite --mode front", |     "front": "vite --mode front", | ||||||
|     "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts", |     "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts", | ||||||
|     "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192  vite build --mode test && esno ./build/script/postBuild.ts", |     "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192  vite build --mode test && esno ./build/script/postBuild.ts", | ||||||
|     "build:static": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode static && esno ./build/script/postBuild.ts", |     "build:static": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode static && esno ./build/script/postBuild.ts", | ||||||
|     "build:no-cache": "pnpm clean:cache && npm run build", |     "build:no-cache": "pnpm clean:cache && pnpm build", | ||||||
|     "report": "cross-env REPORT=true npm run build", |     "report": "cross-env REPORT=true pnpm build", | ||||||
|     "type:check": "vue-tsc --noEmit --skipLibCheck", |     "type:check": "vue-tsc --noEmit --skipLibCheck", | ||||||
|     "preview": "npm run build && vite preview", |     "preview": "pnpm build && vite preview", | ||||||
|     "preview:dist": "vite preview", |     "preview:dist": "vite preview", | ||||||
|     "log": "conventional-changelog -p angular -i CHANGELOG.md -s", |     "log": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||||||
|     "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", |     "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", | ||||||
|  | @ -28,7 +28,7 @@ | ||||||
|     "lint:style": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", |     "lint:style": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||||||
|     "lint:lint-staged": "lint-staged", |     "lint:lint-staged": "lint-staged", | ||||||
|     "npm:check": "npx npm-check-updates", |     "npm:check": "npx npm-check-updates", | ||||||
|     "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", |     "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && pnpm bootstrap", | ||||||
|     "prepare": "husky install", |     "prepare": "husky install", | ||||||
|     "gen:icon": "esno ./build/generate/icon/index.ts" |     "gen:icon": "esno ./build/generate/icon/index.ts" | ||||||
|   }, |   }, | ||||||
|  | @ -140,10 +140,10 @@ | ||||||
|     "url": "https://github.com/xingyuv/issues" |     "url": "https://github.com/xingyuv/issues" | ||||||
|   }, |   }, | ||||||
|   "homepage": "https://github.com/xingyuv", |   "homepage": "https://github.com/xingyuv", | ||||||
|   "packageManager": "pnpm@8.1.0", |   "packageManager": "pnpm@8.4.0", | ||||||
|   "engines": { |   "engines": { | ||||||
|     "node": ">= 16.0.0", |     "node": ">= 16.0.0", | ||||||
|     "pnpm": ">=8.1.0" |     "pnpm": ">=8.4.0" | ||||||
|   }, |   }, | ||||||
|   "lint-staged": { |   "lint-staged": { | ||||||
|     "*.{js,jsx,ts,tsx}": [ |     "*.{js,jsx,ts,tsx}": [ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 xingyu
						xingyu