Zoltan Kochan
b7d9301e4b
fix(exec): wait for the child process to close
2025-07-18 23:24:49 +02:00
modten
36d1448c48
feat: add workspace-concurrency cli option for pack and publish command ( #9493 )
...
* refactor: set the default `workspaceConcurrency` to `Math.min(os.availableParallelism(), 4)`
* feat(plugin-commands-publishing): add `workspace-concurrency` cli option for pack and publish
* feat(recursive): add support for `recursive pack`
* feat: get default workspaceConcurrency from config package
* test(config): mock cpus to support Node.js 18
2025-05-09 10:30:21 +02:00
Khải
c96eb2b042
fix(lifecycle): skip verify for install hooks ( #8957 )
...
close #8954
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-01-10 23:14:27 +01:00
Zoltan Kochan
4dd27a894f
feat: add an option to install dependencies before running scripts ( #8781 )
2024-11-25 09:02:12 +01:00
btea
ef7c10221c
fix: pnpm exec should specify command ( #8774 )
2024-11-17 17:07:32 +01:00
Khải
19d5b51558
feat(exec): check dependencies before running scripts ( #8645 )
...
* 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
2024-11-15 01:01:09 +01:00
btea
9797a1e889
refactor: remove useless parameters from the catch statement ( #8583 )
2024-09-29 12:08:48 +02:00
Khải
87a98af40e
docs(exec): add more options to exec's help ( #8564 )
...
close #8520
2024-09-24 09:44:13 +02:00
Khải
24ad47cfb8
refactor: replace array.reduce ( #8537 )
2024-09-18 04:41:35 +02:00
Khải
0ffb3adcfe
feat(exec): add missing support for executionEnv ( #8411 )
...
close #8356
2024-08-13 01:51:36 +02:00
Khải
12b0eaad8a
refactor: extract ExecOpts ( #8412 )
2024-08-12 19:49:19 +02:00
Zoltan Kochan
26b065c193
feat: automatically switch to the right pnpm version ( #8363 )
...
close #8360
2024-08-06 21:59:43 +02:00
Zoltan Kochan
a2e9bdcc02
refactor: remove path-exists from tests
2024-07-08 17:51:23 +02:00
Zoltan Kochan
0406d4ad3d
refactor: use a branded type for project root dir paths ( #8272 )
2024-07-04 13:13:34 +02:00
Zoltan Kochan
dd00eeb18c
refactor: normalize dir field names across project objects ( #8262 )
2024-07-01 11:27:04 +02:00
Zoltan Kochan
13e55b2865
fix: a filtered install should update the lockfile first ( #8183 )
...
close #8165
2024-06-12 14:49:39 +02:00
Khải
271386f0a0
feat(exec): default reporterHidePrefix to true ( #8176 )
...
close #8174
2024-06-06 11:19:14 +02:00
Khải
bc0618cf19
feat(exec): log prefix ( #8151 )
...
close #8065
2024-06-03 01:25:21 +02:00
Khải
2786b549d9
chore(eslint): explicit-module-boundary-types ( #7926 )
2024-04-14 13:37:50 +02:00
Khải
a8bc9902b6
refactor(exec): type checking perf ( #7911 )
2024-04-13 00:18:14 +02:00
Nacho Aldama
1a3449e940
feat: support node-options in .npmrc file ( #7601 )
...
сlose #7596
2024-02-01 13:21:03 +01:00
Zoltan Kochan
99fd38bf2b
style: fix
2023-12-14 20:29:52 +01:00
Khải
ce3f1712b2
fix: misleading "command not found" error message ( #6952 )
...
It was caused by `which` not working correctly
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-08-17 16:44:44 +03:00
Khải
c5fbdb55c2
feat: friendlier error message when command not found ( #6887 )
...
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-08-04 03:18:34 +03:00
Zoltan Kochan
4b97f1f07a
perf: don't use await inside loops ( #6617 )
2023-06-05 12:12:47 +03:00
Josh Goldberg ✨
ee429b300b
feat: expanded missing command error, including 'did you mean' ( #6496 )
...
close #6492
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-05-15 03:22:26 +03:00
Zoltan Kochan
ee61ca4cb7
style: update eslint ( #6236 )
2023-03-18 14:57:29 +02:00
await-ovo
0377d93678
feat: add --report-summary option for pnpm exec and pnpm run ( #6098 )
...
close #6008
2023-02-20 03:36:35 +02:00
await-ovo
8ecbcafdd5
fix(plugin-commands-script-runners): support directory with path delimiter when running local bin ( #5874 )
...
close #5846
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-01-08 18:09:03 +02:00
Zoltan Kochan
640f4666c7
fix: the help of the run command should list --resume-from
2023-01-04 03:31:06 +02:00
await-ovo
da15828ec5
feat(plugin-commands-script-runners): support --resume-from for pnpm exec command ( #5856 )
...
close #4690
2023-01-02 12:08:20 +02:00
Zoltan Kochan
4ca53b0b50
refactor: group projects in different subdirectories ( #5659 )
2022-11-20 01:35:22 +02:00