chore: support pnpm (#5367)
parent
7127a5d816
commit
cec9414d5c
|
@ -62,6 +62,7 @@ es
|
||||||
_site
|
_site
|
||||||
yarn.lock
|
yarn.lock
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
pnpm-lock.yaml
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
# 备份文件
|
# 备份文件
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
"pretest": "npm run version",
|
"pretest": "npm run version",
|
||||||
"predist": "npm run version",
|
"predist": "npm run version",
|
||||||
"presite": "npm run version",
|
"presite": "npm run version",
|
||||||
"dev": "yarn predev && yarn routes && vite serve site",
|
"dev": "npm run predev && npm run routes && vite serve site",
|
||||||
"test": "cross-env NODE_ENV=test jest --config .jest.js",
|
"test": "cross-env NODE_ENV=test jest --config .jest.js",
|
||||||
"compile": "node antd-tools/cli/run.js compile",
|
"compile": "node antd-tools/cli/run.js compile",
|
||||||
"generator-webtypes": "tsc -p antd-tools/generator-types/tsconfig.json && node antd-tools/generator-types/index.js",
|
"generator-webtypes": "tsc -p antd-tools/generator-types/tsconfig.json && node antd-tools/generator-types/index.js",
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
"routes": "node site/scripts/genrateRoutes.js",
|
"routes": "node site/scripts/genrateRoutes.js",
|
||||||
"tsc": "tsc --noEmit",
|
"tsc": "tsc --noEmit",
|
||||||
"vue-tsc": "vue-tsc --noEmit",
|
"vue-tsc": "vue-tsc --noEmit",
|
||||||
"site": "yarn routes && ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/",
|
"site": "npm run routes && ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/",
|
||||||
"pub:site": "npm run site && node site/scripts/pushToOSS.js",
|
"pub:site": "npm run site && node site/scripts/pushToOSS.js",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"version": "node ./scripts/generate-version",
|
"version": "node ./scripts/generate-version",
|
||||||
|
@ -169,6 +169,7 @@
|
||||||
"fetch-jsonp": "^1.1.3",
|
"fetch-jsonp": "^1.1.3",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
|
"globby": "^11.1.0",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"gulp": "^4.0.1",
|
"gulp": "^4.0.1",
|
||||||
"gulp-babel": "^8.0.0",
|
"gulp-babel": "^8.0.0",
|
||||||
|
@ -266,6 +267,7 @@
|
||||||
"@ant-design/colors": "^6.0.0",
|
"@ant-design/colors": "^6.0.0",
|
||||||
"@ant-design/icons-vue": "^6.1.0",
|
"@ant-design/icons-vue": "^6.1.0",
|
||||||
"@babel/runtime": "^7.10.5",
|
"@babel/runtime": "^7.10.5",
|
||||||
|
"@ctrl/tinycolor": "^3.4.0",
|
||||||
"@simonwep/pickr": "~1.8.0",
|
"@simonwep/pickr": "~1.8.0",
|
||||||
"array-tree-filter": "^2.1.0",
|
"array-tree-filter": "^2.1.0",
|
||||||
"async-validator": "^4.0.0",
|
"async-validator": "^4.0.0",
|
||||||
|
|
Loading…
Reference in New Issue