chore(projects): use engines replace packageManager

This commit is contained in:
Soybean 2024-04-25 10:24:48 +08:00
parent 09f6464678
commit dcd51f4cda

View File

@ -2,7 +2,6 @@
"name": "soybean-admin", "name": "soybean-admin",
"type": "module", "type": "module",
"version": "1.0.5", "version": "1.0.5",
"packageManager": "pnpm@9.0.5",
"description": "A fresh and elegant admin template, based on Vue3、Vite3、TypeScript、NaiveUI and UnoCSS. 一个基于Vue3、Vite3、TypeScript、NaiveUI and UnoCSS的清新优雅的中后台模版。", "description": "A fresh and elegant admin template, based on Vue3、Vite3、TypeScript、NaiveUI and UnoCSS. 一个基于Vue3、Vite3、TypeScript、NaiveUI and UnoCSS的清新优雅的中后台模版。",
"author": { "author": {
"name": "Soybean", "name": "Soybean",
@ -27,6 +26,10 @@
"ant-design-vue v4", "ant-design-vue v4",
"UnoCSS" "UnoCSS"
], ],
"engines": {
"node": ">=18.12.0",
"pnpm": ">=8.15.0"
},
"scripts": { "scripts": {
"build": "vite build --mode prod", "build": "vite build --mode prod",
"build:test": "vite build --mode test", "build:test": "vite build --mode test",