Commit Graph

15 Commits

Author SHA1 Message Date
zkochan
aaa34e0855 test: scripts preserve symlinks on Node.js >= 7.1.0 2016-11-10 22:31:05 +02:00
zkochan
c66ae6ad71 fix: force Node to preserve symlinks
From Node.js v7.1.0 it is possible to set the NODE_PRESERVE_SYMLINKS
environment variable to 1 to make Node preserve symlinks.

To leverage this new feature, before passing through to `npm run`, pnpm
sets PRESERVE_SYMLINKS to 1.

Ref #463
2016-11-10 22:31:05 +02:00
zkochan
a840c662e4 feat(update): implement
Close #300
2016-10-31 19:50:55 +02:00
Zoltan Kochan
163d6b9a72 refactor: use write-pkg 2016-10-22 17:06:13 +03:00
zkochan
307f8174a0 feat(cache): implement the cache clean command
Ref #59, PR #420
2016-10-15 01:17:10 +03:00
zkochan
de3a22d53e feat(install-test): implement
Close #398
2016-10-06 22:33:11 +03:00
zkochan
647457adc0 fix: use --silent parameter for hiding output
npm uses --silent no --quiet. So should pnpm

Close #392
2016-10-03 22:31:52 +03:00
zkochan
816345a8c5 feat(api): make the install API consistent with other API functions
BREAKING CHANGE:

The `installPkgDeps` API function is now called `install`.

The old `install` is renamed to `installPkgs`. Unlike the old `install`,
`installPkgs` does nothing, if the `pkgs` array contains no elements.
2016-09-29 00:26:18 +03:00
zkochan
24bd00c86e refactor: use shorter names for types 2016-09-28 22:05:46 +03:00
zkochan
df05c83757 refactor(prune): move the overload of prune to a separate function
Divide the logic of prune into two functions: prune and prunePkgs.

PR #372
2016-09-27 00:02:10 +03:00
zkochan
c27b8ddf48 feat: prune
Close #299
2016-09-27 00:02:10 +03:00
zkochan
0799e7e65f style: use jsdocs for function descriptions 2016-09-18 18:45:29 +03:00
zkochan
6121ec4683 feat: change local deps to semver deps before publish
Only when link-local = true

Close 349, PR #365
2016-09-18 09:50:20 +03:00
zkochan
2f26f61409 refactor(*.ts): noImplicitAny = true
PR #357, Ref #347
2016-09-12 22:02:26 +03:00
Zoltan Kochan
7b25ba269e feat: rewrite to TypeScript
PR #357, Ref #347
2016-09-12 22:00:56 +03:00