chore: use pnpm for workspace management

This commit is contained in:
Alvis HT Tang 2023-06-10 10:50:25 +01:00
parent bc498596b8
commit 2a87e456b0
1 changed files with 4 additions and 6 deletions

View File

@ -28,8 +28,6 @@
"coverage": "run coverage --", "coverage": "run coverage --",
"lint": "run lint --", "lint": "run lint --",
"prepublishOnly": "run prepare && run prepublishOnly", "prepublishOnly": "run prepare && run prepublishOnly",
"release": "run-s release:peer:*",
"release:peer:presetter": "npm pkg set peerDependencies.presetter=^$(npx -c 'echo $npm_package_version')",
"test": "run test --", "test": "run test --",
"watch": "run watch --" "watch": "run watch --"
}, },
@ -40,7 +38,7 @@
"@rollup/plugin-json": "^4.0.0", "@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-yaml": "^3.0.0", "@rollup/plugin-yaml": "^3.0.0",
"presetter": "^3.5.5", "presetter": "workspace:*",
"rollup": "^2.0.0", "rollup": "^2.0.0",
"rollup-plugin-postcss": "^4.0.0", "rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-ts": "^3.0.0", "rollup-plugin-ts": "^3.0.0",
@ -48,10 +46,10 @@
"rollup-plugin-visualizer": "^5.0.0" "rollup-plugin-visualizer": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"presetter": "file:../presetter", "presetter": "workspace:*"
"type-fest": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"presetter-types": "file:../types" "presetter-types": "workspace:*",
"type-fest": "^2.0.0"
} }
} }