Zoltan Kochan
453a18accd
fix: update @pnpm/patch-package to v0.0.1
2025-02-27 18:36:01 +01:00
Zoltan Kochan
716c4b727d
fix: update rename-overwrite to v6.0.2
2025-02-27 17:51:13 +01:00
Zoltan Kochan
fcb01a12b1
chore(release): 10.5.2
v10.5.2
2025-02-27 02:23:17 +01:00
Zoltan Kochan
c3348344fd
fix: config set should be global by default ( #9185 )
...
close #9177
2025-02-27 02:21:50 +01:00
co63oc
c2a0019752
test(config): fix typo ( #9186 )
2025-02-27 02:17:40 +01:00
Zoltan Kochan
d3591aae02
chore: move overrides to pnpm-workspace.yaml
2025-02-26 14:26:09 +01:00
Zoltan Kochan
2d47f2ecff
chore: update pnpm to v10.5.1
2025-02-26 13:15:03 +01:00
Zoltan Kochan
70d565cf79
chore(release): 10.5.1
v10.5.1
2025-02-26 12:56:43 +01:00
Zoltan Kochan
0b31bf00d8
fix: dlx should ignore settings from package.json ( #9179 )
...
close #9178
close #9174
2025-02-26 12:55:17 +01:00
btea
69f922a750
feat: support check more invalid workspace file ( #9173 )
...
close #9170
2025-02-26 12:21:11 +01:00
Zoltan Kochan
1c2eb8c311
fix: setting overrides in pnpm-workspace.yaml ( #9176 )
2025-02-26 12:03:04 +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
R.P. Pedraza
76973d8c81
feat(link): normalize generated link paths in package.json ( #9163 )
2025-02-26 02:56:59 +01:00
Ben McCann
e88216c92f
chore: upgrade cspell ( #9164 )
...
* chore: upgrade cspell
* chore: fix eslint warning to get past pre-push check
* fix: use lex-comparator for sorting
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-25 20:22:05 +01:00
Zoltan Kochan
ffddb165ec
chore: move pnpm settings to pnpm-workspace.yaml
2025-02-25 13:40:12 +01:00
Zoltan Kochan
b5bb1275e7
chore: update pnpm to v10.5
2025-02-25 13:35:16 +01:00
Zoltan Kochan
bc0d00f46c
chore: remove pnpm from dev dependencies of make-dedicated-lockfile
v10.5.0
2025-02-25 12:57:59 +01:00
Zoltan Kochan
0e9fff7bef
chore(release): 10.5.0
2025-02-25 12:27:14 +01:00
R.P. Pedraza
b352d2a342
fix: pnpm link: imply global mode when no arguments are specified ( #9151 )
...
This adds a special treatment to the link command in main.ts
close #4296
2025-02-25 11:40:36 +01:00
Naru
48b487177e
fix: allow scope registry cli option without --config. prefix ( #9089 )
...
close #9084 .
close #9085
2025-02-25 02:29:39 +01:00
R.P. Pedraza
529696182f
fix: reference root manifest directory instead of the dependent dir ( #9132 )
...
* fix: reference root manifest directory instead of the dependent dir
This fixes https://github.com/pnpm/pnpm/issues/9066 .
* refactor: link test
* docs: add changeset
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-25 02:15:38 +01:00
Brandon Cheng
41dada429b
fix: catalog snapshots removed on filtered install with --fix-lockfile ( #9152 )
...
close #8639
2025-02-24 02:41:27 +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
Brandon Cheng
5df8de7180
fix: avoid printing undefined for package version when reporting error ( #9153 )
2025-02-24 00:21:21 +01:00
Brandon Cheng
43681529cf
refactor: make frozen install logic clearer ( #9148 )
...
* refactor: declare interface for `_install` function result
* refactor: create new function for attempting frozen install
* refactor: early return if frozen-like install is not possible
* refactor: early return in frozenInstall() for empty/missing lockfile
* refactor: return `null` from tryFrozenInstall() if attempt failed
* refactor: add comments to `isFrozenInstallPossible`
* refactor: move tryFrozenInstall out from _install
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-23 13:34:07 +01:00
Brandon Cheng
2d16f7a4a9
fix: stale catalog protocol reference on filtered install ( #9126 )
...
#8638
2025-02-22 13:22:36 +01:00
btea
70f25a32a5
test(config): fix description of test ( #9145 )
2025-02-22 03:34:24 +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
Khải
428915cd9d
refactor(directory-fetcher): change return types ( #9133 )
2025-02-18 17:54:18 +01:00
Zoltan Kochan
0d4e6cc0f5
chore: update esbuild to v0.25
2025-02-17 15:08:53 +01:00
Zoltan Kochan
0332bfcd81
chore: update pnpm to v10.4.1
2025-02-17 01:23:16 +01:00
Zoltan Kochan
ee72c62db9
chore(release): 10.4.1
v10.4.1
2025-02-16 22:37:26 +01:00
btea
546ab377de
fix: --allow-build=<pkg> overlaps with ignoredBuiltDependencies ( #9105 )
...
* fix: `--allow-build=<pkg>` overlaps with `ignoredBuiltDependencies`
* feat: update
* fix: update
* test: update
* fix: add hint to the error message
* test: fix
* docs: update changeset
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-16 22:07:52 +01:00
Zoltan Kochan
3a71df0588
refactor: use lex-comparator
2025-02-16 14:29:23 +01:00
btea
758067b3c8
refactor: use @pnpm/object.key-sorting ( #9120 )
...
* refactor: use @pnpm/object.key-sorting
* chore: update
2025-02-16 14:28:42 +01:00
btea
bd6f4f3751
refactor(init): modify the packageManager field place ( #9118 )
...
* refactor(init): modify the `packageManager` field place
* fix: reverse fields order
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-16 14:22:47 +01:00
Zoltan Kochan
44526c3330
refactor: use object.key-sorting ( #9117 )
2025-02-16 11:59:36 +01:00
Zoltan Kochan
0205498322
fix: print warning about ignored builds on repeat install ( #9116 )
...
close #9106
close #9111
2025-02-16 03:12:37 +01:00
Zoltan Kochan
fee898fdcb
fix: init-package-manager ( #9104 )
...
* fix: init-package-manager
* fix: don't add packageManager=false to package.json
* refactor: create object.key-sorting
* test: fix
* fix: sort fields in package.json
2025-02-16 02:13:07 +01:00
Zoltan Kochan
aa29bde199
feat: print pnpm version at the end of the console output ( #9108 )
2025-02-15 11:12:21 +01:00
Zoltan Kochan
2a6b51f483
chore(release): 10.4.0
v10.4.0
2025-02-14 01:18:32 +01:00
btea
4d6f080601
refactor: use availableParallelism get the amount of paralllelism available ( #9096 )
...
* refactor: use `availableParallelism` get the amount of paralllelism available
* chore: update
2025-02-14 00:41:35 +01:00
btea
49cc1672ff
feat(init): add init-package-manager configuration ( #9087 )
...
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-14 00:23:51 +01:00
Thomas Scholtes
7b9a9af38f
fix: correct corepack self-update instructions ( #9101 )
...
* fix: correct corepack self-update instructions
The previous instructions did not actually update the pnpm version used
by corepack in the local project.
See https://github.com/nodejs/corepack/issues/587
2025-02-14 00:01:23 +01:00
Zoltan Kochan
4aa6d45e5c
feat: approve-builds works with global packages ( #9095 )
2025-02-13 01:42:49 +01:00
Zoltan Kochan
91d46eecd4
feat: add --allow-build=<pkg> to add command ( #9086 )
2025-02-13 00:43:44 +01:00
Zoltan Kochan
31d15ff757
chore: pass all env variables to pnpm CLI, when running pd
2025-02-13 00:23:11 +01:00
Zoltan Kochan
a5b36b7355
fix: don't remove ignored builds list on repeat install ( #9083 )
...
close #9045
2025-02-12 01:30:44 +01:00
btea
b60661af3b
fix: do not output ignored scripts warnings and error messages at the same time ( #9078 )
...
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-11 22:29:07 +01:00
btea
483384af68
feat: init command create file add packageManager field ( #9069 )
...
close #9068
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-02-11 11:30:11 +01:00