Commit Graph

10701 Commits

Author SHA1 Message Date
Zoltan Kochan
2838bd7f83 fix: peerDependencies 2018-07-09 03:38:23 +03:00
Zoltan Kochan
360c65ef3e feat: support @pnpm/logger v2
BREAKING CHANGE: drop node 4 support

BREAKING CHANGE: signature of prune() changed

close #6
2018-07-09 03:34:33 +03:00
Zoltan Kochan
7db97aab8e chore(release): 2.1.4 npm-resolver/2.1.4 2018-07-09 02:41:35 +03:00
Zoltan Kochan
63f5d989bf fix: support @pnpm/logger v2 2018-07-09 02:41:29 +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
eefff44be1 chore(release): 3.0.1 package-requester/3.0.1 2018-07-03 23:10:54 +03:00
Zoltan Kochan
ef885aea46 refactor: add more notes about "fromStore" 2018-07-03 23:07:00 +03:00
Emanuele Tamponi
6ffcfd420d fix: update cached fromStore value when the package has been downloaded
* fix: update cached fromStore value when the package has been downloaded

* fix: updates after review

PR #25
2018-07-03 23:01:34 +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
4b2a597f26 chore(release): 6.5.1 pnpm-shrinkwrap/6.5.1 2018-07-01 20:51:05 +03:00
Zoltan Kochan
1bd90731e2 fix(reporting): don't warn about unresolved link: deps 2018-07-01 20:49:45 +03:00
Zoltan Kochan
5b503f610d chore: update shrinkwrap.yaml 2018-07-01 20:41:50 +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
Zoltan Kochan
646b467fb8 chore(release): 2.10.1 v2.10.1 config/1.2.5 2018-07-01 03:44:26 +03:00
Zoltan Kochan
404eb5e3dc revert: ci(appveyor): turn on store verification
This reverts commit 1ddb7b6fe0.
2018-07-01 03:39:35 +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
1ddb7b6fe0 ci(appveyor): turn on store verification 2018-06-29 19:01:15 +03:00
Zoltan Kochan
d5526490f5 chore(reporter): fix shrinkwrap.yaml 2018-06-29 19:00:02 +03:00
Zoltan Kochan
a53f663f3d chore(release): 2.10.0 supi/0.20.7 config/1.2.4 v2.10.0 pnpm-default-reporter/0.17.6 2018-06-29 21:49:28 +03:00
Zoltan Kochan
af934c87ba fix(config): set default registry 2018-06-29 21:25:59 +03:00
Zoltan Kochan
7652fbc834 fix: update @pnpm/git-resolver
ref pnpm/git-resolver#10
2018-06-29 21:17:39 +03:00
Zoltan Kochan
75852e8390 fix(config): set correct defaults 2018-06-29 19:19:13 +03:00
Zoltan Kochan
9dd802b411 fix(unlink): don't fail if there is nothing to unlink 2018-06-29 15:30:47 +03:00
Zoltan Kochan
9e76694f9d fix(list): list should have depth 0 by default 2018-06-29 15:28:09 +03:00
Zoltan Kochan
9d527ff286 fix: align the dependency types in shrinkwrap.yaml during install 2018-06-29 12:24:43 +03:00
Zoltan Kochan
1dfbfcf068 fix(pnpmfile): installation should fail if pnpmfile fails
close #1247
2018-06-29 12:01:23 +03:00
Zoltan Kochan
b8c373d0a2 chore: update shrinkwrap.yaml 2018-06-29 11:41:34 +03:00
Chunpeng Huo
b013ad128c fix(reporting): fix exception on err.code.startsWith
When execa throws error, the err object has code in number, not string.
2018-06-29 11:16:27 +03:00
Zoltan Kochan
3cc60ff47b ci(appveyor): install pnpm v2.9.0 by self-installer 2018-06-29 02:32:47 +03:00
Zoltan Kochan
2d51c0cb41 fix(reporting): limit the width of lifecycle output 2018-06-28 22:59:29 +03:00
Zoltan Kochan
2e19ae45ae refactor: remove sort-pkgs from code 2018-06-28 01:40:04 +03:00
Zoltan Kochan
6daee055f3 feat: pnpm recursive uninstall
close #1246
2018-06-27 22:16:17 +03:00
Renovate Bot
c8b7f21e77 fix(deps): update dependency @types/p-limit to v2 2018-06-27 21:36:45 +03:00
Zoltan Kochan
db7e9ec89c test: create preparePackages() 2018-06-26 23:34:46 +03:00