Commit Graph

38 Commits

Author SHA1 Message Date
Zoltan Kochan
9c4fe711ef fix(headless): only use side-effects-cache when the config is true
BREAKING CHANGE:

In supi and @pnpm/headless `opts.sideEffectsCache` and
`opts.sideEffectsCacheReadonly` renamed to
`opts.sideEffectsCacheWrite` and `opts.sideEffectsCacheRead`
2018-12-21 00:30:46 +02:00
Zoltan Kochan
6ae12c39a2 fix(filter): filter from .npmrc is parsed as an array 2018-12-08 21:15:03 +02:00
Zoltan Kochan
2686d68276 fix: ignore shared-workspace-shrinkwrap config when no workspace
close #1482
2018-11-14 11:16:42 +02:00
Zoltan Kochan
534d18d821 feat(shrinkwrap): don't save registry URL in shrinkwrap v4
ref #1353
2018-10-20 20:12:28 +03:00
Conduitry
fa0dc2936d fix(config): only install to APPDATA on Windows
close #1425
2018-10-20 12:52:25 +03:00
Zoltan Kochan
a1e977c57f fix(config): ignore workspace configs during global install 2018-10-18 23:25:43 +03:00
Zoltan Kochan
3911cf0823 style: use standard style with trailing comma 2018-10-07 16:39:49 +03:00
Zoltan Kochan
0e431ce722 feat: sharing one shrinkwrap file between several projects
PR #1373
ref #1366
2018-09-23 23:11:12 +03:00
Zoltan Kochan
640a3a049b fix(recursive): only rebuild pending builds on subsequent installs
ref #1089
ref #1367
ref #1047
2018-09-12 00:25:44 +03:00
Zoltan Kochan
8c1c23a05f feat: new config: strict-peer-dependencies
Installation fails on missing/invalid peer dependencies  when
strict-peer-dependencies is true

close #1142
2018-09-02 01:45:14 +03:00
Zoltan Kochan
0029163025 feat(recursive): --no-sort flag to not sort packages topologically 2018-08-24 18:45:47 +03:00
ExE Boss
0abc1aa83a fix(config): pnpm-prefix allows to configure the pnpm global directory
ref #1264
pr #1334
2018-08-24 18:03:11 +03:00
Zoltan Kochan
9200acb059 fix: don't allow using --link-workspace-packages with --global 2018-08-22 18:33:01 +03:00
Zoltan Kochan
b09382376e feat: link-workspace-packages
close #1259
2018-08-21 23:17:19 +03:00
Zoltan Kochan
73b0359bab feat(reporting): print target folder during global installation 2018-08-15 22:01:51 +03:00
Zoltan Kochan
ccf38d57e4 fix: fetch retry configs should have default values
close #1230
2018-08-13 23:41:09 +03:00
Zoltan Kochan
901c36e3f6 refactor: pass all configs to reporter during initialization
pnpm-default-reporter:

BREAKING CHANGE:

new API
2018-08-13 22:43:56 +03:00
Zoltan Kochan
9efe0950e1 refactor: supi is agnostic to global installations
supi:

BREAKING CHANGE:

the global boolean options is not supported

@pnpm/config:

BREAKING CHANGE:

the value of prefix already contains the global package location
when doing global operations
2018-08-12 23:29:38 +03:00
Zoltan Kochan
0b3c35a7ca fix: lock the store by default 2018-08-06 02:11:28 +03:00
Zoltan Kochan
e8cc8e37dc fix(link): use linked package's own .npmrc during installation
supi:

refactor: supi.link() always skips installation

BREAKING CHANGE:

linking always skips installation
2018-08-05 23:54:27 +03:00
Zoltan Kochan
ce38b80f03 feat: always read configs from root of workspace
A .npmrc file in the root of a workspace can contain configs shared
by all workspace packages.

The workspace-level configs have bigger priority than global level
configs and less priority than local-level configs.

```
<global>/npmrc < <workspace>/.npmrc < <package>/.npmrc
```

PR #1310
2018-08-05 10:21:49 +03:00
Zoltan Kochan
0b71b3d1be feat(recursive): --filter
ref pnpm/spec#1
close #1272
2018-07-31 18:53:55 -07:00
Zoltan Kochan
a7bc3ac1c4 feat(recursive): --workspace-concurrency
PR #1297
2018-07-31 16:48:37 -07:00
Zoltan Kochan
e1d99e783d feat(recursive): new option for continuing execution on task fails
bail is true by default. bail means that a recursive command is
terminated on the first fail.

Usage example:

```
pnpm recursive test --no-bail
```

PR #1287
2018-07-19 21:37:39 +03:00
Zoltan Kochan
41d4389188 fix: link bins to correct location when cwd != prefix 2018-07-04 01:15:24 +03:00
Zoltan Kochan
0bb7498cec fix(config): set the default value of globalconfig and userconfig 2018-07-01 03:39:06 +03:00
Zoltan Kochan
52fbfb737f fix(config): unsafe-perm is true if not running as root 2018-06-30 23:23:17 +03:00
Zoltan Kochan
af934c87ba fix(config): set default registry 2018-06-29 21:25:59 +03:00
Zoltan Kochan
75852e8390 fix(config): set correct defaults 2018-06-29 19:19:13 +03:00
Zoltan Kochan
9e76694f9d fix(list): list should have depth 0 by default 2018-06-29 15:28:09 +03:00
Zoltan Kochan
612e661465 fix: install global packages to APPDATA
close #928
2018-06-24 21:35:01 +03:00
Zoltan Kochan
15b7a14ffa fix(config): parsing number configs 2018-06-17 20:37:04 +03:00
Zoltan Kochan
e87183f169 fix: getting configs 2018-06-14 21:58:01 +03:00
Zoltan Kochan
a1ae9016c4 feat: filtering packages in recursive commands (#1219)
* feat: filtering packages in recursive commands

close #1213

* test: recursive --scope ignore excluded packages

* test: recursive list --scope

PR #1219
2018-06-14 14:44:41 +03:00
Zoltan Kochan
e00f128df7 fix(list): --dep and --prod flags should work
close #1216
2018-06-13 16:57:12 +03:00
Zoltan Kochan
808dbceee6 feat: --use-running-store-server
When this flag is used, installation will fail w/o a running
store server.

close #1018
2018-06-12 19:48:57 +03:00
Zoltan Kochan
f6fd0c323b feat: deprecate store-path config
BREAKING CHANGE:

--store-path is not an alias of --store anymore

ref #840
2018-05-14 23:21:48 +03:00
Zoltan Kochan
535e1a4633 feat: add @pnpm/config 2018-05-13 16:39:36 +03:00