mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-31 13:32:18 -04:00
* refactor: break a long line into multiple lines * feat: cache that tracks workspace structures * feat: handle hash collisions * docs(changeset): packages-list-cache * feat(packages-list-cache): store mtime * fix(packages-list-cache): JSON5 and YAML manifests * feat(packages-list-cache): add catalogs * style: sort fields alphabetically * fix: actually fix it * lint: fix * lint: fix * test(packages-list-cache): test * feat(exec): check deps before run scripts Resolves https://github.com/pnpm/pnpm/issues/8585 * style: fix eslint * feat: use a single lastValidatedTimestamp * refactor: rearrange * perf: don't do pointless comparisons * perf: optimize non-workspace * perf: optimize sharedWorkspaceLockfile=false * perf: remove unnecessary fs reads * refactor: statManifestFile * perf: skip comparing manifest to lockfile by stats * feat: add wantedLockfileDir to error message * refactor: shorten a function name * refactor: rename a function * docs: improve wordings * feat: export `linkedPackagesAreUpToDate` * feat: make sure lockfile specs satisfy manifest (wip) * docs: todo * fix: projectId * feat: skip install-related scripts * fix: type errors * refactor: use tagged union * refactor: remove unnecessary type expression * docs: todo * feat: add linkedPackagesAreUpToDate (wip) * refactor: rearrange fields * refactor: remove a temporary variable * feat: export `getWorkspacePackagesByDirectory` * feat: make workspacePackages optional * feat: complete `linkedPackagesAreUpToDate` * docs: remove unapplicable todo * docs: explain why check is skipped * feat: load allProjects and try again * refactor: remove unused dependencies * refactor: remove commented-out code * refactor: replace `else if` with `return` * feat: use-case without workspace manifest * perf: skip unnecessary work * feat: add a guard * fix: eslint * refactor: move code to new package * refactor: sort dependencies * test: outline * refactor: extract assertLockfilesEqual for testing * test: skip failing tests for now * fix: eslint * test: assertLockfilesEqual * refactor: extract statManifestFile for testing * test: todo * test: statManifestFile * test: shouldRunCheck * refactor: rename a test file * test: add * test: todo * docs: remove a commented-out code * test: create groups * test: todo * test: add * test: platform agnostic * test: remove unnecessary scripts * test: use `assert.strictEqual` instead * test: export bin locations * test: nested `pnpm run` * test: todo * test: add `cwd` option to `execPnpmSync` * test: add * fix: recursive * test: add * test: fix package names * fix: catalogs comparison * test: add * refactor: just use ramda filter * test: add * test: mutations * fix: package.json * fix: jest * feat(packages-list): debug logs * feat: add debug messages * fix: eslint * test: check debug messages in other case * docs: add next step * test: mtime updates without modification * docs: correct test description * test: mtime changes * test: check should be skipped * docs: remove fulfilled todos * fix: remove `.only` * docs: todo * docs: correct test names * test: workspace structure changes * test: packages list cache * test: add * refactor: divide a test file into 2 * docs: consistent wordings * refactor: clearer error messages * fix: ignore check in recursive nested scripts * test: no dependencies * test: print error messages on failures * test: improve stdout/stderr in error messages * docs: consistent wordings * docs: clarify what did what * test: nested script * docs: consistent test descriptions * docs(changeset): correction * fix: save catalogs to packages list * test: catalogs * test: fix * test: fix windows * refactor: remove unused option field * refactor: prefer `!= null` * feat: use `node_modules` instead * refactor: rename a package * refactor: apply suggestion * refactor: remove workspaceDir * refactor: move `shouldRunCheck` to `exec` * feat: rename config key * refactor: rename a test dir * refactor: correct grammar * refactor: make loadPackagesList sync * test: multiple lockfiles * feat: prevent deletion of `node_modules` * feat: skip checking on filtered install * fix: accidentally dropping catalogs * refactor: remove unnecessary `Promise.all` * refactor: use `virtualStoreDir` from config * refactor: split `opts` into `ctx` and `opts` * test: fix * style: fix eslint * test: fix windows * feat(exec): add `verifyDepsBeforeRun` to `exec` * refactor: sync stat * feat: stop ignoring filtered install * test: filtered install * refactor: rearrange imports * feat: rename "packages list" to "workspace state" * test: fix * fix: workspace state on failed install
89 lines
2.7 KiB
JSON
89 lines
2.7 KiB
JSON
{
|
|
"name": "@pnpm/plugin-commands-script-runners",
|
|
"version": "12.0.10",
|
|
"description": "Commands for running scripts",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"!*.map"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.12"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7772 jest",
|
|
"test": "pnpm run compile && pnpm run _test",
|
|
"prepublishOnly": "pnpm run compile",
|
|
"start": "tsc --watch",
|
|
"compile": "tsc --build && pnpm run lint --fix"
|
|
},
|
|
"repository": "https://github.com/pnpm/pnpm/blob/main/exec/plugin-commands-script-runners",
|
|
"keywords": [
|
|
"pnpm10",
|
|
"pnpm",
|
|
"scripts"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
},
|
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/exec/plugin-commands-script-runners#readme",
|
|
"devDependencies": {
|
|
"@pnpm/filter-workspace-packages": "workspace:*",
|
|
"@pnpm/logger": "workspace:*",
|
|
"@pnpm/plugin-commands-script-runners": "workspace:*",
|
|
"@pnpm/prepare": "workspace:*",
|
|
"@pnpm/registry-mock": "catalog:",
|
|
"@pnpm/test-ipc-server": "workspace:*",
|
|
"@pnpm/workspace.filter-packages-from-dir": "workspace:*",
|
|
"@types/is-windows": "catalog:",
|
|
"@types/ramda": "catalog:",
|
|
"@types/which": "catalog:",
|
|
"is-windows": "catalog:",
|
|
"write-yaml-file": "catalog:"
|
|
},
|
|
"dependencies": {
|
|
"@pnpm/cli-utils": "workspace:*",
|
|
"@pnpm/command": "workspace:*",
|
|
"@pnpm/common-cli-options-help": "workspace:*",
|
|
"@pnpm/config": "workspace:*",
|
|
"@pnpm/core-loggers": "workspace:*",
|
|
"@pnpm/crypto.hash": "workspace:*",
|
|
"@pnpm/deps.status": "workspace:*",
|
|
"@pnpm/env.path": "workspace:*",
|
|
"@pnpm/error": "workspace:*",
|
|
"@pnpm/lifecycle": "workspace:*",
|
|
"@pnpm/log.group": "catalog:",
|
|
"@pnpm/package-bins": "workspace:*",
|
|
"@pnpm/plugin-commands-env": "workspace:*",
|
|
"@pnpm/plugin-commands-installation": "workspace:*",
|
|
"@pnpm/read-package-json": "workspace:*",
|
|
"@pnpm/read-project-manifest": "workspace:*",
|
|
"@pnpm/sort-packages": "workspace:*",
|
|
"@pnpm/store-path": "workspace:*",
|
|
"@pnpm/types": "workspace:*",
|
|
"@zkochan/rimraf": "catalog:",
|
|
"didyoumean2": "catalog:",
|
|
"execa": "catalog:",
|
|
"p-limit": "catalog:",
|
|
"ramda": "catalog:",
|
|
"realpath-missing": "catalog:",
|
|
"render-help": "catalog:",
|
|
"symlink-dir": "catalog:",
|
|
"which": "catalog:",
|
|
"write-json-file": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"@pnpm/logger": "^5.1.0"
|
|
},
|
|
"funding": "https://opencollective.com/pnpm",
|
|
"exports": {
|
|
".": "./lib/index.js"
|
|
},
|
|
"jest": {
|
|
"preset": "@pnpm/jest-config"
|
|
}
|
|
}
|