Commit Graph

84 Commits

Author SHA1 Message Date
Zoltan Kochan
917b95c01f fix: upgrade typescript to v4.4.4 2021-10-16 23:33:34 +03:00
Zoltan Kochan
5ee3b2dc77 fix: use single global config file for all npm/pnpm versions (#3873) 2021-10-15 13:10:02 +03:00
Zoltan Kochan
c7081cbb43 feat: new option - extend-node-path (#3799)
close #2890
2021-09-28 22:36:20 +03:00
Igor Bezkrovnyi
fe5688dc0c feat: changed-files-ignore-pattern option (#3797) 2021-09-27 00:42:43 +03:00
Kaito Udagawa
6681fdcbcb feat(config): support custom global bin dir (#3762)
New setting supported: `global-bin-dir`
2021-09-11 22:15:41 +03:00
Zoltan Kochan
655af55baf fix(config): default home directory on macOS (#3684)
ref #2574
2021-08-19 00:43:59 +03:00
Zoltan Kochan
af8b5716e4 feat: a command for installing Node.js (#3620)
The following command will install Node.js (inspired by [poetry](https://python-poetry.org/docs/managing-environments/)):

```
pnpm env use --global 16.5.0
```
2021-07-30 14:21:19 +03:00
Zoltan Kochan
2264bfdf45 fix: use proper default value for store-dir, cache-dir on macOS
ref #2574
2021-07-08 01:43:58 +03:00
Pablo Sáez
25f6968d47 feat: workspace-concurrency based on cores amount (#3574) 2021-07-05 11:07:55 +03:00
Zoltan Kochan
5aaf3e3fa1 feat: save the pnpm state file to a state directory (#3580)
ref #2574
2021-07-05 02:31:08 +03:00
Zoltan Kochan
691f647137 feat: save the metadata separately from the CAFS (#3578)
ref #2574
2021-07-04 19:35:53 +03:00
cdoucet-cvent
dfdf669e64 feat: add new filter-prod option (#3372)
Add the new filter-prod option that executes the same as the filter option except
it does not include devDependencies when building the package graph.

Co-authored-by: Caleb Doucet <cdoucet>
2021-04-22 18:57:27 +03:00
Zoltan Kochan
a77744039a docs: pnpm.js.org=>pnpm.io 2021-04-03 00:41:03 +03:00
Zoltan Kochan
1e696c6a81 fix: noproxy (#3259)
close #3258
2021-03-18 21:31:53 +02:00
Zoltan Kochan
7c6243212f style: autofix 2021-03-17 03:32:06 +02: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
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Zoltan Kochan
4d92ab0d82 test: fix on Windows 2021-02-13 02:12:52 +02:00
Zoltan Kochan
3503951d39 perf: don't use graceful-fs and mz/fs (#3129) 2021-02-09 13:44:07 +02:00
Yao Ding
360a63aaca fix: only display unknown settings warning for install command (#3130) 2021-02-09 03:21:16 +02:00
Yao Ding
bff84dbca2 fix: remove empty keys from config key check (#3105)
* fix: remove empty keys from config key check

close #3104

* Update packages/config/src/index.ts

Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>

Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>
2021-01-28 03:13:57 +02:00
Yao Ding
548f28df9a feat: print warnings if unknown settings are found in .npmrc (#3074)
* feat: print warnings if unknown settings are found in .npmrc

close #2981

* feat: pnpm takes all cmd config option

* fix: add more sources

* refactor: make some improvements

* fix: don't warn about @scope:registry

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-01-23 17:22:55 +02:00
Zoltan Kochan
425c7547d8 fix(link): installing deps of the linked in pkg
PR #3052
2021-01-02 13:12:41 +02:00
Idan Attias
a8656b42fa feat: allow ignoring dependent packages in case a irrelevant file was changed
close #3021
PR #3035
2020-12-22 14:59:10 +02:00
Zoltan Kochan
041537bc3a fix(config): global bin directory on Windows 2020-12-17 03:40:40 +02:00
Juan Picado
afa00997c2 test: use Jest instead of tape
PR #2894
2020-09-27 21:03:15 +03:00
Zoltan Kochan
9f1a29ff9e fix: global install with save set to false
close #2261
PR #2815
2020-08-31 17:20:24 +03:00
Zoltan Kochan
88e1eaa908 style: use no delimiters in type declarations 2020-08-26 01:42:36 +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
972864e0d8 fix: normalize the value of public-hoist-pattern
close #2783
PR #2786
2020-08-21 17:33:33 +03:00
Zoltan Kochan
507fa1e6a3 test: local prefix search stops on pnpm-workspace.yaml 2020-08-08 15:17:22 +03:00
Zoltan Kochan
802d145fcd feat!: remove independent-leaves=true support
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
f0f2252047 refactor(config): don't set the sideEffectsCacheRead/Write config 2020-01-04 21:38:28 +02:00
Zoltan Kochan
47e8c6227d refactor(config): no need to pass in the command name 2020-01-04 04:17:21 +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
78cf17dae1 feat: @pnpm/config accepts all CLI options
BREAKING CHANGE:

@pnpm/config: cliArgs => cliOptions

close #2194
2019-11-30 12:38:02 +02:00
Zoltan Kochan
07c4720086 refactor: CLI args parsing
BREAKING CHANGE:

@pnpm/config: the workspace dir location should be
passed in

PR #2187
2019-11-29 04:19:17 +02:00
Zoltan Kochan
f6f658a284 feat: remove workspace-prefix from config
ref #2088
2019-10-30 00:55:31 +02:00
Zoltan Kochan
3bb0c1f349 feat: rename --working-dir to --dir
54% of our users prefer the name --dir over --working-dir

https://twitter.com/pnpmjs/status/1188103282662748162

PR #2122
close #2088
ref #2115
2019-10-27 22:40:37 +02:00
Zoltan Kochan
4fc917ebbb feat: rename lockfile-directory to lockfile-dir
ref #2088
PR #2120
2019-10-27 16:18:00 +02:00
Zoltan Kochan
b6ff825141 refactor: don't pass deprecated CLI args to @pnpm/config 2019-10-27 14:03:49 +02:00
Zoltan Kochan
837b146a57 feat: --working-dir flag
`--prefix` will continue to work for compatibility with npm but the docs will only mention `--working-dir`.

BREAKING CHANGE:
- @pnpm/config
- @pnpm/default-reporter
- supi

PR #2115
ref #2088
2019-10-27 03:08:56 +03:00
Zoltan Kochan
a46f8dc31a fix: virtual-store-dir of global pkg is not configurable 2019-10-20 20:39:02 +03:00
Zoltan Kochan
742a6b71c4 fix: virtual-store-dir with not shared lockfile 2019-10-20 16:52:54 +03:00
Zoltan Kochan
841a2bbc88 fix(config): correct virtual-store-dir with non-shared pnpm-lock... 2019-10-19 20:55:54 +03:00
Zoltan Kochan
181b7371cb fix(config): correctly resolve virtual-store-dir 2019-10-19 18:45:47 +03:00
Zoltan Kochan
2251259b8c fix(config): settings are merged in correct order
This fixes 2 issues:

1. local registry settings should have a bigger priority than global
2. package settings should have bigger priority than workspace set-
   tings (this was only an issue with rawLocalConfig)

close #2096
PR #2098
2019-10-19 14:06:52 +03:00
Zoltan Kochan
e7d421d7e2 feat: the color config can be auto, always, or never
PR #2069
close #2062
2019-10-12 12:07:37 +03:00
Zoltan Kochan
977b8ff9ca fix: allow using the --shamefully-flatten flag
For backward compatibility, allow --shamefully-flatten
2019-10-07 01:34:27 +03:00