Brandon Cheng
f9c53da20b
feat: return workspace for resolvedVia for workspace packages ( #9293 )
...
* feat: return `workspace` for `resolvedVia`
* chore: update .changeset/shaggy-chefs-reply.md
2025-03-17 01:40:56 +01:00
Zoltan Kochan
8371664f6f
fix: add more info to the no matching version error message ( #9225 )
2025-03-06 23:56:49 +01:00
btea
adb236f1a1
refactor: improve regexp ( #9203 )
2025-03-02 13:17:09 +01:00
Zoltan Kochan
6483b646fe
feat: a new setting for injecting workspace packages ( #8836 )
2024-12-05 17:37:15 +01:00
Zoltan Kochan
d2e83b0f3e
feat: bump metadata cache version
2024-12-01 10:40:09 +01:00
Zoltan Kochan
c961d48ca1
Merge commit from fork
2024-11-29 01:42:45 +01:00
Zoltan Kochan
aae0808b35
Merge remote-tracking branch 'origin/main' into v10
2024-10-05 02:24:28 +02:00
Khải
83681daf57
fix: install packages with incompatible libc ( #8569 )
...
close #7362
2024-09-27 22:46:16 +02:00
Zoltan Kochan
5284f9d8c0
Merge remote-tracking branch 'origin/main' into v10
2024-09-18 10:25:17 +02:00
Zoltan Kochan
501c152e34
feat!: use SHA256 for hashing side effects cache keys in index files ( #8533 )
2024-09-18 10:24:03 +02:00
Zoltan Kochan
0170b0faaf
feat: add cache command ( #8512 )
2024-09-18 04:14:13 +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
Zoltan Kochan
0c08e1c50f
fix: clear metadata cache after resolution is finished ( #8109 )
2024-05-22 00:23:14 +02:00
Zoltan Kochan
45f4262f03
refactor: create a separate type for NodeId ( #8092 )
2024-05-17 11:23:52 +02:00
Zoltan Kochan
43b6bb7ce3
fix: print a better error message when "time" is missing from metadata ( #8059 )
2024-05-07 12:58:31 +02:00
Khải
cb0f459c54
fix: recursive update with workspace alias ( #7999 )
...
close #7975
2024-04-30 01:17:12 +02:00
Khải
0fcd52248c
refactor: replace some type exprs with interfaces ( #7923 )
2024-04-14 04:09:22 +02:00
Zoltan Kochan
c9db742824
fix: update typescript to v5.4 ( #7905 )
2024-04-12 14:03:45 +02:00
Khải
45243a5c63
refactor(resolving): type checking perf ( #7883 )
2024-04-10 10:52:33 +02:00
Zoltan Kochan
21878e7ae4
feat(lockfile)!: change the keys format ( #7752 )
2024-03-17 23:01:39 +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
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
cd4fcfff0b
fix: use the registry domain in the package ID, not the tarball domain ( #7318 )
...
(IMPORTANT) When the package tarballs aren't hosted on the same domain on which the registry (the server with the package metadata) is, the dependency keys in the lockfile should only contain `/<pkg_name>@<pkg_version`, not `<domain>/<pkg_name>@<pkg_version>`.
This change is a fix to avoid the same package from being added to `node_modules/.pnpm` multiple times. The change to the lockfile is backward compatible, so previous versions of pnpm will work with the fixed lockfile.
We recommend that all team members update pnpm in order to avoid repeated changes in the lockfile.
2023-11-16 12:32:40 +02:00
Steven Petryk
4c2450208d
fix(lockfile): remove registry from tarball resolutions ( #7262 )
...
In some cases, pnpm would add a `registry` field to tarball resolutions
in pnpm-lock.yaml. This field is no longer used, so it was removed,
which should make lockfiles smaller and their generation more
deterministic.
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-10-31 23:57:17 +02:00
Zoltan Kochan
733d612ad1
test: check spelling with cspell ( #7229 )
2023-10-20 15:58:27 +03:00
await-ovo
41c2b65cff
fix: respect workspace alias syntax in pkg graph ( #6928 )
...
close #6922
2023-08-10 01:41:10 +03:00
Zoltan Kochan
e958707b2d
perf: don't random ID to temp file names ( #6817 )
2023-07-17 11:35:34 +03:00
btea
04bee1e8bc
style: fix parameter typo ( #6668 )
2023-06-14 06:59:13 +03:00
Zoltan Kochan
e6052260c3
fix: error message when package is not found in workspace ( #6598 )
...
ref #4477
2023-05-27 19:40:43 +03:00
Zoltan Kochan
edb3072a9d
fix(deps): update
2023-04-22 03:35:19 +03:00
Jake Bailey
ef6c22e129
perf(npm-resolver): improve performance of semver.satisfies ( #6336 )
2023-04-01 01:10:17 +03:00
Jake Bailey
642f8c1d06
perf(npm-resolver): reduce max memory usage ( #6296 )
2023-03-28 11:41:55 +03:00
Zoltan Kochan
f835994eab
fix: direct deduplication with resolution-mode=lowest-direct ( #6262 )
...
close #6042
2023-03-24 02:17:22 +02:00
Zoltan Kochan
ee61ca4cb7
style: update eslint ( #6236 )
2023-03-18 14:57:29 +02:00
Zoltan Kochan
1f81e70e1a
Merge branch 'main' into v8
2023-03-05 15:06:47 +02:00
Zoltan Kochan
62d1cb8f1e
fix: types error in npm-resolver
2023-03-03 06:26:54 +02:00
Zoltan Kochan
b3d31838d6
fix: give priority to packages installed in the root, when deduping ( #6054 )
2023-02-08 15:39:16 +02:00
Zoltan Kochan
029143cfff
fix: give priority to packages installed in the root, when deduping ( #6054 )
2023-02-08 13:19:40 +02:00
Zoltan Kochan
65563ae098
fix(npm-resolver): pick lowest version with * from prerelease versions only
2023-02-05 12:23:10 +02:00
Zoltan Kochan
47e45d717d
feat!: breaking config changes in v8 ( #6035 )
...
* auto-install-peers=true
* save-workspace-protocol=rolling
* publishConfig.linkDirectory true by default
* resolve-peers-from-workspace-root is true by default
* set dedupeDirectDeps to true by default in @pnpm/core.
2023-02-05 11:43:22 +02:00
Zoltan Kochan
74b535f192
fix: improve deduplication ( #6026 )
2023-02-04 01:17:22 +02:00
Zoltan Kochan
583e3954be
fix: remove suppressImplicitAnyIndexErrors from typescript settings ( #5991 )
2023-01-28 18:19:26 +02:00
Zoltan Kochan
0055af5898
style: fix
2023-01-11 02:19:41 +02:00
Zoltan Kochan
83ba90fb83
fix: better error message when the installed package was unpublished ( #5854 )
...
close #5849
2022-12-31 15:15:10 +02:00
await-ovo
f3bfa2aae6
feat: try adding local pre-release package in workspaces ( #5733 )
...
close #5316
2022-12-03 00:50:53 +02:00
Zoltan Kochan
4ca53b0b50
refactor: group projects in different subdirectories ( #5659 )
2022-11-20 01:35:22 +02:00