Khải
c8341cca57
feat: pnpm add option to add new entries to catalogs ( #9484 )
...
close #9425
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-05-14 18:32:05 +02:00
Zoltan Kochan
789e7235ce
chore(release): 10.11.0
2025-05-13 16:01:19 +02:00
Khải
6627b95cf8
test: correct some assertions ( #9494 )
2025-05-06 22:14:20 +02:00
Zoltan Kochan
09cf46f67b
fix: update @pnpm/logger in peer dependencies ( #9466 )
2025-04-29 11:52:01 +02:00
Zoltan Kochan
7ab633d94b
chore(release): 10.10.0
2025-04-28 01:02:54 +02:00
Zoltan Kochan
734973bf88
fix: don't add blank lines to pnpm-workspace.yaml
2025-04-25 13:01:54 +02:00
btea
2bcb40247c
refactor: workspace setting sorted by key ( #9453 )
...
* refactor: workspace setting sorted by key
* fix: always put the packages field as the first one in pnpm-workspace.yaml
* docs: add changeset
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-04-25 12:51:15 +02:00
Zoltan Kochan
a4ba06ddc9
chore(release): 10.9.0
2025-04-21 10:13:38 +02:00
Zoltan Kochan
8a9f3a4835
refactor: rename pref to bare specifier ( #9445 )
2025-04-20 22:58:08 +02:00
Khải
3b0b740e87
refactor: use toMatchObject ( #9431 )
2025-04-18 18:00:18 +02:00
Zoltan Kochan
f337e7182f
chore(release): 10.8.1
2025-04-14 12:52:42 +02:00
Zoltan Kochan
6574546eee
chore(release): 10.8.0
2025-04-07 18:21:12 +02:00
Zoltan Kochan
ead11ad8ec
fix(manifest-writer): don't wrap lines in pnpm-workspace.yaml
2025-04-05 14:44:21 +02:00
Zoltan Kochan
307b2cff01
chore(release): 10.7.1
2025-04-03 01:20:41 +02:00
Zoltan Kochan
bd4caa5051
chore(release): 10.7.0
2025-03-26 11:56:11 +01:00
Zoltan Kochan
b82e91db0a
Merge remote-tracking branch 'origin/v10'
2025-03-26 11:47:00 +01:00
Zoltan Kochan
8425092e57
test: removing settings from pnpm-workspace.yaml ( #9310 )
2025-03-23 15:47:00 +01:00
btea
3a90ec1f8f
feat: config delete local should delete setting in pnpm-workspace.yaml ( #9317 )
...
* feat: config delete local should delete setting in pnpm-workspace.yaml
* refactor: removing settings from pnpm-workspace.yaml
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-03-23 02:28:43 +01:00
Zoltan Kochan
f19cbc27ac
chore(release): 10.6.5
2025-03-19 14:20:12 +01:00
Zoltan Kochan
cae084888c
chore(release): 10.6.4
2025-03-17 14:46:34 +01:00
Zoltan Kochan
9904675e87
fix(deps): @pnpm/logger should be a peer dependency
2025-03-15 14:01:35 +01:00
Zoltan Kochan
942de71d5d
chore(release): 10.6.3
2025-03-13 15:04:57 +01:00
Zoltan Kochan
65da4d9e6a
chore(release): 10.6.2
2025-03-10 03:15:12 +01:00
Zoltan Kochan
a2d46b4570
chore(release): 10.6.1
2025-03-07 02:29:19 +01:00
Zoltan Kochan
86ff415755
chore(release): 10.6.0
2025-03-06 12:09:26 +01:00
btea
adb236f1a1
refactor: improve regexp ( #9203 )
2025-03-02 13:17:09 +01:00
Zoltan Kochan
5e78da2d57
style: order the keys in package.json files
2025-03-01 21:45:13 +01:00
Zoltan Kochan
70d565cf79
chore(release): 10.5.1
2025-02-26 12:56:43 +01:00
btea
69f922a750
feat: support check more invalid workspace file ( #9173 )
...
close #9170
2025-02-26 12:21:11 +01:00
R.P. Pedraza
23754c7a3d
fix: updateWorkspaceManifest not writing to manifest file ( #9171 )
...
* fix: updateWorkspaceManifest not writing to manifest file
close #9168
* fix: updating fields in pnpm-workspace.yaml
* refactor: import statement
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-26 11:42:28 +01:00
Zoltan Kochan
0e9fff7bef
chore(release): 10.5.0
2025-02-25 12:27:14 +01:00
Khải
e32b1a29e9
feat: update injected packages after run ( #9100 )
...
* feat: update injected packages after run (wip)
close #9081
* refactor: rename field
* feat: injectedPackages (wip)
* feat: findInjectedPackages (wip)
* feat: complete implementation
* test: findInjectedPackages
* docs: changeset
* refactor: be lazy
* chore: set `version` to `1000.0.0-0`
* feat: use hardlinks for injected packages
* refactor: just use `.modules.yaml`
* feat: debug logger
* refactor: `modulesDir` is unnecessary
* test: shouldUpdateInjectedFilesAfterRun
* fix(test): remove the test command
* test: updateInjectedPackagesAfterRun
* fix: eslint
* feat: rename config
* perf: diff to reduce fs operations
* perf: load source map only once
* chore(deps): remove unused dependencies
* fix: eslint
* refactor: use `symlink-dir`
* refactor: move type expr to an alias
* refactor: simplify types
* feat: reuse stats from the directory fetcher
* test: directories and symlinks
* feat: sort alphabetic
* test: diffDir
* test: rename a test
* test: remove nesting
* refactor: rename
* feat: remove buggy symlink support
* test: applyPatch
* docs: correct
* docs: fix
* test: extendFilesMap
* docs: remove outdated comment
* docs: remove unneeded comment
* test: fix
* test: more assertions
* test: DirPatcher
* test: more assertions
* test: more assertions
* test: just use `createDir`
* test: multiple patchers
* test: reuse stat results
* docs: consistent grammar
* test: workaround
* test: fix windows
* refactor: remove single-use `makeParent`
* refactor: remove nonsense test
How could I even misunderstand my own code?!
`Patcher.apply()` will never call stat on the files because they have all
been loaded to calculate `Patcher.patch`.
This test is therefore nonsense.
* feat: rename
* feat: rename again
* feat: remove `boolean`
* fix: broken lockfile
* test: use a fixture for testing sync injected deps
* test: refactor syne injected deps test
* test: refactor sync injected deps test
* test: refactor sync injected deps test
* refactor: rename injected deps to syncer
* refactor: change injected deps logger
* docs: update changeset
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-24 02:09:45 +01:00
Zoltan Kochan
8fcc221394
feat: reading settings from pnpm-workspace.yaml ( #9121 )
...
Related discussion: https://github.com/orgs/pnpm/discussions/9037
close #9033
2025-02-22 02:10:43 +01:00
Zoltan Kochan
ee72c62db9
chore(release): 10.4.1
2025-02-16 22:37:26 +01:00
Zoltan Kochan
2a6b51f483
chore(release): 10.4.0
2025-02-14 01:18:32 +01:00
Zoltan Kochan
1dc2804f7a
chore(release): 10.3.0
2025-02-11 00:34:43 +01:00
Zoltan Kochan
97e0f5da61
chore(release): 10.2.0
2025-02-03 18:32:38 +01:00
Zoltan Kochan
c5a0b9ea43
chore(release): 10.1.0
2025-01-26 22:26:45 +01:00
Khải
9a44e6ce87
fix(deploy): inherit pnpm from the root manifest ( #8991 )
...
* fix(deploy): inherit `pnpm` from the root manifest
* fix: eslint
* refactor: share code
* test: add
* fix: eslint
* fix: remove duplicate dep from package.json
2025-01-26 17:26:16 +01:00
Zoltan Kochan
42ecf04fd0
chore(release): 10.0.0
2025-01-07 15:28:17 +01:00
Zoltan Kochan
c5080ded56
chore(release): 10.0.0-rc.3
2025-01-05 13:26:28 +01:00
Zoltan Kochan
9591a18d96
feat: configurational dependencies ( #8915 )
...
* feat: configuration dependencies
* feat: remove configuration dependencies
* feat: update configuration dependencies
* feat: configuration dependencies fast check on repeat install
* revert: comment
* refactor: install configurational deps
* refactor: install config deps
* refactor: install config deps
* test: config deps
* test: config deps
* docs: add changeset
* test: loading a pnpmfile from config deps
* fix: reading hooks after installing config deps
* test: fix
* test: fix
* test: fix
* test: fix
* test: loading patch from config dep
* fix: do not allow config deps w/o integrity checksum
2025-01-04 11:29:22 +01:00
Zoltan Kochan
e103abe941
chore(release): 10.0.0-rc.2
2024-12-29 02:47:35 +01:00
Zoltan Kochan
b27e7f553a
chore(release): 10.0.0-rc.1
2024-12-27 14:20:04 +01:00
Zoltan Kochan
3278c588cd
chore(release): 10.0.0-rc.0
2024-12-16 02:31:45 +01:00
Zoltan Kochan
d47c4266db
perf: faster repeat install ( #8838 )
2024-12-08 23:42:33 +01:00
Zoltan Kochan
3fe70e7897
refactor!: all lib versions should start with pnpm major version
2024-11-29 01:04:45 +01:00
Zoltan Kochan
9fcc7e808e
chore(release): 10.0.0-beta.0
2024-11-28 12:35:01 +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
Zoltan Kochan
26a910cbf8
chore(release): 10.0.0-alpha.0
2024-10-28 04:16:49 +01:00