Zoltan Kochan
8fa95fd868
fix(cmd-shim): extend NODE_PATH with path to hidden hoisted dir ( #4513 )
...
Deprecating `extend-node-path` in pnpm v7 has caused issues with "next dev".
This change is bringing back extending `NODE_PATH` in bin command shims. However, only when `node-linker` is set to `isolated` and packages are hoisted to `node_modules/.pnpm/node_modules`. Only `node_modules/.pnpm/node_modules` is added to `NODE_PATH`, so it should not cause too long input errors (as it was sometimes the case in pnpm v6)
2022-04-01 21:58:46 +03:00
CommanderRoot
bc35dff9a9
chore: replace deprecated String.prototype.substr() ( #4479 )
...
Co-authored-by: Zoltan Kochan <z@kochan.io >
2022-03-25 23:04:20 +02:00
Zoltan Kochan
faf830b8f6
feat: improve dep path of local deps
2022-03-19 20:39:10 +02:00
Zoltan Kochan
a36b6026bb
feat(core): pruneLockfileImporters is true by default
2022-03-16 23:46:39 +02:00
Zoltan Kochan
06e679f80f
feat: prevent deep imports using exports ( #4440 )
2022-03-15 23:42:48 +02:00
Zoltan Kochan
73d71a2d5b
feat: strict-peer-dependencies is true by default ( #4427 )
2022-03-10 11:54:19 +02:00
Zoltan Kochan
56249f8c3c
fix: onlyBuiltDependencies should work ( #4377 )
2022-02-23 01:54:55 +02:00
Zoltan Kochan
a60a6e591d
fix: peerDependencyRules with * as range ( #4370 )
2022-02-22 00:38:47 +02:00
Zoltan Kochan
9c36c0fd6c
feat: use the versions from overrides when adding deps without specs ( #4355 )
...
* feat: use the versions from overrides when adding deps without specs
close #4313
* docs: fix changeset
2022-02-19 15:45:30 +02:00
Zoltan Kochan
5d2b5ee641
feat: onlyBuiltDependencies ( #4014 )
...
close #4001
Co-authored-by: Jack Works <jackworks@protonmail.com >
2022-02-17 11:14:17 +02:00
Zoltan Kochan
b9fdc3104c
Merge branch 'main' into v7
2022-02-06 23:38:24 +02:00
Zoltan Kochan
329e186e9e
feat: set hoisting limits ( #4300 )
2022-02-05 13:23:58 +02:00
Zoltan Kochan
3b77e2f1e5
Merge remote-tracking branch 'origin/main' into v7
2022-01-30 22:20:07 +02:00
Zoltan Kochan
cc727797f9
fix(core): add publicHoistPattern to the fields of InstallOptions
2022-01-30 17:21:32 +02:00
Zoltan Kochan
37d09a68fa
fix: a package should be able to be a dependency of itself ( #4289 )
2022-01-30 05:02:42 +02:00
Zoltan Kochan
9d9977d937
Merge branch 'main' into v7
2022-01-26 00:02:22 +02:00
Zoltan Kochan
c1383044d1
fix(core): don't try to read the name prop of manifest that is null
2022-01-25 16:38:30 +02:00
Zoltan Kochan
73fce0d935
Merge branch 'main' into v7
2022-01-20 23:28:21 +02:00
Zoltan Kochan
cdc521cfa4
feat: save the locations of injected deps to the modules state file ( #4259 )
2022-01-20 13:05:30 +02:00
Zoltan Kochan
d9fc6abdd3
Merge branch 'main' into v7
2022-01-20 12:35:54 +02:00
Zoltan Kochan
5168591786
feat!: breaking config changes for v7 ( #4253 )
...
ref https://github.com/pnpm/pnpm/discussions/3536
2022-01-20 12:34:14 +02:00
Zoltan Kochan
08d781b806
fix: peerDependencyRules when other rules are also present ( #4255 )
2022-01-19 11:48:19 +02:00
Zoltan Kochan
43e4246d33
fix: extend-node-path=false should work when lockfile is up-to-date
2022-01-18 12:59:56 +02:00
Zoltan Kochan
1cadc231a2
feat: side effects cache key should contain the state of the dep ( #4238 )
2022-01-18 12:51:01 +02:00
Zoltan Kochan
50ee25ae27
refactor(core): export MutateModulesOptions
2022-01-12 13:21:40 +02:00
Zoltan Kochan
e76151f669
feat: pnpm add <pkg> autoinstalls any missing peer dependencies ( #4213 )
...
ref #3995
2022-01-11 16:27:12 +02:00
Zoltan Kochan
26cd01b880
feat: support peerDependencyRules for muting peer dep issues ( #4212 )
...
close #4183
2022-01-11 13:06:53 +02:00
Zoltan Kochan
7375396dbe
fix: add nodeLinker field to node_modules/.modules.yaml
2022-01-04 04:45:15 +02:00
Zoltan Kochan
7bac7e8be2
fix(core): don't write a lockfile when useLockfile is false
...
ref #4073
2022-01-04 04:13:49 +02:00
Zoltan Kochan
0b8d0ee873
refactor: rename the values of the node-linker setting ( #4185 )
...
ref #4073
2022-01-03 13:43:37 +02:00
Zoltan Kochan
d6bd10300d
feat: symlinkless node_modules implementation part 2 ( #4184 )
...
It should be possible to create a symlinkless node_modules
in a project that don't yet have a lockfile
ref #4073
2022-01-02 15:13:17 +02:00
Zoltan Kochan
732d4962f5
feat: Create a node modules directory without using symlinks ( #4162 )
...
ref #4073
2021-12-31 22:41:54 +02:00
Zoltan Kochan
08380076f0
feat: add more documentation about --no-frozen-lockfile ( #4156 )
...
close #4151
2021-12-25 00:59:06 +02:00
Zoltan Kochan
cb2e4e33a2
fix(core): should export peer dependency issue types
2021-12-16 14:31:23 +02:00
Zoltan Kochan
3e48b24e3f
refactor: change the structure of peer dependency issues object
...
close #4118
2021-12-13 21:53:36 +02:00
Zoltan Kochan
b8e584acfb
feat: print the missing optional peers that are in conflict with non-optional peers ( #4113 )
2021-12-13 03:56:41 +02:00
Zoltan Kochan
89dcc1115a
feat: detect conflicting peer dependencies per project ( #4111 )
2021-12-12 19:13:08 +02:00
Zoltan Kochan
ba9b2eba1c
feat: detect conflicting peer dependencies and print nice warnings about peer dependency issues ( #4102 )
2021-12-11 00:20:01 +02:00
Zoltan Kochan
5af305f395
fix: finish installation before throwing peer dependencies error ( #4095 )
2021-12-09 03:51:47 +02:00
Zoltan Kochan
25f0fa9fa7
feat(core): add a new function for finding missing peer dependencies ( #4092 )
2021-12-09 00:15:41 +02:00
Zoltan Kochan
ae32d313e4
refactor: @pnpm/resolve-dependencies and @pnpm/core ( #4085 )
2021-12-08 13:27:05 +02:00
Zoltan Kochan
613211b16e
refactor: move overrides parsing to a separate package ( #4075 )
2021-12-05 23:18:01 +02:00
Zoltan Kochan
8a99a01ff6
feat(core): overrides, packageExtensions, and neverBuiltDependencies are options ( #4050 )
2021-11-30 18:01:11 +02:00
Zoltan Kochan
fe9818220d
fix(core): use the registries from the context
2021-11-22 19:28:49 +02:00
Zoltan Kochan
0027785595
feat: scripts-prepend-node-path ( #4020 )
2021-11-21 03:53:35 +02:00
Zoltan Kochan
2511c82cd2
feat: pnpm:devPreinstall script ( #3968 )
...
ref #3836
2021-11-09 11:59:56 +02:00
ylemkimon
302ae4f6f1
feat: support async hooks ( #3955 )
2021-11-08 22:51:58 +00:00
Zoltan Kochan
4ab87844a9
feat: injecting workspace packages ( #3915 )
...
close #3510
2021-11-01 10:14:52 +08:00
Zoltan Kochan
d4e2e52c43
feat: rename supi to @pnpm/core
2021-10-17 02:43:29 +03:00