Zoltan Kochan
8055a30be1
refactor: rename filter-lockfile to lockfile.filtering
2024-07-28 01:24:55 +02:00
Zoltan Kochan
e9908b3185
refactor: rename lockfile-file to lockfile.fs
2024-07-28 01:15:20 +02:00
Zoltan Kochan
2e3eae3990
refactor: create @pnpm/lockfile.verification ( #8350 )
2024-07-27 14:18:38 +02:00
Zoltan Kochan
0f0e44101d
fix: resolve catalogs in overrides ( #8321 )
...
close #8303
2024-07-22 01:35:30 +02:00
Khải
0ef168b77d
feat: per-package node version ( #8277 )
...
close #6720
2024-07-13 14:08:57 +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
84654bd2ad
fix: installation with filtering and dedupe-peer-dependents=true ( #8270 )
...
close #6300
2024-07-03 15:43:01 +02:00
Zoltan Kochan
341656f9b3
refactor: make workspace packages a map
2024-07-02 22:49:38 +02:00
Zoltan Kochan
dd00eeb18c
refactor: normalize dir field names across project objects ( #8262 )
2024-07-01 11:27:04 +02:00
Zoltan Kochan
9927c2855a
refactor(core): workspace packages ( #8248 )
...
Make workspace packages optional.
2024-06-30 15:17:07 +02:00
Brandon Cheng
9c63679df1
feat: catalogs ( #8122 )
...
* feat: create new @pnpm/catalogs.types package (#8026 )
* feat: read catalog configs from workspace manifest (#8123 )
* refactor: move InvalidWorkspaceManifestError to its own file
* feat: read catalogs config from workspace manifest
* chore: add changeset for new catalog config parsing
* feat: create new `@pnpm/catalogs.protocol-parser` package (#8124 )
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.
https://github.com/pnpm/pnpm/pull/8027#issuecomment-2081650304
* refactor: factor out isWantedDepPrefSame to extend in a future commit (#8125 )
* feat: create new `@pnpm/catalogs.config` package (#8220 )
* refactor: remove single default catalog check
This check will happen in `@pnpm/catalogs.config` instead.
* feat: create new @pnpm/catalogs.config package
* fix: work around CI setup not compiling orphan packages before testing
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.
https://github.com/pnpm/pnpm/pull/8027#issuecomment-2081650304
* feat: create new `@pnpm/catalogs.resolver` package (#8219 )
* feat: create new @pnpm/catalogs.resolver package
* fix: work around CI setup not compiling orphan packages before testing
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.
https://github.com/pnpm/pnpm/pull/8027#issuecomment-2081650304
* feat: implement catalog protocol for publish (#8225 )
* feat: implement catalog protocol for install (#8221 )
* feat: add catalogs to @pnpm/config
* refactor: factor out resolveDependenciesOfImporterDependency function
* feat: implement catalog resolver and replace prefs
* revert: work around CI setup not compiling orphan packages before testing
* feat: record catalog lookup snapshots through propagated metadata
* feat: update projects when catalogs config changes
* test: add catalog protocol install tests
* refactor: remove filter-packages-from-dir dependency from core tests (#8244 )
* refactor: remove filter-packages-from-dir dependency from core tests
* test: refactor
* test: refactor
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-06-27 14:19:38 +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
Zoltan Kochan
47341e5004
fix: make the peers suffix shorter ( #8177 )
...
ref #7079
2024-06-07 23:37:07 +02:00
Zoltan Kochan
3dd30b1909
refactor: create branded type for project ID ( #8164 )
2024-06-04 18:30:59 +02:00
Zoltan Kochan
c649954e41
refactor: create a separate type for DepPath ( #8094 )
2024-05-20 16:11:46 +02:00
Zoltan Kochan
b3d1495566
fix: recreate node_modules if virtual-store-dir-max-length changes ( #8032 )
2024-04-29 15:24:06 +02:00
Zoltan Kochan
9719a42d0e
feat: configurable max length of directories inside node_modules/.pnpm ( #7994 )
...
close #7355
2024-04-28 11:07:29 +02:00
Zoltan Kochan
820934207a
fix: don't upgrade the lockfile format during frozen lockfile install ( #8006 )
...
close #7991
2024-04-24 14:59:58 +02:00
Zoltan Kochan
6b6ca69e1f
fix: save the lockfile in the new format even if it is up-to-date ( #7984 )
2024-04-21 23:01:54 +02:00
Zoltan Kochan
461d76a2e5
fix: frozen lockfile should work with lockfile v6 ( #7935 )
...
close #7934
2024-04-16 16:00:00 +02:00
Zoltan Kochan
c9db742824
fix: update typescript to v5.4 ( #7905 )
2024-04-12 14:03:45 +02:00
Khải
e8fc6139ea
refactor(install): type checking perf ( #7877 )
2024-04-09 16:23:44 +02:00
Khải
77a3f9b4ff
refactor(core): type checking perf ( #7874 )
...
* refactor(core): type checking perf
* perf: remove unnecessary unnest operation
* refactor: replace `undefined[]` with `void`
2024-04-09 11:59:49 +02:00
Zoltan Kochan
501133d30b
refactor: bump lockfile version to v9 instead of v7 ( #7861 )
...
In order to align the lockfile version with pnpm version that ships it.
2024-04-06 17:12:37 +02:00
Zoltan Kochan
6caec8109b
fix: hoist peer dependencies ( #7841 )
2024-03-30 12:23:29 +01:00
Zoltan Kochan
e74e7847f3
fix: resolve missing optional peer if it is installed as a dep somewhere ( #7830 )
2024-03-27 13:43:52 +01:00
Zoltan Kochan
8eddd21f07
fix: resolve missing peer from versions already present in other parts of the dep graph ( #7812 )
2024-03-22 19:45:54 +01:00
Zoltan Kochan
21878e7ae4
feat(lockfile)!: change the keys format ( #7752 )
2024-03-17 23:01:39 +01:00
Chris Kim
0fa26f4936
fix: correctly detect the active Node js version during headless installation ( #7801 )
...
close #5266
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-03-17 17:46:40 +01:00
Zoltan Kochan
aa33269f9f
fix: peer dependency rules should not change the lockfile ( #7758 )
...
* fix: peer dependency rules should not change the lockfile
* test: fix
* fix: hide peer issues warning if there nothing to report
2024-03-13 17:55:18 +01:00
Zoltan Kochan
a95bec6f51
fix: don't allow peer dependency rules with auto-install-peers on
2024-03-11 18:36:49 +01:00
Zoltan Kochan
174603eb32
fix: auto install peers should not work with ignore missing peers ( #7739 )
2024-03-05 02:50:09 +01:00
Zoltan Kochan
5c20db0dd2
feat!: use the same lockfile format in 1-pkg workspace as in multi-pkg one ( #7696 )
2024-02-29 10:28:29 +01:00
Khải
730929e330
feat: pnpm.ignoredOptionalDependencies ( #7714 )
2024-02-28 13:46:29 +00:00
Zoltan Kochan
0e6b757cf5
feat!: remove requiresBuild from the lockfile ( #7710 )
...
close #7707
2024-02-27 11:50:43 +01:00
Khải
086b69cf60
feat: pnpmfileChecksum ( #7662 )
...
* Squashed commit of the following:
commit 912ee1af4d954d192d42cf4a2e6dae56d5bef21d
Author: Zoltan Kochan <z@kochan.io >
Date: Thu Feb 22 02:22:22 2024 +0100
revert: moving tarballs to lfs
commit f8943bdfd422c77e27febda9d962e9937c83dd55
Author: khai96_ <hvksmr1996@gmail.com >
Date: Wed Feb 21 20:35:38 2024 +0700
refactor: move pnpmfileChecksum to requireHooks
commit 33c90e030f49aa9edf815708f846047d7dec25ca
Merge: d6e74263d 5f4b535be
Author: khai96_ <hvksmr1996@gmail.com >
Date: Wed Feb 21 12:06:26 2024 +0700
chore(git): merge
commit d6e74263de8ea474b1c16cd29aac2dbdef40d102
Author: khai96_ <hvksmr1996@gmail.com >
Date: Wed Feb 21 12:03:13 2024 +0700
refactor: reuse code
commit 5f4b535bed589bb5eb60ddbbb61534d62e75cfae
Author: Khải <hvksmr1996@gmail.com >
Date: Wed Feb 21 10:21:35 2024 +0700
refactor: revert unnecessary bumps
commit ebee6c825d08888413684856c7505d4708c960af
Merge: 82233556d c8e8eca3d
Author: khai96_ <hvksmr1996@gmail.com >
Date: Wed Feb 21 00:37:50 2024 +0700
chore(git): merge from main
commit c8e8eca3debb0fb081a614346b9b1a5786b87a5d
Author: Zoltan Kochan <z@kochan.io >
Date: Tue Feb 20 18:36:11 2024 +0100
test(mount-modules): use local pnpm in pretest
commit e0488e5ac443b62df3aef9a161c757bc16c1bda3
Author: Zoltan Kochan <z@kochan.io >
Date: Tue Feb 20 18:28:21 2024 +0100
fix: unpacking tarballs that appear to be not USTAR or GNU TAR (#7677 )
close #7120
commit 82233556d4162d90a38e11d15136461008169acd
Author: khai96_ <hvksmr1996@gmail.com >
Date: Tue Feb 20 20:32:47 2024 +0700
refactor: replace remove with add
commit 30293df6bdc8cc478b9d7b81cb5d09ca48855b89
Merge: 6eb0b3e81 7cb3cfb5b
Author: khai96_ <hvksmr1996@gmail.com >
Date: Tue Feb 20 20:31:30 2024 +0700
chore(git): merge from main
commit 6eb0b3e81dea7ced23b4e9683d9500b4a30499a5
Merge: c1fbc11ed e4caa114a
Author: khai96_ <hvksmr1996@gmail.com >
Date: Tue Feb 20 16:45:23 2024 +0700
chore(git): merge from main
commit c1fbc11eded093e923644454254b98eb0090292d
Author: khai96_ <hvksmr1996@gmail.com >
Date: Tue Feb 20 13:59:15 2024 +0700
fix: pruneLockfile
commit 39a8e75a1cccd8c6f5df838eaf2c07f98c2652dd
Author: khai96_ <hvksmr1996@gmail.com >
Date: Tue Feb 20 02:46:41 2024 +0700
lint: fix
commit 839de517487561ddf3d27bb77a1cfd8e373c4274
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 20:24:25 2024 +0700
style: fix
commit 1ec2c1a40fb050221b937878decd9eeef8e9c845
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 20:01:00 2024 +0700
feat: handle absolute path
commit 002edd4484a071638b6e2f43ab9ce76f186aa379
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 19:51:33 2024 +0700
fix: use opts instead of rawConfig
commit d55b687735b598e7a2b235eaed5675eaf1982a40
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 19:41:51 2024 +0700
refactor: remove an unnecessary await
commit bb595f315b8ba422128efc1ff753222c86e93fdf
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 14:08:07 2024 +0700
feat: rawConfig.ignorePnpmfile
commit 0a17c659d303054d770e72279019b9c39e85c95d
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 14:04:13 2024 +0700
feat: read from rawConfig
commit 276379a531163ca6271fa863c27f3c779a6849a4
Author: khai96_ <hvksmr1996@gmail.com >
Date: Mon Feb 19 13:53:34 2024 +0700
feat: move pnpmfileChecksum to the option region
commit 3868abdbb25194ef5b279cfea63fab6294d46a8c
Author: Zoltan Kochan <z@kochan.io >
Date: Sat Feb 17 00:09:19 2024 +0100
test: fix
commit 95e6554089d30dcee25da144719b28e369d11f10
Author: khai96_ <hvksmr1996@gmail.com >
Date: Fri Feb 16 23:18:11 2024 +0700
fix: test
commit 75a131aade4caa322330f6df017abd02aee0ccd9
Author: khai96_ <hvksmr1996@gmail.com >
Date: Fri Feb 16 23:17:45 2024 +0700
fix: pnpmfileChecksum not appearing in the lockfile
commit 297f920b0be4671b72481709af43193522b177b3
Merge: 8ac1725a8 c7d056422
Author: khai96_ <hvksmr1996@gmail.com >
Date: Fri Feb 16 18:12:11 2024 +0700
chore(git): merge from main
commit 8ac1725a83b3eccfe46b2972a77f7a780aef3564
Author: khai96_ <hvksmr1996@gmail.com >
Date: Fri Feb 16 18:01:58 2024 +0700
feat: pnpmfileChecksum
commit 83788d023d478d4e559ebfbaaf2aba6e355358b5
Author: khai96_ <hvksmr1996@gmail.com >
Date: Fri Feb 16 17:04:02 2024 +0700
refactor: add explicit type
* fix: update lockfile when new pnpmfile removes deps
* fix: always calculate pnpmfileChecksum
* test: getPnpmfileChecksum
* test(cli): add or change pnpmfile
* refactor: try catch and await
* refactor: pnpmfile hash
* docs: add changesets
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-02-23 19:17:38 +01:00
Zoltan Kochan
7db98cae0f
feat!: bump lockfile to v7 ( #7666 )
2024-02-17 12:57:58 +01:00
Zoltan Kochan
9f8948c24a
feat: auto install peers from highest match ( #7654 )
2024-02-14 15:23:31 +01:00
Zoltan Kochan
e5fbac331e
fix: don't print unnecessary warning in project that uses hoisted node_modules
2024-02-09 00:10:52 +01:00
Khải
0ec0a44da7
fix(update): stop downgrading prereleases ( #7466 )
...
close #7436
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-01-27 14:41:58 +01:00
Zoltan Kochan
cfa33f1127
feat!: dedupe-injected-deps is set to true ( #7486 )
2024-01-08 11:57:44 +01:00
Zoltan Kochan
cdd83654dd
feat!: don't include registry URL in package ID ( #7476 )
2024-01-08 11:57:44 +01:00
Zoltan Kochan
d381a6001c
feat!: use dependency path format from lockfile v6 ( #7470 )
...
Drop lockfile v5 support.
2024-01-08 11:57:44 +01:00
Zoltan Kochan
ff10acadec
fix: avoid circular symlink with hoist-workspace-packages ( #7495 )
2024-01-06 13:20:58 +01:00
Nacho Aldama
c597f72ec3
feat: add hoist-workspace-packages option ( #7451 )
...
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-12-30 13:43:19 +00:00
Zoltan Kochan
672c559e49
feat: dedupe injected dependencies ( #7416 )
...
A new setting added for symlinking [injected dependencies](https://pnpm.io/package_json#dependenciesmetainjected ) from the workspace, if their dependencies use the same peer dependencies as the dependent package. The setting is called `dedupe-injected-deps`
2023-12-14 16:13:22 +01:00
btea
e79ab3847b
chore(dep): update @types/node ( #7414 )
...
* chore(dep): update @types/node
* chore: update
2023-12-13 14:06:52 +01:00
Zoltan Kochan
6558d1865f
fix: dedupe commands of direct dependencies ( #7359 )
2023-12-05 16:39:52 +01:00
Zoltan Kochan
c883f8120c
style: remove not needed rule excapes
2023-12-01 19:39:15 +01:00
Zoltan Kochan
3db0db8d12
revert: "feat: use-experimental-npmjs-files-index option ( #7177 )"
...
This reverts commit a2bf6a0e96 .
2023-11-22 02:01:27 +02:00