Commit Graph

453 Commits

Author SHA1 Message Date
zkochan
fc3ce38936 feat: prefer SHA2 in shrinkwrap.yaml 2017-06-30 10:28:46 +03:00
zkochan
eab0928d20 fix: with --no-lock project folder should not be locked 2017-06-29 22:38:46 +03:00
Zoltan Kochan
001370c6eb refactor: removing CLI stuff from supi 2017-06-28 20:11:40 +03:00
zkochan
c28dba774a feat: update typescript to version 2.4.1 2017-06-27 21:32:23 +03:00
zkochan
798b4df34f fix: unhandled promise rejection 2017-06-27 02:19:52 +03:00
zkochan
8ca612477d fix: uninstall should remove dependency from any property 2017-06-26 22:36:36 +03:00
zkochan
ddc73c83f8 fix: always keep shrinkwrap.yaml in sync with package.json 2017-06-26 00:14:25 +03:00
zkochan
c9abd79661 refactor: rename storePath in .modules.yaml to store 2017-06-25 21:16:22 +03:00
zkochan
ae35695819 fix: shrinkwrap should be update correctly on named install
When already in `package.json`, dev and optional dependencies
should be added to the corresponding properties in
`shrinkwrap.yaml` during named installation.
2017-06-25 02:12:50 +03:00
zkochan
0cac392b26 refactor: use npa.resolve() when possible instead of npa() 2017-06-25 01:33:35 +03:00
zkochan
bd8e02062c feat: export cmd via programmatic API for testing purposes 2017-06-24 14:10:49 +03:00
Paul Pflugradt
ac034ba221 feat(cli-link): link multiple packages at once
allows `pnpm link pkg1 pkg2`

issue 825

changes
2017-06-24 13:57:23 +03:00
zkochan
7918dab527 fix: store is not logged while lifecycle events run 2017-06-24 01:42:20 +03:00
zkochan
fc7262459d feat: use pnpm-shrinkwrap instead of pnpm-lockfile 2017-06-23 23:15:46 +03:00
zkochan
af79c8c319 feat: add independent-leaves config
BREAKING CHANGE:

independent dependencies are not symlinked from the global store
by default

Close #821
2017-06-23 22:03:52 +03:00
zkochan
eb5219b390 feat: moving global package to a layoutVersion subfolder
BREAKING CHANGE:

global package path changed
2017-06-23 00:57:15 +03:00
zkochan
ec6e577387 feat: add layoutVersion to .modules.yaml
BREAKING CHANGE:

The new layout is not compatible with previous versions.
2017-06-23 00:57:15 +03:00
zkochan
1a99038178 fix: wait until directory integrity is calculated for repo 2017-06-23 00:56:30 +03:00
zkochan
08efa8507f fix: uninstall w/o type argument should find dependency 2017-06-22 10:25:23 +03:00
zkochan
adae86f18c fix: normalize registry URL
The registry URL should always end with a /.

Close #708
2017-06-21 22:17:48 +03:00
zkochan
16dcc63d81 fix: get auth info by registry URL
Ref #708
2017-06-21 02:04:34 +03:00
zkochan
c156101a99 refactor: rename store-path config to store
BREAKING CHANGES:

rename `store-path` config to `store`

Ref #458
2017-06-20 23:30:06 +03:00
zkochan
fbc39466a8 fix: private packages installation
Use npm's programmatic API to get auth information for private
packages.

Ref #708
2017-06-20 23:02:47 +03:00
zkochan
c3f8eaecf1 fix: specless global installation should always install latest 2017-06-18 22:51:25 +03:00
zkochan
982498c2af fix: global install should not remove everything prev installed
Ref #808
2017-06-18 20:37:17 +03:00
zkochan
85778cd5e2 feat: supporting prepare event
Print deprecation notice when `prepublish` is present.
Run `prepublish` as well for now.

Close #810
2017-06-18 19:55:21 +03:00
zkochan
65e9c1b719 fix: named installation should use spec from package.json
Close #809
2017-06-18 15:51:49 +03:00
zkochan
047378804c refactor: rename linkPackages to localPackages 2017-06-18 11:35:58 +03:00
zkochan
8dfae3be00 feat: don't add empty packages property to shrinkwrap.yaml 2017-06-17 21:03:05 +03:00
zkochan
175f50d01e feat: symlink file dependencies instead of copying them
This is roughly how npm@5 does it. However, pnpm does not try
to install dependencies of the file dependency, just a symlink
is created and the binstubs are linked into `node_modules/.bin`
if there are any.

BREAKING CHANGE:

file dependencies are symlinked instead of copied (packed/unpacked)

Ref #772
2017-06-17 19:49:18 +03:00
zkochan
5c649b1611 fix: should not fail on new installation
Should not fail when installing a new dependency in a project
that has a lockfile with other dependencies but no node_modules
folder.
2017-06-16 22:20:14 +03:00
zkochan
e5689019d8 Merge branch 'greenkeeper/@types/ramda-0.0.13' 2017-06-16 00:56:18 +03:00
zkochan
db472ec79b perf: decrease fs operations cound during linking bins 2017-06-16 00:47:30 +03:00
zkochan
b8d8b723c5 perf: don't create node_modules/.bin when not needed 2017-06-16 00:25:32 +03:00
zkochan
e186c49221 perf: symlink and hardlink concurrently 2017-06-16 00:13:09 +03:00
zkochan
7aa71c3956 fix: typing issue 2017-06-15 23:27:54 +03:00
zkochan
577531e76f perf: symlinking packages before they are downloaded 2017-06-15 22:52:48 +03:00
zkochan
efd1f7c1d2 Merge branch 'master' into feat/store2 2017-06-15 22:26:31 +03:00
zkochan
7b62b97411 fix: argumentless forced installation
Close #796
2017-06-15 22:21:56 +03:00
zkochan
a6148ece77 Merge branch 'master' into feat/store2 2017-06-15 20:29:01 +03:00
Zoltan Kochan
52fa8271ec fix: skip not found dir in getPkgDirs 2017-06-15 13:55:39 +03:00
zkochan
ce0428c5fb perf: don't wait for integrity calculation to end befor linking 2017-06-15 10:31:36 +03:00
zkochan
1554ce40b3 perf: unpack and download the same stream 2017-06-15 10:30:47 +03:00
zkochan
c150b033c5 perf: avoid redundand concurrency limiting on hard linking 2017-06-14 02:33:57 +03:00
zkochan
df59e757bd fix: when refetching, remove only the unpacked folder 2017-06-14 02:07:54 +03:00
zkochan
c69bea6617 perf: symlink leaf dependencies
Close #789
2017-06-14 01:10:27 +03:00
zkochan
89ca9323d1 perf: more concurrency 2017-06-14 00:57:35 +03:00
zkochan
897b970dce refactor: change store.yaml to store.json 2017-06-13 23:14:24 +03:00
zkochan
725c05bc0c refactor: remove mentions of local-registry 2017-06-13 23:09:03 +03:00
zkochan
8248b6fece refactor: rename metafile in store to index.json 2017-06-13 23:08:41 +03:00