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
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
zkochan
15ed026871
chore: optimizing dependencies
2017-07-04 21:52:24 +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
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
6354f13c2f
test: resolution stage completion is logged
2017-07-01 18:11:25 +03:00
zkochan
f1654385c1
test: logging should work
2017-07-01 18:03:52 +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
fc3ce38936
feat: prefer SHA2 in shrinkwrap.yaml
2017-06-30 10:28: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
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
231faf2985
test: shrinkwrap should be updated correctly on named install
2017-06-25 01:27:48 +03:00
zkochan
3209d2d18c
refactor: install dependencies of tests into test/node_modules
2017-06-24 14:41:07 +03:00
zkochan
3c67ed014f
test: linking multiple packages at once
...
Ref #825 , Close #826
2017-06-24 14:24:50 +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
08efa8507f
fix: uninstall w/o type argument should find dependency
2017-06-22 10:25:23 +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
4cffaa57d0
test: a scope has a different registry
...
Additional info is saved in `shrinkwrap.yaml` for scoped packages
with custom registries.
2017-06-20 10:05:50 +03:00
zkochan
c3f8eaecf1
fix: specless global installation should always install latest
2017-06-18 22:51:25 +03:00
zkochan
fc73f84d23
refactor: move global tests to separate file
2017-06-18 22:38:38 +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
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
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
c69bea6617
perf: symlink leaf dependencies
...
Close #789
2017-06-14 01:10:27 +03:00
Zoltan Kochan
0176edfbce
feat: saving packages under node_modules in the store
2017-06-12 23:38:08 +03:00
zkochan
c9cf793c4c
feat: bump store version
...
BREAKING CHANGE: store version changed to 2
2017-06-11 22:39:13 +03:00
zkochan
967bb72f7f
fix: save packages to the correct properties
...
Close #727
2017-06-11 19:11:09 +03:00
zkochan
b5c6d4a5fe
fix: update package on named installation
2017-06-11 18:00:22 +03:00
zkochan
e9e0d1d4a6
fix: installation of package with peers using info from shrinkwrap
2017-06-10 01:32:11 +03:00
zkochan
0dfe760700
fix: respect shrinkwrap for all types of dependencies
2017-06-06 13:29:59 +03:00
zkochan
2c04aa69da
feat: save optional deps separately in the lockfile
...
For correct prunning of the lockfile, it has to be known
which deps are optional. Also it has to be known which
deps are dev deps in the root.
BREAKING CHANGE:
lockfile format changed
2017-06-05 22:06:32 +03:00