chore: Migrate from npm to pnpm for better performance

This commit is contained in:
Peng-YM 2022-07-05 12:18:53 +08:00
parent fdbcce8932
commit b1151859b3
6 changed files with 9811 additions and 11038 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11031
backend/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm",
"test": "gulp peggy && npx cross-env BABEL_ENV=test mocha src/test/**/*.spec.js --require @babel/register --recursive", "test": "gulp peggy && npx cross-env BABEL_ENV=test mocha src/test/**/*.spec.js --require @babel/register --recursive",
"serve": "node sub-store.min.js", "serve": "node sub-store.min.js",
"start": "nodemon --exec node_modules/.bin/babel-node src/main.js", "start": "nodemon --exec node_modules/.bin/babel-node src/main.js",
@ -44,7 +45,6 @@
"peggy": "^2.0.1", "peggy": "^2.0.1",
"prettier": "2.6.2", "prettier": "2.6.2",
"prettier-plugin-sort-imports": "^1.6.1", "prettier-plugin-sort-imports": "^1.6.1",
"through2": "^4.0.2",
"tinyify": "^3.0.0" "tinyify": "^3.0.0"
} }
} }

9804
backend/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long