134 Commits

Author SHA1 Message Date
zkochan
455b40fe87 feat(bin): symlink executables when directories.bin specified
Close #156
2017-02-21 23:38:28 +02:00
zkochan
f39402e2ac fix(bin): symlink bins of bundled deps 2017-02-20 23:12:55 +02:00
zkochan
0cb26a7026 refactor: use a constant graph entry point property 2017-02-20 22:29:20 +02:00
Zoltan Kochan
8da56d4e07 fix(link): global binstub created on pnpm link
Close #614
2017-02-19 20:23:48 +02:00
zkochan
b6fddf4234 feat: remove link-local
It is broken since the bit `Pure Store` and seems nobody even noticed.
This functionality should be implemented in a separate tool that
uses pnpm's API.

BREAKING CHANGE:

Remove the link-local option
2017-02-18 22:45:55 +02:00
zkochan
de00178ca3 refactor: link API
BREAKING CHANGE:

Link API functions changed
2017-02-18 20:32:34 +02:00
zkochan
4f80565283 feat(link): log what was linked where
Ref #614
2017-02-17 20:33:43 +02:00
zkochan
cca22be414 refactor: remove runtimeError.ts 2017-02-16 00:07:11 +02:00
zkochan
3b6ceaaebd refactor: use mkdirp-promise
Ref #441
2017-02-15 23:30:04 +02:00
zkochan
40bd4b630a feat(shrinkwrap): remove uninstalled deps from shrinkwrap.yaml 2017-02-12 18:24:55 +02:00
zkochan
5169b3725b feat: better shrinkwrap.yaml
Close #587

BREAKING CHANGE:

the `shrinkwrap.yaml` format has been changed
2017-02-12 13:25:04 +02:00
zkochan
7355d5c0e9 refactor: concurrency 2017-02-11 14:09:19 +02:00
zkochan
6792b57c5c feat: make fetching concurrency configurable
And reduce the default value to 4

Ref #600
2017-02-08 22:22:31 +02:00
zkochan
665c181887 feat: add lockStaleDuration config
ref #608, ref #594
2017-02-08 22:01:32 +02:00
Zoltan Kochan
d0345a8942 fix(bin): bins should be linked in all dependencies
Close #609
2017-02-08 22:01:00 +02:00
zkochan
c40264a9cd refactor: use read-pkg 2017-02-07 01:27:43 +02:00
Zoltan Kochan
4ad05b3050 fix(bin): create binstubs once everything is installed 2017-02-06 14:08:32 +02:00
zkochan
d3dcc5d3af feat: relink package to project if it has been refetched 2017-02-05 20:37:48 +02:00
zkochan
3f30c5c062 feat: rewrite packages in store only when they were mutated 2017-02-05 20:07:55 +02:00
zkochan
848922d551 feat(CLI): add pnpm verify command
Rel #585
2017-02-05 17:20:09 +02:00
zkochan
f119581587 feat: add verify() to the API that returns an array of modified package
Rel #585
2017-02-05 17:07:58 +02:00
Zoltan Kochan
7e7ef52d2e fix(fetch): limit simultaneous fetches
Rel #600, Rel #594
2017-02-03 20:26:15 +02:00
zkochan
400f6bed21 feat: limit network concurrency 2017-02-02 23:49:27 +02:00
zkochan
5f07768d2d feat: semver aware caching
Invalidate caching in semver aware way.

Remove caching into filesystem.

Rel #568, Close #580
2017-02-02 22:11:03 +02:00
zkochan
f7d96ac6e2 feat: reduce nesting in node_modules 2017-02-02 21:10:39 +02:00
zkochan
18e3352fb0 feat(modules): save package in node_modules folder
BREAKING CHANGE: node_modules structure changed
2017-02-02 21:10:39 +02:00
AntoineC
1f3fa7991f fix(lock): increase stale duration from 10s to 20s 2017-02-01 22:03:46 +02:00
zkochan
7c9a1882e8 refactor: less meaningless option types 2017-01-30 21:50:43 +02:00
zkochan
c72052acb3 fix(logging): pass additional info with a message
bole sends only message, code and stack from errors, so a message
object has to be used to send additional information.
2017-01-30 21:50:43 +02:00
zkochan
5a1b10c2dc test: breaking changes 2017-01-30 21:50:43 +02:00
zkochan
3d5ef20c6f fix(logging): better message on store mismatch
Close #495
2017-01-30 21:50:43 +02:00
zkochan
a7f18434d3 refactor: better error message on legacy node_modules structures
Close #584
2017-01-30 21:50:43 +02:00
zkochan
d8af9bed59 refactor: use symlink-dir instead of link-dir 2017-01-28 14:34:04 +02:00
zkochan
8c9d1b6623 fix(bin): binstubs should be always at node_modules/.bin 2017-01-27 21:54:49 +02:00
zkochan
6bf0daea9e feat: reinstall incompatible node_modules when forcing 2017-01-25 22:12:38 +02:00
zkochan
67642d37c2 feat: don't allow to run on old node_modules structure
BREAKING CHANGE: node_modules structure changed
2017-01-25 22:12:38 +02:00
zkochan
32e4130bea refactor: remove preserve-symlinks and flat-tree options
Close #546

BREAKING CHANGE:

Removed preserve-symlinks option

BREAKING CHANGE:

Removed flat-tree option
2017-01-25 22:12:38 +02:00
zkochan
2c12199b3a fix: never preserve symlinks 2017-01-25 22:12:38 +02:00
zkochan
92cf129b19 chore: change repo URL 2017-01-23 22:36:01 +02:00
Zoltan Kochan
e9d6bf53e0 fix(global): change the global folder name to pnpm-global
The global path can't be pnpm because on Windows the pnpm sh file
is in the same folder.
2017-01-21 18:38:47 +02:00
Zoltan Kochan
b9104a457c feat(global): change default global path
Use ~/.pnpm-cache as the default cache path.
Use the Node path for hosting the global pnpm package.
2017-01-21 18:38:47 +02:00
zkochan
cdf321d021 feat(bin): use npm global bin path for global installation
To make global CLIs work without any additional configuration
2017-01-21 18:38:47 +02:00
zkochan
dd2548f18e refactor(bin): expect the bin not the modules folder in the bin link function 2017-01-21 18:38:47 +02:00
Andrey Popp
08ef2e430b fix: fixes for Node 4, style fixes 2017-01-20 22:26:35 +02:00
Andrey Popp
ca48f5d943 feat: make pnpm wait on lock
Also use `proper-lockfile` package. A similar thing which is yarn does.
2017-01-20 22:26:35 +02:00
Andrey Popp
d78390d1b9 fix: handle the case when the package manager name is scoped 2017-01-20 13:37:11 +02:00
zkochan
ad82df438b refactor(logging): less postinstall debug logs
Reduce the number of redundant logs.
2017-01-16 20:49:18 +02:00
zkochan
a7d508782c refactor: move reporters to separate packages 2017-01-16 20:49:18 +02:00
zkochan
a33870b4b9 refactor: use pnpm namespaced logs 2017-01-16 20:49:18 +02:00
zkochan
2dc2711914 feat(reporter): report everything via ndjson 2017-01-16 20:49:18 +02:00