Shinobu Hayashi
46852d4b89
feat(outdated): output outdated packages as JSON string with --format=json ( #5582 )
...
Co-authored-by: Zoltan Kochan <z@kochan.io >
2022-11-06 03:37:03 +02:00
Zoltan Kochan
804de211ea
fix: ignore always auth
2022-10-22 13:00:05 +03:00
Zoltan Kochan
0b2af0becc
style: no default exports ( #5498 )
2022-10-15 04:33:38 +03:00
Shinobu Hayashi
d665f3ff7a
feat: ignore packages listed in package.json > pnpm.updateConfig.ignoreDependencies on update/outdated commands ( #5408 )
...
closes #5358
Co-authored-by: Zoltan Kochan <z@kochan.io >
2022-10-02 04:55:37 +03:00
Zoltan Kochan
8103f92bd6
fix: deprecation warnings on Node.js 16 ( #5150 )
2022-08-03 17:42:00 +03:00
Zoltan Kochan
5f643f23b0
fix(deps): update ramda to v0.28
2022-06-28 15:33:17 +03: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
691f647137
feat: save the metadata separately from the CAFS ( #3578 )
...
ref #2574
2021-07-04 19:35:53 +03:00
Zoltan Kochan
a1a03d1457
fix: import only the needed functions from ramda
2021-05-29 01:33:09 +03:00
Zoltan Kochan
05baaa6e74
feat: new config setting added - fetch-timeout ( #3390 )
...
close #3387
2021-04-24 19:09:52 +03:00
Zoltan Kochan
903314f4d6
style: fix
2021-03-17 23:27:28 +02:00
Zoltan Kochan
d6d091f249
style: use es2015 imports ( #3143 )
2021-02-15 05:06:10 +02:00
Zoltan Kochan
e70232907a
fix: use @arcanis/slice-ansi instead of slice-ansi
2020-10-28 22:50:26 +02:00
Zoltan Kochan
1c2a8e03d8
fix: pnpm oudtated --long
...
PR #2828
2020-09-04 16:12:03 +03:00
Zoltan Kochan
88e1eaa908
style: use no delimiters in type declarations
2020-08-26 01:42:36 +03:00
Zoltan Kochan
5322cf9b39
style: use nullish coalescing
2020-08-26 01:15:47 +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
c3796a71d5
refactor: proxy
2020-07-01 03:50:55 +03:00
Zoltan Kochan
71aeb9a382
refactor: API of resolvers and fetchers
...
Instead of creating a separate fetch function for the resolvers
and fetchers, use a single one.
Also, use a single getCredentials function.
close #2652
PR #2655
2020-06-29 17:13:02 +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
906465529a
style: reformat multiline unions
2020-05-14 14:30:09 +03:00
Zoltan Kochan
c75a921e36
style: no trailing commas in functions
2020-05-12 19:00:16 +03:00
Zoltan Kochan
1d4e1e3c92
refactor: move optionsTypesToCompletions()
2020-04-04 23:33:23 +03:00
Zoltan Kochan
906ede36c6
fix: the -r option is not supported by all cmds
...
ref #2396
2020-03-15 02:28:20 +02:00
Zoltan Kochan
715610d2c8
refactor: command plugins API
2020-03-09 00:19:08 +02:00
Zoltan Kochan
290b4741bb
feat: -D is an alias of --dev, -P is an alias of --production
...
close #2251
PR #2376
BREAKING CHANGE: @pnpm/parse-cli-args
2020-02-23 20:11:13 +02:00
Zoltan Kochan
e8ac70b648
feat: support autocompletion
...
PR #2281
close #2229
2020-01-27 21:34:18 +02:00
Zoltan Kochan
9af994fc63
refactor: @pnpm/outdated
...
BREAKING CHANGE: @pnpm/outdated
2020-01-19 15:00:39 +02:00
Zoltan Kochan
27a02dd15f
refactor: outdated and plugin-commands-outdated
...
BREAKING CHANGE: @pnpm/outdated
2020-01-18 20:55:42 +02:00
Zoltan Kochan
b98c06e41b
fix: use --prod option in every help
2020-01-09 02:59:03 +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
bb5d41f337
style: add missing trailing commas and fix the linting rule
2020-01-01 19:18:25 +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
cb3dd567b3
refactor: reduce number of types in @pnpm/config
2019-11-30 19:18:23 +02:00
Zoltan Kochan
4f35f24c38
feat: every command plugin returns separate types from CLI vs RC
2019-11-30 16:45:44 +02:00
Zoltan Kochan
70b5c50b62
refactor: create @pnpm/plugin-commands-outdated
...
ref #2154
2019-11-23 02:34:14 +02:00