Zoltan Kochan
cdeb652035
feat: the global store location should be inside the pnpm home directory ( #4522 )
2022-04-02 23:34:46 +03:00
Zoltan Kochan
19de90ecdf
test: move all test utils to /test/utils/
2022-01-08 22:31:28 +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
917b95c01f
fix: upgrade typescript to v4.4.4
2021-10-16 23:33:34 +03:00
Zoltan Kochan
691f647137
feat: save the metadata separately from the CAFS ( #3578 )
...
ref #2574
2021-07-04 19:35:53 +03:00
Zoltan Kochan
aed7124557
fix: cli has no write access to the selected global dir ( #3206 )
...
close #1203
2021-02-28 20:19:42 +02:00
Zoltan Kochan
09e950fdc5
feat: rename pnpmfile.js to .pnpmfile.cjs ( #3149 )
...
close #3145
close #1339
2021-02-21 03:57:10 +02:00
Zoltan Kochan
d6d091f249
style: use es2015 imports ( #3143 )
2021-02-15 05:06:10 +02:00
Zoltan Kochan
3503951d39
perf: don't use graceful-fs and mz/fs ( #3129 )
2021-02-09 13:44:07 +02:00
Zoltan Kochan
7b9a7f63c5
refactor: test utils
2020-12-11 02:06:44 +02:00
Zoltan Kochan
a490288dcb
test(plugins): migrate to Jest
...
PR #3011
ref #2858
2020-12-08 03:20:57 +02:00
Zoltan Kochan
1c2a8e03d8
fix: pnpm oudtated --long
...
PR #2828
2020-09-04 16:12:03 +03:00
Zoltan Kochan
1c8a02e996
style: use eslint instead of tslint
...
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
a64b7250c2
pnpm outdated|audit should exit with exit code 1 when issues are found
...
`pnpm outdated` should exit with 1, when outdated found
`pnpm audit` should exit with 1 when issues are found
ref #2706
PR (#2718 )
2020-07-27 23:12:42 +03:00
Zoltan Kochan
220896511a
refactor: remove common-tags from dependencies
2020-06-21 16:39:49 +03:00
Zoltan Kochan
802d145fcd
feat!: remove independent-leaves=true support
...
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
f93583d52f
fix: use fs.mkdir instead of make-dir
2020-04-26 18:25:37 +03:00
Zoltan Kochan
715610d2c8
refactor: command plugins API
2020-03-09 00:19:08 +02:00
Yao Ding
d367a3ff23
feat(outdated): don't fail when no lockfile & no deps
...
PR #2349
Related #2029
2020-02-12 10:49:42 +05:30
Zoltan Kochan
27a02dd15f
refactor: outdated and plugin-commands-outdated
...
BREAKING CHANGE: @pnpm/outdated
2020-01-18 20:55:42 +02:00
Zoltan Kochan
a5dcfa1cc9
fix(outdated): print different current versions separately
...
`pnpm -r outdated` should show all the different current versions
PR #2258
close #2205
2020-01-08 22:15:59 +02:00
Zoltan Kochan
fbab427a18
feat(outdated): --compatible
...
PR #2256
close #2253
Co-Authored-By: Aparajita Fishman <aparajita@aparajita.com >
Co-authored-by: Aparajita Fishman <aparajita@aparajita.com >
2020-01-07 19:54:35 +02:00
Zoltan Kochan
e326f36d00
refactor: move createLatestManifestGetter
...
move createLatestManifestGetter to
plugin-commands-outdated
2020-01-06 23:30:24 +02:00
Zoltan Kochan
7369731532
feat: outdated --dev | --production | --no-optional
...
PR #2252
2020-01-06 03:06:21 +02:00
Zoltan Kochan
d756e5057f
refactor: don't use the same handlers for different commands
...
PR #2243
2020-01-02 03:55:00 +02:00
Zoltan Kochan
f8b927391e
refactor: rename importers & workspace pkgs to projects
...
WsPkg=>Project
WorkspacePackage=>Project
mporterManifest=>ProjectManifest
importers=>projects
importerDir=>projectDir
LockfileImporter=>ProjectSnapshot
PR #2242
2020-01-01 18:57:14 +02:00
Zoltan Kochan
9c9a3849d9
refactor: destroying the plugin-commands-recursive package
...
PR #2237
2019-12-29 18:45:20 +02:00
Zoltan Kochan
70b5c50b62
refactor: create @pnpm/plugin-commands-outdated
...
ref #2154
2019-11-23 02:34:14 +02:00