Commit Graph

10701 Commits

Author SHA1 Message Date
Zoltan Kochan
7375396dbe fix: add nodeLinker field to node_modules/.modules.yaml 2022-01-04 04:45:15 +02:00
Zoltan Kochan
8fe8f5e55e feat: --ignore-workspace option 2022-01-04 04:44:00 +02:00
Zoltan Kochan
0da31c70c7 fix: allow to use the --node-linker CLI option 2022-01-04 04:20:23 +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
edb220f013 ci: use pnpm to install bundled deps of pnpm 2022-01-04 03:09:57 +02:00
Zoltan Kochan
5beae223e4 chore(release): 6.25.0-1 v6.25.0-1 2022-01-03 23:18:16 +02:00
Zoltan Kochan
1018ec1fdd fix: hoisting aliased packages (#4188)
ref #4073
2022-01-03 23:16:54 +02:00
Zoltan Kochan
2c7970c4d6 chore(release): 6.25.0-0 v6.25.0-0 2022-01-03 21:01:01 +02:00
Zoltan Kochan
03eace5d05 fix: installing in single project of a workspace
close #4073
2022-01-03 20:04:12 +02:00
Zoltan Kochan
0d1424b978 chore(deps): update @types/sinon 2022-01-03 18:28:06 +02:00
Zoltan Kochan
4ae648dd3d feat: redundant packages should be removed in hoisted mode (#4186)
ref #4073
2022-01-03 17:21:07 +02:00
Zoltan Kochan
09eebcdb5a docs(readme): add link to French translation 2022-01-03 16:46:52 +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
b70222c3ac docs(license): update years 2022-01-01 22:15:39 +02:00
Zoltan Kochan
f27c3bb0be chore(deps): update 2022-01-01 22:12:05 +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
e4b9c4bc3a refactor: fixtures (#4182) 2021-12-31 16:59:58 +02:00
Dave Brotherstone
a6cf11cb77 feat(config): add support for token helper (#4163)
* feat(config): add support for token helper

Use the new interface in `pnpm/credentials-by-uri` for supporting token
helpers. A token helper is an executable, set in the user's `.npmrc`
which outputs an auth token. This can be used in situations where the
`authToken` is not a constant value, but is something that refreshes
regularly, where a script or other tool can use an existing refresh
token to obtain a new access token.

The configuration for the path to the helper must be an absolute path,
with no arguments. In order to be secure, it is _only_ permitted to set
this value in the user `.npmrc`, otherwise a project could place a value
in a project local `.npmrc` and run arbitrary executables.

A similar feature is available in many similar tools. The implementation
in `credentials-by-uri` is modelled after the `vault` (vaultproject.io)
implementation - https://github.com/hashicorp/vault/blob/main/command/token/helper_external.go

* test: fix

* docs: add changesets

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-12-30 23:16:06 +02:00
Zoltan Kochan
6e4becd997 chore(release): 6.24.4 v6.24.4 2021-12-29 13:01:14 +02:00
Kenrick
701ea07461 fix(link-bins): don't throw error during install when bin points to path that doesn't exist (#4172)
close #3763
2021-12-29 12:53:04 +02:00
Zoltan Kochan
b5734a4a7c feat: better reporting of unmet peer issues (#4169) 2021-12-29 01:19:14 +02:00
Zoltan Kochan
b390c75a6f fix: injection of subdependencies (#4167) 2021-12-28 23:34:02 +02:00
Zoltan Kochan
2a0177c611 chore: update registry-mock 2021-12-27 13:28:31 +02:00
Zoltan Kochan
210cad755b refactor: headless 2021-12-27 03:47:52 +02:00
Zoltan Kochan
809fcd0937 chore(deps): update 2021-12-25 21:58:00 +02:00
Zoltan Kochan
e492d1b869 chore(release): 6.24.3 v6.24.3 2021-12-25 21:17:23 +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
eb9ebd0f3e fix: lockfile up-to-date check when it has dependenciesMeta field (#4152)
close #4098
2021-12-23 03:34:09 +02:00
Zoltan Kochan
f5e732e289 chore(deps): update anonymous-npm-registry-client 2021-12-20 22:42:27 +02:00
Zoltan Kochan
cbe938e48e chore(release): 6.24.2 v6.24.2 2021-12-19 02:27:42 +02:00
Zoltan Kochan
6058f76cdf fix(print-peer-issues): escape the "*" range 2021-12-18 04:10:00 +02:00
Zoltan Kochan
40dc2f954f fix(update): allow to update subdependencies (#4133)
close #4122
2021-12-18 02:24:04 +02:00
Zoltan Kochan
7962c042ea fix(resolve-dependencies)): avoid not needed peer dependency warnings (#4144) 2021-12-17 21:27:16 +02:00
Zoltan Kochan
7bdfc03ea3 chore(deps): update 2021-12-17 19:49:50 +02:00
Zoltan Kochan
cb2e4e33a2 fix(core): should export peer dependency issue types 2021-12-16 14:31:23 +02:00
Brandon Cheng
d16620cf9e fix: use-node-version isn't respected if the first download fails (#4114)
close #4104
2021-12-16 01:57:43 +02:00
Zoltan Kochan
3c704d9d4c chore(release): 6.24.1 v6.24.1 2021-12-15 20:17:48 +02:00
Zoltan Kochan
cb1827b9c2 fix: don't crash when peer ranges cannot be merged (#4136)
close #4134
2021-12-15 20:12:23 +02:00
zoomdong
890549b7d8 feat: pnpm publish support otp option (#4115)
close #3918
2021-12-15 18:50:47 +02:00
FolknR
6493e0c932 fix(plugin-commands-publishing): add readme file to published package.json (#4117)
close #4091
2021-12-15 16:07:55 +02:00
Zoltan Kochan
ca4749adeb chore(deps): update 2021-12-14 22:17:17 +02:00
Zoltan Kochan
eec4b195d8 fix(prepare-package): always return an error message
ref #4128
2021-12-14 22:14:15 +02:00
Zoltan Kochan
a087f339e3 fix(render-peer-issues): print a new line between summaries 2021-12-14 19:13:06 +02:00
Zoltan Kochan
af15da323e chore(release): 6.24.0 v6.24.0 2021-12-14 14:17:42 +02:00
Zoltan Kochan
ab9018c57b feat: improve render-peer-issues (#4120) 2021-12-14 14:01:17 +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
efb5f9472c chore(release): 6.24.0-1 v6.24.0-1 2021-12-13 04:03:48 +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