Commit Graph

649 Commits

Author SHA1 Message Date
zkochan
124d9c7368 fix(scripts): run prepublish only on argumentless install
Close #396
2016-10-06 22:11:00 +03:00
zkochan
4a76fa57fd chore(package.json): compilte TypeScript on prepublish 2016-10-06 21:50:22 +03:00
zkochan
647b305291 fix(cli): return a non-zero status code on errors
When a command is passed through to npm, return the status code
that was returned by it.

Close #402
2016-10-06 21:37:04 +03:00
zkochan
067d5b44d1 fix(install): don't escape path to scoped packages in subdeps
Close #394
2016-10-06 21:13:11 +03:00
zkochan
2b94a596b6 chore: release v0.39.1 v0.39.1 2016-10-05 23:04:55 +03:00
zkochan
c962fc0d8c refactor: remove redundant node-gyp.cmd file 2016-10-05 22:58:13 +03:00
zkochan
38dc0f99c1 fix(scripts): build native addons 2016-10-05 22:30:23 +03:00
zkochan
2e4eecee48 feat: make pnpm silent by default for API functions 2016-10-05 00:36:46 +03:00
zkochan
95f9d41613 chore: release v0.39.0 v0.39.0 2016-10-04 10:34:43 +03:00
zkochan
58aaa0d6fd feat: bundle dependencies
Close #338
2016-10-04 10:24:17 +03:00
zkochan
579a2584a8 chore: release v0.38.2 v0.38.2 2016-10-04 01:37:28 +03:00
zkochan
d4400482de fix(install): always try to install a newer version
Close #390
2016-10-04 01:22:56 +03:00
zkochan
eedb0e212a perf: make symlinking async 2016-10-04 01:11:46 +03:00
zkochan
d9ffb73f0e fix(uninstall): keep subdeps if they are required by the package
Close #391
2016-10-03 23:01:59 +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
a53f7217da chore: release v0.38.1 v0.38.1 2016-10-03 10:26:50 +03:00
zkochan
9b414f1b0a fix(uninstall): fix undefined error 2016-10-03 10:15:54 +03:00
zkochan
d72f8b68ea chore: release v0.38.0 v0.38.0 2016-10-03 01:21:25 +03:00
zkochan
7c5e110d3c refactor(store): unite the packages info into one property
BREAKING CHANGE:

store.json structure changed
2016-10-03 00:39:03 +03:00
zkochan
beb8835224 feat(install): support the force parameter 2016-10-02 23:28:24 +03:00
zkochan
ab15942757 refactor: use rimraf-then and cash-rm instead of rimraf 2016-10-02 22:35:30 +03:00
zkochan
1f99193656 fix(install): overwriting removes the previous version
If a different version of a package is installed, the previous
version should be removed from the store if no other package is
dependent on it.
2016-10-02 01:31:38 +03:00
zkochan
a4106dfb84 refactor: moving the store saving functions out of context 2016-10-01 22:30:04 +03:00
zkochan
7cdd73fe46 refactor: rename CommandNamespace to PnpmContext 2016-10-01 02:38:22 +03:00
zkochan
9a2a708001 refactor: remove redundant resolveGlobalPkgPath 2016-10-01 01:37:51 +03:00
zkochan
f686573c68 fix(link): link to global 2016-10-01 01:08:00 +03:00
zkochan
61d653f891 refactor: normalize the structure of store.json on Windows
BREAKING CHANGE:

Paths used in store.json is normalized on Windows.

Paths in store.json don't have the redundant package.json specified.
2016-10-01 00:52:51 +03:00
zkochan
934ecdf0e6 refactor: move stuff out of context 2016-09-30 23:45:37 +03:00
zkochan
ee5f629b4c refactor: move locking out of initCmd 2016-09-30 21:37:18 +03:00
zkochan
1d65efb5e8 refactor: use path functions via path namespace 2016-09-30 20:49:00 +03:00
greenkeeperio-bot
483a68f35a chore(package): update tape to version 4.6.1
https://greenkeeper.io/
2016-09-30 20:47:27 +03:00
greenkeeperio-bot
08c0918c26 chore(package): update os-homedir to version 1.0.2
https://greenkeeper.io/
2016-09-30 20:47:17 +03:00
greenkeeperio-bot
6c5b51fe4f chore(package): update standard to version 8.3.0
https://greenkeeper.io/
2016-09-30 20:46:40 +03:00
greenkeeperio-bot
b532a9e1cb chore(package): update cross-spawn to version 4.0.2
https://greenkeeper.io/
2016-09-30 20:46:24 +03:00
zkochan
5a1c2c9d7b fix(install): interpret versions and ranges loosely
Close #380
2016-09-29 21:25:37 +03:00
Zoltan Kochan
aa71a3e01b refactor(tests): quiet by default and use API for testing 2016-09-29 12:33:18 +03:00
zkochan
3a61c252ac refactor(api): bundle the API functions in a separate file 2016-09-29 00:28:05 +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
6126577efb refactor(types): move the Package type out of initCmd 2016-09-28 22:42:17 +03:00
zkochan
fec9bdff02 refactor: use an extendOptions function instead of defaults 2016-09-28 22:27:10 +03:00
zkochan
24bd00c86e refactor: use shorter names for types 2016-09-28 22:05:46 +03:00
Zoltan Kochan
5d1b4fb203 test: use the official registry for e2e tests 2016-09-28 20:30:24 +03:00
zkochan
c94eb15a47 refactor: use the term id instead of fullname
npm uses the term ID, so for consistency pnpm should
use the same terminology.

Close #377
2016-09-28 01:38:41 +03:00
zkochan
f3a564afeb docs(roadmap): remove unlink because it is an alias of uninstall 2016-09-27 21:13:20 +03:00
zkochan
61214a6bf6 chore: release v0.37.0 v0.37.0 2016-09-27 00:18:54 +03:00
zkochan
1ae16d9796 feat(network): support all the npm's proxy/ssl configs
Close #373
2016-09-27 00:13:01 +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
0dfe73fd48 refactor(tests): use async exists checks
PR #372
2016-09-27 00:02:10 +03:00
zkochan
f5f5621cd7 perf: change sync directory lookup to async
PR #372
2016-09-27 00:02:10 +03:00
zkochan
c27b8ddf48 feat: prune
Close #299
2016-09-27 00:02:10 +03:00