Commit Graph

11 Commits

Author SHA1 Message Date
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
zkochan
0709c2df40 test: use notOk when possible 2017-06-04 22:07:22 +03:00
Zoltan Kochan
2c46333107 fix: global installation always works now (#713)
* fix: global installation always works now

Close #711

* refactor: avoid using `read-pkg-up`

BREAKING CHANGE:

API should be called in the folder that has a package.json file.
pnpm won't search up for a package.json file.

Close #67

* docs(API): update

* refactor: write-pkg created dir on its own

* refactor: rename `globalDir` to `globalPrefix`

* feat: saving the global package in <global prefix>/pnpm-global
2017-04-22 23:11:25 +03:00
zkochan
b94aaff38a feat: use npm's config system
BREAKING CHANGE:

`rc` is not used to get configs.

BREAKING CHANGE:

`.pnpmrc` files are ignored

BREAKING CHANGE:

configs in json format are not supported

BREAKING CHANGE:

`--config` argument renamed to `--userconfig`

Close #696, Close #40
2017-04-20 23:01:14 +03:00
zkochan
d88cb274bf style: remove trailing whitespace in template string 2017-03-29 23:43:22 +03:00
zkochan
91849fd88a feat(shrinkwrap): don't save empty shrinkwrap files 2017-03-04 16:07:48 +02:00
zkochan
4aa3e78e88 fix: use path-exists instead of exists-file 2017-03-02 22:56:56 +02:00
zkochan
a1ee21b907 feat: use a local registry similar to sinopia's storage 2017-02-27 00:10:01 +02:00
zkochan
c1a8c71325 test: fix executable checking 2017-02-20 21:39:53 +02:00
zkochan
da6ab05f5e test(shrinkwrap): add a tests to check shrinkwrap format
Ref #587
2017-02-12 13:45:58 +02:00
zkochan
04bc56c688 refactor(tests): move supporting functions to utils folder 2017-02-06 21:01:45 +02:00