mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 22:02:53 -04:00
chore: use pnpm v7
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -29,14 +29,14 @@ jobs:
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2.1.0
|
||||
with:
|
||||
version: 6.31.0
|
||||
version: 7.0.0-alpha.2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: 'pnpm'
|
||||
- name: Install npm@7
|
||||
run: pnpm add --global npm@7
|
||||
run: npm add --global npm@7
|
||||
- name: pnpm install
|
||||
run: pnpm install
|
||||
- name: Audit
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
sudo mv ldid /usr/local/bin
|
||||
- name: install pnpm and npm
|
||||
run: |
|
||||
curl -L https://get.pnpm.io/v6.16.js | node - add --global pnpm@6.31.0 npm@7
|
||||
curl -L https://get.pnpm.io/v6.16.js | node - add --global pnpm@7.0.0-alpha.2 npm@7
|
||||
- name: pnpm install
|
||||
run: pnpm install
|
||||
- name: Publish Packages
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
pnpm run lint -- --quiet
|
||||
pnpm run lint --quiet
|
||||
|
||||
@@ -180,7 +180,7 @@ async function updateManifest (workspaceDir: string, manifest: ProjectManifest,
|
||||
scripts._test += ' --detectOpenHandles'
|
||||
}
|
||||
}
|
||||
scripts.compile = 'tsc --build && pnpm run lint -- --fix'
|
||||
scripts.compile = 'tsc --build && pnpm run lint --fix'
|
||||
delete scripts.tsc
|
||||
let homepage: string
|
||||
let repository: string | { type: 'git', url: string }
|
||||
|
||||
16
package.json
16
package.json
@@ -8,21 +8,21 @@
|
||||
"prepare": "pnpm --dir=verdaccio install && husky install",
|
||||
"pretest": "pnpm run compile-only && pnpm --dir=fixtures run prepareFixtures",
|
||||
"lint": "pnpm lint:meta && syncpack list-mismatches && eslint **/src/**/*.ts **/test/**/*.ts",
|
||||
"test-main": "pnpm pretest && pnpm lint -- --quiet && run-p -r verdaccio test-pkgs-main",
|
||||
"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-branch": "pnpm pretest && pnpm lint --quiet && git remote set-branches --add origin v6 && 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/v6] 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",
|
||||
"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",
|
||||
"lint:meta": "pnpm run meta-updater --test",
|
||||
"copy-artifacts": "ts-node utils/scripts/src/copy-artifacts.ts",
|
||||
"make-release-description": "pnpm run write-release-text --filter @pnpm/get-release-text",
|
||||
"make-release-description": "pnpm --filter=@pnpm/get-release-text run write-release-text",
|
||||
"release": "pnpm --filter=@pnpm/exe publish --tag=next-6 --access=public && pnpm publish --filter=!pnpm --filter=!@pnpm/exe --access=public && pnpm publish --filter=pnpm --tag=next-6 --access=public"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -58,8 +58,9 @@
|
||||
"verdaccio": "^5.5.2"
|
||||
},
|
||||
"engines": {
|
||||
"pnpm": ">=6"
|
||||
"pnpm": ">=7"
|
||||
},
|
||||
"packageManager": "pnpm@7.0.0-alpha.2",
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"@yarnpkg/core": "3.2.0-rc.9",
|
||||
@@ -119,6 +120,5 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.6.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@6.23.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/audit",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/build-modules",
|
||||
"keywords": [
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"prepublishOnly": "pnpm run compile"
|
||||
},
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/calc-dep-state",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/cli-meta",
|
||||
"keywords": [
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"scripts": {
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"test": "pnpm run compile"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/cli-utils",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/client",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/command",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/common-cli-options-help",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"start": "tsc --watch",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/config",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/constants",
|
||||
"keywords": [
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/types": "workspace:7.9.0"
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=4873 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm"
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/default-reporter",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/default-resolver",
|
||||
"keywords": [
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.17"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/dependency-path",
|
||||
"keywords": [
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/directory-fetcher",
|
||||
"engines": {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/error",
|
||||
"keywords": [
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"scripts": {
|
||||
"preinstall": "node setup.js",
|
||||
"prepare": "node prepare.js",
|
||||
"prepublishOnly": "pnpm run compile --filter pnpm && ts-node ./scripts/build-artifacts.ts"
|
||||
"prepublishOnly": "pnpm --filter=pnpm run compile && ts-node ./scripts/build-artifacts.ts"
|
||||
},
|
||||
"keywords": [
|
||||
"pnpm6"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"_test": "jest"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/exportable-manifest",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/fetch",
|
||||
"keywords": [
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/fetcher-base",
|
||||
"keywords": [
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/fetching-types#readme",
|
||||
"scripts": {
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"test": "pnpm run compile"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"_test": "jest",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/file-reporter",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/filter-lockfile",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/filter-workspace-packages",
|
||||
"keywords": [
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/find-packages",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/find-workspace-dir",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/find-workspace-packages",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/get-context",
|
||||
"keywords": [
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/git-fetcher",
|
||||
"engines": {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/git-resolver",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"_test": "jest"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/global-bin-dir",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/graceful-fs",
|
||||
"keywords": [
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"runPrepareFixtures": "node ../pnpm/bin/pnpm.cjs i -r -C test/fixtures --no-shared-workspace-lockfile --no-link-workspace-packages --lockfile-only --registry http://localhost:4873/ --ignore-scripts --force --no-strict-peer-dependencies",
|
||||
"prepareFixtures": "registry-mock prepare && run-p -r registry-mock runPrepareFixtures",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/build-modules": "workspace:8.0.1",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/constants": "workspace:5.0.0",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/lifecycle",
|
||||
"keywords": [
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json --project . --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/link-bins",
|
||||
"keywords": [
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepareFixtures": "cd test && node ../../pnpm recursive install --no-link-workspace-packages --no-shared-workspace-lockfile -f && cd ..",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"pretest": "pnpm run pretest --filter dependencies-hierarchy",
|
||||
"pretest": "pnpm run --filter dependencies-hierarchy pretest",
|
||||
"_test": "pnpm pretest && jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/list",
|
||||
"keywords": [
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/local-resolver",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/lockfile-file",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"_test": "jest",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/lockfile-to-pnp",
|
||||
"keywords": [
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/lockfile-types#readme",
|
||||
"scripts": {
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"prepublishOnly": "pnpm run compile"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/lockfile-utils",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/lockfile-walker",
|
||||
"keywords": [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/make-dedicated-lockfile",
|
||||
"keywords": [
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/core-loggers": "workspace:6.1.3",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/matcher",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/merge-lockfile-changes",
|
||||
"keywords": [
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/core-loggers": "workspace:6.1.3",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/modules-yaml",
|
||||
"keywords": [
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"pretest": "pnpm install --dir=test/__fixtures__/simple",
|
||||
"_test": "pnpm pretest && jest",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/mount-modules",
|
||||
"keywords": [
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/types": "workspace:7.9.0",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pnpm/npm-registry-agent": "workspace:5.0.2",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/npm-resolver",
|
||||
"keywords": [
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"test:jest": "jest",
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7771 pnpm run test:e2e",
|
||||
"test:e2e": "registry-mock prepare && run-p -r registry-mock test:jest",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/outdated",
|
||||
"keywords": [
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"fix": "tslint -c tslint.json --project . --fix",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/package-bins",
|
||||
"keywords": [
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/core-loggers": "workspace:6.1.3",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7772 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"registry-mock": "registry-mock",
|
||||
"test:jest": "jest",
|
||||
"test:e2e": "registry-mock prepare && run-p -r registry-mock test:jest"
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
"_test": "pnpm pretest && jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm"
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"start": "tsc --watch",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/parse-cli-args",
|
||||
"keywords": [
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/parse-overrides#readme",
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"validate-npm-package-name": "3.0.0"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/types": "workspace:7.9.0"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/pkgs-graph",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"update-responses": "ts-node test/utils/responses/update.ts"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-audit",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-env",
|
||||
"keywords": [
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7773 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-installation",
|
||||
"keywords": [
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7774 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-listing",
|
||||
"keywords": [
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7775 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-outdated",
|
||||
"keywords": [
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7776 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-publishing",
|
||||
"keywords": [
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7777 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-rebuild",
|
||||
"keywords": [
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"start": "tsc --watch",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-script-runners",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-server",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-setup",
|
||||
"keywords": [
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7779 pnpm run test:e2e",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-store",
|
||||
"keywords": [
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm compile && npm cache clear --force && publish-packed --prune --npm-client=pnpm --dest=dist",
|
||||
"postpublish": "publish-packed",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix && rimraf dist bin/nodes && pnpm run bundle && shx cp -r node-gyp-bin dist/node-gyp-bin && shx cp -r node_modules/@pnpm/tabtab/lib/scripts dist/scripts && shx cp -r node_modules/ps-list/vendor dist/vendor && shx cp pnpmrc dist/pnpmrc"
|
||||
"compile": "tsc --build && pnpm run lint --fix && rimraf dist bin/nodes && pnpm run bundle && shx cp -r node-gyp-bin dist/node-gyp-bin && shx cp -r node_modules/@pnpm/tabtab/lib/scripts dist/scripts && shx cp -r node_modules/ps-list/vendor dist/vendor && shx cp pnpmrc dist/pnpmrc"
|
||||
},
|
||||
"publishConfig": {
|
||||
"tag": "next-6",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { promises as fs } from 'fs'
|
||||
import { promises as fs, mkdirSync } from 'fs'
|
||||
import path from 'path'
|
||||
import PATH_NAME from 'path-name'
|
||||
import prepare, { preparePackages } from '@pnpm/prepare'
|
||||
import { execPnpm, execPnpmSync } from './utils'
|
||||
|
||||
@@ -80,8 +81,17 @@ test('silent run only prints the output of the child process', async () => {
|
||||
|
||||
test('silent dlx prints the output of the child process only', async () => {
|
||||
prepare({})
|
||||
const global = path.resolve('..', 'global')
|
||||
const pnpmHome = path.join(global, 'pnpm')
|
||||
mkdirSync(global)
|
||||
|
||||
const result = execPnpmSync(['--silent', 'dlx', 'shx', 'echo', 'hi'])
|
||||
const env = {
|
||||
[PATH_NAME]: `${pnpmHome}${path.delimiter}${process.env[PATH_NAME]}`, // eslint-disable-line
|
||||
PNPM_HOME: pnpmHome,
|
||||
XDG_DATA_HOME: global,
|
||||
}
|
||||
|
||||
const result = execPnpmSync(['--silent', 'dlx', 'shx', 'echo', 'hi'], { env })
|
||||
|
||||
expect(result.stdout.toString().trim()).toBe('hi')
|
||||
})
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/pnpmfile",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/prepare-package",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/prune-lockfile",
|
||||
"keywords": [
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/pnpm/pnpm/issues"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/read-package-json",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/read-project-manifest",
|
||||
"keywords": [
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/lockfile-file": "workspace:4.2.6",
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/lockfile-utils": "workspace:3.2.0",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/core-loggers": "workspace:6.1.3",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/render-peer-issues#readme",
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"lint": "eslint src/**/*.ts test/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix",
|
||||
"compile": "tsc --build && pnpm run lint --fix",
|
||||
"_test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"test": "pnpm run compile",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"semver": "^7.3.4"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/resolver-base",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/run-npm",
|
||||
"keywords": [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"_test": "jest --detectOpenHandles",
|
||||
"test": "pnpm run compile && pnpm run _test",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/server",
|
||||
"keywords": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"test": "pnpm run compile",
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint -- --fix"
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/sort-packages",
|
||||
"keywords": [
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user