Commit Graph

2885 Commits

Author SHA1 Message Date
Zoltan Kochan
3aabdbc266 fix(reporter): print output for store logs 2018-08-06 02:24:51 +03:00
Zoltan Kochan
0b3c35a7ca fix: lock the store by default 2018-08-06 02:11:28 +03:00
Zoltan Kochan
67732dac3c chore(renovate): pin @types/ramda to 0.25.34 2018-08-06 01:02:17 +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
ad174e70bd chore: fix test script in root package.json 2018-08-05 10:44:15 +03:00
Zoltan Kochan
be5ed24125 chore(release): 2.13.0 v2.13.0 config/1.3.0 2018-08-05 10:35:59 +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
Renovate Bot
ad1ef88cee chore(deps): update dependency typescript to v3 2018-07-31 06:55:31 +03:00
Renovate Bot
8227d1160e fix(deps): update dependency get-port to v4 2018-07-29 19:49:38 -07:00
Zoltan Kochan
a5baaa3ea6 chore(release): supi@0.22.2 supi/0.22.2 2018-07-20 18:00:28 +03:00
Zoltan Kochan
249ef9dcc5 chore(deps): update 2018-07-20 17:57:38 +03:00
Zoltan Kochan
8b85b11ead fix: peer deps are missing only if they cannot be required
close #1284
2018-07-20 17:52:51 +03: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
36733c0d12 test: better error message for missing-pkg-name test 2018-07-19 21:35:37 +03:00
Zoltan Kochan
b1fbce9b27 chore(release): 2.12.1 v2.12.1 2018-07-18 22:21:49 +03:00
Zoltan Kochan
693ba5d2b4 fix: update @pnpm/package-requester to v4.0.1
ref pnpm/pnpm#1293
2018-07-18 22:20:14 +03:00
Renovate Bot
fbe9850c8d chore(deps): update dependency fs-extra to v7 2018-07-17 22:47:19 +03:00
Zoltan Kochan
19239fdaea test(cli): divide recursive tests to separate files 2018-07-16 22:56:09 +03:00
Zoltan Kochan
611985911c test(cli): move recursive to recursive/index.ts 2018-07-16 22:05:06 +03:00
Zoltan Kochan
7dbb9cc953 chore(release): 2.12.0 pnpm-default-reporter/0.19.1 headless/0.6.1 v2.12.0 supi/0.22.1 utils/0.5.1 2018-07-16 01:45:22 +03:00
Zoltan Kochan
69380932f8 fix: always use zoomed out reporting for recursive commands 2018-07-16 01:37:50 +03:00
Zoltan Kochan
ea67efaedb fix: pass the correct node_modules location to lifecycle scripts 2018-07-15 23:04:38 +03:00
Zoltan Kochan
31595a918f fix: pass the right global prefix to reporter
close #1218
2018-07-15 22:02:44 +03:00
Zoltan Kochan
6a022e82e4 fix: specify the correct version for @pnpm/logger peer 2018-07-15 17:51:10 +03:00
Zoltan Kochan
d21434992f chore(release): 2.12.0-1 headless/0.6.0 supi/0.22.0 utils/0.5.0 pnpm-default-reporter/0.19.0 v2.12.0-1 2018-07-15 17:01:39 +03:00
Zoltan Kochan
d966515c6c feat: print warnings when running recursive commands
PR #1286
2018-07-15 16:02:54 +03:00
Zoltan Kochan
5abc21ae94 feat: warn/info logs always have prefix
PR #1267
2018-07-15 02:40:18 +03:00
Zoltan Kochan
a7264b7d66 chore(release): 2.12.0-0 supi/0.21.1 v2.12.0-0 2018-07-11 23:30:18 +03:00
Zoltan Kochan
f1407ff152 chore: update deps 2018-07-11 23:24:58 +03:00
Emanuele Tamponi
7bebfb887b feat(cli): pnpm store add [pkg...]
The `pnpm store add [pkg...]` commands allows to fetch packages to the store.

PR #1268
2018-07-11 00:10:38 +03:00
Zoltan Kochan
68bad81df3 chore(release): 2.11.0 supi/0.21.0 utils/0.4.0 headless/0.5.4 v2.11.0 pnpm-default-reporter/0.18.0 2018-07-08 15:50:51 +03:00
Zoltan Kochan
370faf3e8e feat: installing a package from the same workspace as a dependency
* feat: installing a package from the same workspace as a dependency

When running `pnpm link foo -S`, `foo` is searched inside the
workspace.

If `foo` is found in the current workspace, then it is added as a
semver dependency and linked to `node_modules`

close #1027

* test: linking inside monorepo

* test: link and save as prod/dev/optional dep

* fix: use new log types

* feat: more consistent reporting of linked dependencies

ref #1250
2018-07-08 15:18:00 +03:00
Zoltan Kochan
a7af425c1a chore(deps): downgrade ts-node to v6 and make renovate ignore it 2018-07-08 13:43:31 +03:00
Emanuele Tamponi
9b5daa4430 fix: call linkBins after we flattened the graph 2018-07-08 13:08:13 +03:00
Zoltan Kochan
9119a1f707 feat: linked packages look cleaner in install summaries
BREAKING CHANGE:

Linked packages are logged via the added log object.

ref #818
ref #615
2018-07-08 02:56:03 +03:00
Zoltan Kochan
439cfa4ca0 feat: use a different reporting style for packages not in the CWD
* feat: log prefix in some log messages

* fix: don't normalize root and rename it to prefix

* feat: report package diff only for current package

* feat(reporting): report install stats that from non-current folder

* style: fix linting errors

* refactor(supi): rename root to prefix

* test(reporter): stats from other packages printed along install summarry

* feat(reporting): better reporting for the linking command

* fix: remove most-last dependency from reporter

* test: fix reporter test

PR #1263
2018-07-07 19:12:49 +03:00
Zoltan Kochan
69e41a531f refactor(default-reporter): update reporterForClient() signature 2018-07-06 23:13:32 +03:00
Zoltan Kochan
408908a9f0 chore(release): 2.10.4 supi/0.20.8 v2.10.4 config/1.2.7 pnpm-default-reporter/0.17.8 2018-07-04 01:35:31 +03:00
Zoltan Kochan
fd3342209c chore: update deps 2018-07-04 01:22:35 +03:00
Zoltan Kochan
41d4389188 fix: link bins to correct location when cwd != prefix 2018-07-04 01:15:24 +03:00
Zoltan Kochan
8e6196b407 fix(recursive): resolve directory deps correctly inside monorepo
ref #1253
2018-07-04 00:37:24 +03:00
Zoltan Kochan
7bde6a81c7 fix: fail with meaningful error when installed package has no name 2018-07-02 23:53:38 +03:00
Zoltan Kochan
bb3bdcaca2 fix(reporting): don't cut the output length when in append-only 2018-07-02 23:09:06 +03:00
Zoltan Kochan
88fb399c47 refactor: create findWorkspacePackages.ts 2018-07-01 23:09:16 +03:00
Zoltan Kochan
6d1bd979c3 chore(deps): update pnpm-shrinkwrap to v6.5.1 2018-07-01 22:58:30 +03:00
Zoltan Kochan
59443be5d2 chore(release): 2.10.3 v2.10.3 pnpm-default-reporter/0.17.7 2018-07-01 16:23:37 +03:00
Zoltan Kochan
06c016ad53 chore(release): 2.10.2 config/1.2.6 v2.10.2 2018-07-01 16:18:45 +03:00
Zoltan Kochan
c39dee02e4 fix(reporter): report stats during "pnpm recursive link" 2018-07-01 14:30:49 +03:00