zkochan
dd809b802e
fix(unlink): no unnecessary warning about scoped packages
2017-07-19 00:33:25 +03:00
zkochan
a10c503fd2
refactor: use pnpm-logger instead of bole
2017-07-18 22:47:44 +03:00
zkochan
f1b2b52341
fix: don't create a lockfile in the parent directory
...
There might no access granted to the parent directory.
Locks are now created in a central location, in a folder called
`_locks`, inside the store folder.
Ref https://github.com/pnpm/pnpm/issues/849
2017-07-17 21:41:36 +03:00
zkochan
335392b57d
feat: add unlink() and unlinkPkgs()
...
Ref pnpm/pnpm#819
2017-07-16 22:19:47 +03:00
zkochan
441356a244
fix: empty node_modules not created when nothing installed
2017-07-16 14:00:31 +03:00
zkochan
4de01d55dd
fix: don't create an empty folder for the lockfile
...
Ref https://github.com/pnpm/pnpm/issues/843
2017-07-16 01:16:55 +03:00
zkochan
85269d943a
refactor: use encode-registry and dependency-path
2017-07-15 14:00:06 +03:00
zkochan
0544780a24
refactor: use getPkgShortId from pnpm-shrinkwrap
2017-07-14 22:49:46 +03:00
zkochan
43635e6bbb
feat: reporter has a Log type
2017-07-11 22:55:00 +03:00
zkochan
f043b2f62d
feat: report deprecation warnings
...
Close https://github.com/pnpm/pnpm/issues/628
2017-07-11 22:29:28 +03:00
zkochan
9c392afe3f
fix: the depth config should limit the update
2017-07-10 21:50:43 +03:00
zkochan
bc35651b4a
fix: don't always warn about different shrinkwrap on uninstall
2017-07-09 23:06:53 +03:00
zkochan
4d9af8aa6c
fix: partial update of private shrinkwrap file on named installs
2017-07-09 20:55:31 +03:00
zkochan
6a0da65456
fix: partial shrinkwrap file has to be created on named install
...
Installation should not fail when doing a noop installation
after a named installation
2017-07-09 15:45:07 +03:00
zkochan
844bc110e1
feat: add logging of adding/removing root dependencies
2017-07-08 20:59:32 +03:00
zkochan
03f0cb77a7
refactor: move out store code to separate package
2017-07-06 00:28:38 +03:00
Zoltan Kochan
e268796e4f
fix: skipped packages should not be installable
2017-07-04 01:58:03 +03:00
zkochan
810ecec65c
perf: try to unpack tarball immediatly instead of exist check
2017-07-03 22:34:11 +03:00
zkochan
f820700446
perf: assume package not in node_modules if not in private shr
2017-07-03 22:04:25 +03:00
zkochan
5444e79de7
fix: if no package in store.json rewrite package in store fs
2017-07-03 21:26:27 +03:00
zkochan
2881eb461a
perf: assume package is not in store if it is not in store.json
2017-07-03 20:56:33 +03:00
zkochan
b8541a4631
perf: read store index file at the beginning of installation
2017-07-02 22:33:02 +03:00
zkochan
5fba123f41
perf: read package.json and inner/outer shrinkwrap together
2017-07-02 03:11:56 +03:00
zkochan
61bfe2ca5f
refactor: getIsInstallable()
2017-07-02 02:48:51 +03:00
zkochan
72f211931e
fix: prefer dev/optional deps from package.json
...
When specs of dev or optional dependencies in `package.json`
defer from the ones in `shrinkwrap.yaml`, prefers the specs from
`package.json` and ignore the ones in `shrinkwrap.yaml`.
After installation, `shrinkwrap.yaml` has to be updated with
specs that match the ones in `package.json`.
2017-07-01 21:59:29 +03:00
zkochan
05748c4a5d
feat: expect the pm package.json from outside
2017-07-01 19:47:01 +03:00
zkochan
fd2b23ebf0
feat: add an option to pass in a logs listener
...
Ref https://github.com/pnpm/pnpm/issues/572
2017-07-01 16:05:31 +03:00
zkochan
e1476af76e
feat: print more info on different stages of installation
2017-07-01 14:32:46 +03:00
zkochan
00316c90c0
feat: add logging of reused packages and resolving packages
2017-07-01 13:57:06 +03:00
zkochan
bddba9eaf6
refactor: remove logging of download percentage
2017-07-01 13:41:16 +03:00
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