mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-25 15:28:52 -05:00
135 lines
5.0 KiB
JSON
135 lines
5.0 KiB
JSON
{
|
|
"name": "monorepo-root",
|
|
"private": true,
|
|
"scripts": {
|
|
"bump": "changeset version && pnpm update-manifests",
|
|
"changeset": "changeset",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"prepare": "husky install",
|
|
"pretest": "pnpm run compile-only && pnpm --dir=fixtures run prepareFixtures",
|
|
"lint": "pnpm lint:meta && syncpack list-mismatches && pnpm run lint:ts",
|
|
"lint:ts": "eslint **/src/**/*.ts **/test/**/*.ts",
|
|
"test-main": "pnpm pretest && 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 pretest && 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": "ts-node utils/scripts/src/copy-artifacts.ts",
|
|
"make-release-description": "pnpm --filter=@pnpm/get-release-text run write-release-text",
|
|
"release": "pnpm --filter=@pnpm/exe publish --tag=next-7 --access=public && pnpm publish --filter=!pnpm --filter=!@pnpm/exe --access=public && pnpm publish --filter=pnpm --tag=next-7 --access=public",
|
|
"dev-setup": "pnpm -C=./packages/pnpm/dev link -g"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.9",
|
|
"@babel/plugin-proposal-dynamic-import": "^7.18.6",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@babel/types": "^7.18.9",
|
|
"@changesets/cli": "^2.23.2",
|
|
"@commitlint/cli": "^17.0.3",
|
|
"@commitlint/config-conventional": "^17.0.3",
|
|
"@commitlint/prompt-cli": "^17.0.3",
|
|
"@pnpm/eslint-config": "workspace:*",
|
|
"@pnpm/meta-updater": "0.0.6",
|
|
"@pnpm/registry-mock": "2.20.0",
|
|
"@pnpm/tsconfig": "workspace:*",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/node": "^14.18.22",
|
|
"c8": "^7.12.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.20.0",
|
|
"husky": "^8.0.1",
|
|
"jest": "^28.1.3",
|
|
"lcov-result-merger": "^3.3.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"publish-packed": "^4.1.1",
|
|
"rimraf": "^3.0.2",
|
|
"shx": "^0.3.4",
|
|
"syncpack": "^6.2.1",
|
|
"ts-jest": "28.0.5",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "4.7.4",
|
|
"verdaccio": "^5.13.3"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=7.0.1"
|
|
},
|
|
"packageManager": "pnpm@7.0.0-alpha.1",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"ansi-regex@<5": "^5.0.1",
|
|
"clipanion": "3.2.0-rc.6",
|
|
"glob-parent@3": "^5.1.2",
|
|
"hosted-git-info@<3.0.8": "^3.0.8",
|
|
"hosted-git-info@4": "npm:@zkochan/hosted-git-info@^4.0.2",
|
|
"http-errors": "^1.7.3",
|
|
"istanbul-reports": "npm:@zkochan/istanbul-reports",
|
|
"js-yaml@^4.0.0": "npm:@zkochan/js-yaml@0.0.6",
|
|
"lodash@<4.17.19": "^4.17.9",
|
|
"nopt@5": "npm:@pnpm/nopt@^0.2.1",
|
|
"pkg-fetch": "3.4.1",
|
|
"rimraf@<3": "3",
|
|
"table@^6.0.3": "6.0.4",
|
|
"trim-newlines@1": "^3.0.1",
|
|
"trim@<0.0.3": ">=0.0.3",
|
|
"set-value@<4.0.1": "^4.0.1",
|
|
"validator@<13.7.0": ">=13.7.0",
|
|
"json-schema@<0.4.0": ">=0.4.0",
|
|
"jsdom@<=16.4.0": ">=16.5.0",
|
|
"glob-parent@<6.0.1": ">=6.0.1"
|
|
},
|
|
"packageExtensions": {
|
|
"@babel/parser": {
|
|
"peerDependencies": {
|
|
"@babel/types": "*"
|
|
}
|
|
},
|
|
"@yarnpkg/core": {
|
|
"dependencies": {
|
|
"@types/lodash": "4.14.181"
|
|
}
|
|
},
|
|
"jest-circus": {
|
|
"dependencies": {
|
|
"slash": "3"
|
|
}
|
|
},
|
|
"remark-stringify": {
|
|
"peerDependencies": {
|
|
"unified": "*"
|
|
}
|
|
},
|
|
"remark-parse": {
|
|
"peerDependencies": {
|
|
"unified": "*"
|
|
}
|
|
}
|
|
},
|
|
"neverBuiltDependencies": [
|
|
"core-js",
|
|
"level"
|
|
],
|
|
"peerDependencyRules": {
|
|
"allowedVersions": {
|
|
"eslint": "*",
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
"@yarnpkg/core": "*"
|
|
},
|
|
"ignoreMissing": [
|
|
"@yarnpkg/plugin-patch"
|
|
]
|
|
},
|
|
"patchedDependencies": {
|
|
"pkg@5.7.0": "patches/pkg@5.7.0.patch"
|
|
}
|
|
}
|
|
}
|