mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-05 12:41:44 -05:00
100 lines
4.1 KiB
JSON
100 lines
4.1 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"bump": "changeset version && pnpm update-manifests",
|
|
"changeset": "changeset",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"prepare": "pnpm --dir=verdaccio install && pnpm --dir=fixtures run prepareFixtures && husky install",
|
|
"lint": "pnpm lint:meta && syncpack list-mismatches && eslint --config=eslint.json **/src/**/*.ts **/test/**/*.ts",
|
|
"test-main": "pnpm compile-only && pnpm lint -- --quiet && run-p -r verdaccio test-pkgs-main",
|
|
"remove-temp-dir": "shx rm -rf ../pnpm_tmp",
|
|
"test-pkgs-main": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --filter=./packages --filter=./privatePackages run --no-sort --workspace-concurrency=2 _test",
|
|
"test-branch": "pnpm compile-only && pnpm lint -- --quiet && git remote set-branches --add origin main && git fetch && run-p -r verdaccio test-pkgs-branch",
|
|
"test-pkgs-branch": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --filter=...[origin/main] run --no-sort _test",
|
|
"verdaccio": "verdaccio --config=./verdaccio.yaml --listen=7348",
|
|
"compile-only": "pnpm --workspace-concurrency=1 --filter=pnpm --filter=@pnpm/make-dedicated-lockfile --filter=@pnpm/mount-modules run compile",
|
|
"compile": "pnpm compile-only && pnpm run update-manifests",
|
|
"watch": "pnpm --filter=@pnpm/fetch run compile && pnpm --filter=pnpm run compile -- --watch",
|
|
"make-lcov": "shx mkdir -p coverage && lcov-result-merger './packages/*/coverage/lcov.info' 'coverage/lcov.info'",
|
|
"update-manifests": "pnpm run meta-updater && pnpm install",
|
|
"meta-updater": "pnpm --filter=@pnpm-private/updater compile && pnpm --config.use-node-version=16.4.0 exec meta-updater",
|
|
"lint:meta": "pnpm run meta-updater -- --test",
|
|
"copy-artifacts": "shx rm -rf dist && shx mkdir dist && shx cp packages/artifacts/linux-x64/pnpm dist/pnpm-linux-x64 && shx cp packages/artifacts/linuxstatic-x64/pnpm dist/pnpm-linuxstatic-x64 && shx cp packages/artifacts/macos-x64/pnpm dist/pnpm-macos-x64 && shx cp packages/artifacts/macos-arm64/pnpm dist/pnpm-macos-arm64 && shx cp packages/artifacts/win-x64/pnpm.exe dist/pnpm-win-x64.exe",
|
|
"make-release-description": "pnpm run write-release-text --filter @pnpm/get-release-text"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.0",
|
|
"@changesets/cli": "^2.16.0",
|
|
"@commitlint/cli": "^12.1.1",
|
|
"@commitlint/config-conventional": "^12.1.1",
|
|
"@commitlint/prompt-cli": "^12.1.1",
|
|
"@pnpm/eslint-config": "workspace:*",
|
|
"@pnpm/meta-updater": "0.0.6",
|
|
"@pnpm/registry-mock": "^2.6.1",
|
|
"@pnpm/tsconfig": "workspace:*",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/node": "^14.14.33",
|
|
"c8": "^7.7.2",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^7.25.0",
|
|
"husky": "^6.0.0",
|
|
"jest": "^27.0.1",
|
|
"lcov-result-merger": "^3.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"publish-packed": "^4.0.1",
|
|
"rimraf": "^3.0.2",
|
|
"shx": "^0.3.3",
|
|
"syncpack": "^5.7.11",
|
|
"ts-jest": "27.0.1",
|
|
"ts-node": "^10.0.0",
|
|
"typescript": "^4.3.2",
|
|
"verdaccio": "^5.1.0",
|
|
"yarn": "^1.22.10"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=6"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"glob-parent@3": "^5.1.2",
|
|
"hosted-git-info@<3.0.8": "^3.0.8",
|
|
"http-errors": "^1.7.3",
|
|
"istanbul-reports": "npm:@zkochan/istanbul-reports",
|
|
"js-yaml@^4.0.0": "npm:@zkochan/js-yaml@0.0.5",
|
|
"lodash@<4.17.19": "^4.17.9",
|
|
"nopt@5": "npm:@pnpm/nopt@^0.2.1",
|
|
"pkg-fetch": "3.1.1",
|
|
"rimraf@<3": "3",
|
|
"table@^6.0.3": "6.0.4",
|
|
"trim-newlines@1": "^3.0.1",
|
|
"trim@<0.0.3": ">=0.0.3"
|
|
},
|
|
"packageExtensions": {
|
|
"@babel/parser": {
|
|
"peerDependencies": {
|
|
"@babel/types": "*"
|
|
}
|
|
},
|
|
"jest-circus": {
|
|
"dependencies": {
|
|
"slash": "3"
|
|
}
|
|
},
|
|
"remark-stringify": {
|
|
"peerDependencies": {
|
|
"unified": "*"
|
|
}
|
|
},
|
|
"remark-parse": {
|
|
"peerDependencies": {
|
|
"unified": "*"
|
|
}
|
|
}
|
|
},
|
|
"neverBuiltDependencies": [
|
|
"core-js",
|
|
"level"
|
|
]
|
|
}
|
|
}
|