Commit Graph

25 Commits

Author SHA1 Message Date
Zoltan Kochan
9c9d79cbbe test: fix typings to make ts-node happy 2018-04-17 22:53:48 +03:00
Zoltan Kochan
1191b67b41 perf: optimize the dependencies build step
ref pnpm/pnpm#1109
2018-04-13 01:24:22 +03:00
Zoltan Kochan
10ae8cc892 fix: update @pnpm/lifecycle and @pnpm/headless
BREAKING CHANGE: the format of lifecycle logs has changed
2018-04-08 01:03:35 +03:00
Zoltan Kochan
6aed1cf225 fix(lifecycle): run scripts of deps in correct order 2018-03-31 20:07:06 +03:00
Zoltan Kochan
bc34aba650 style: adhere conventions 2018-03-05 15:49:34 +02:00
Zoltan Kochan
bb7aff4af6 refactor: use own options
BREAKING CHANGE:

storeController is not an optional parameter anymore
2018-01-07 22:34:31 +02:00
Emanuele Tamponi
c2be0a1069 feat: incremental rebuild (#30)
* fix: run node-gyp rebuild when install is not specified

* feat: after pnpm install --ignore-script, pnpm rebuild is incremental

* refactor: add --pending option to rebuild, only store pending ids

* fix: javascript magic to avoid if statement

* fix: update pendingBuilds also when removing packages

* fix: remove old code, use testDefaults correctly

* test: add test for rebuild --pending

* chore: make my IDE and TSLint happy

* chore: @types/es6-promise makes IntelliJ happy and Travis sad

* fix: use Set, only append to pendingBuilds if ignoreScripts is true

* test: pendingBuilds handled correctly

* test: install and uninstall behavior with pendingBuilds

* fix: saveModules only when needed

* fix: Set has size, not length, add comment about the use of .concat
2017-12-29 22:44:41 +02:00
Emanuele Tamponi
3113be8472 fix: pass unsafePerm to lifecycle call 2017-12-24 19:56:38 +02:00
zkochan
39c16b494f refactor: move log types to supi from pnpm-logger
BREAKING CHANGE:

dependends on pnpm-logger@0.7
2017-11-09 00:57:20 +02:00
zkochan
54cb8b944e chore: use package-preview 2017-11-01 09:54:58 +02:00
zkochan
236cdefc0b test: fix 'lifecycle scripts have access to node-gyp' 2017-10-19 00:33:33 +03:00
zkochan
e789a27d14 fix(lifecycle): scripts are able to find node-gyp 2017-09-29 00:42:06 +03:00
Unknown
1e9cda32b3 test: child stdout is reported 2017-09-23 14:56:06 +03:00
zkochan
77ac86764b fix: use @zkochan/npm-lifecycle for running lifecycle events
Ref https://github.com/pnpm/pnpm/issues/892
2017-09-17 15:05:10 +03:00
Unknown
d58d5879df test: add more tests 2017-08-25 21:59:36 +03:00
zkochan
fb360d4c00 fix: pre and postinstall are ran once when install is present
Ref https://github.com/pnpm/pnpm/issues/856
2017-07-24 00:53:17 +03:00
zkochan
6a76dc3aa1 fix: run install script of the project
Ref https://github.com/pnpm/pnpm/issues/854
2017-07-23 21:57:51 +03:00
Zoltan Kochan
001370c6eb refactor: removing CLI stuff from supi 2017-06-28 20:11:40 +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
5699569f61 feat: always add all packages to shrinkwrap.yaml
Even dev packages when installing with the --production flag

Ref #750
2017-05-11 21:01:24 +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
fa8f2e57db fix(user-agent): set the correct user-agent 2017-04-08 15:39:18 +03:00
zkochan
75d9a3da84 test(lifecycle): installation fails when lifecycle script fails 2017-04-08 14:41:53 +03:00
zkochan
76fc444219 fix(lifecycle): run preinstall before general installation
As well as other lifecycle scripts.
2017-04-08 14:35:35 +03:00
zkochan
8e907023fd test: divide installation tests to separate files 2017-04-02 21:46:37 +03:00