Commit Graph

1699 Commits

Author SHA1 Message Date
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
Zoltan Kochan
9256ad9e5c chore(release): 0.8.0 supi/0.8.0 2017-12-29 02:24:33 +02:00
Zoltan Kochan
e1640e7c61 feat: export StatsLog 2017-12-28 01:07:31 +02:00
Zoltan Kochan
d57942ce8e feat: log installation stats about number of added/removed
BREAKING CHANGE:

The logging format changed of the installation stats
2017-12-27 02:31:41 +02:00
Zoltan Kochan
0b31c042ea fix: log the correct number of added packages 2017-12-26 02:37:21 +02:00
Zoltan Kochan
baf1938eb6 chore(release): 0.7.17 supi/0.7.17 2017-12-25 21:12:09 +02:00
Zoltan Kochan
ae99b3aef6 feat: add an option for avoiding logging to extendOptions() 2017-12-25 21:11:51 +02:00
Zoltan Kochan
05beb57085 chore(release): 0.7.16 supi/0.7.16 2017-12-25 13:54:22 +02:00
Zoltan Kochan
85ec00f689 fix: update version-selector-type to 2.0.0 2017-12-25 13:54:16 +02:00
Zoltan Kochan
b0e6b3f170 chore(release): 0.7.15 supi/0.7.15 2017-12-25 02:21:58 +02:00
Zoltan Kochan
4ce61da867 feat: when resolving, prefer version ranges specified for top deps
ref https://github.com/pnpm/pnpm/issues/952
2017-12-25 02:07:07 +02:00
Emanuele Tamponi
f388a13ad9 fix: run node-gyp rebuild when install is not specified 2017-12-25 01:25:38 +02:00
Emanuele Tamponi
3113be8472 fix: pass unsafePerm to lifecycle call 2017-12-24 19:56:38 +02:00
Zoltan Kochan
0191279754 chore: update dependencies 2017-12-23 15:27:04 +02:00
Zoltan Kochan
c604fad627 chore(release): 0.7.14 supi/0.7.14 2017-12-16 03:11:10 +02:00
Zoltan Kochan
06b322b579 fix: always close the store 2017-12-16 03:10:52 +02:00
Zoltan Kochan
0779bed85f chore(release): 0.7.13 supi/0.7.13 2017-12-16 02:03:48 +02:00
Zoltan Kochan
b600958d3b feat: storeController can be passed to supi via options
ref https://github.com/pnpm/pnpm/issues/832
2017-12-16 02:02:13 +02:00
Zoltan Kochan
91b20a70ae chore: update shrinkwrap.yaml 2017-12-11 23:30:57 +02:00
Zoltan Kochan
abc7f1ba19 refactor: move out store-controller logic out of supi
ref https://github.com/pnpm/pnpm/issues/832
2017-12-10 23:20:01 +02:00
Zoltan Kochan
a3f1e5ec56 refactor: use @pnpm/fs-locker for locking 2017-12-10 00:56:40 +02:00
Zoltan Kochan
f1861cea5e refactor: update @pnpm/package-requester to version 0.4.0 2017-12-09 19:52:04 +02:00
Zoltan Kochan
c952203e0d refactor: update package-requester to version 0.3.0 2017-12-09 15:10:53 +02:00
Zoltan Kochan
9eaf3e618e chore: update shrinkwrap.yaml
ref https://github.com/pnpm/pnpm/issues/953
2017-12-08 22:18:11 +02:00
Zoltan Kochan
4940b03d49 chore(release): 0.7.12 supi/0.7.12 2017-12-06 22:33:29 +02:00
Zoltan Kochan
79eadcc20c refactor: use @pnpm/package-requester
ref https://github.com/pnpm/pnpm/issues/559
close #24
2017-12-06 22:32:15 +02:00
Zoltan Kochan
8f030ed109 refactor: move option type to @pnpm/types 2017-12-04 21:39:47 +02:00
Zoltan Kochan
bf945814e4 perf: remove unnecessary memoization of json requests 2017-11-29 00:45:34 +02:00
Zoltan Kochan
65f257485e refactor: use PackageManifest from @pnpm/types 2017-11-27 23:12:18 +02:00
Zoltan Kochan
7b17368689 fix: update supi to version 0.7.0
ref https://github.com/pnpm/pnpm/issues/559
2017-11-26 23:41:51 +02:00
Zoltan Kochan
5c5e738f76 refactor: specs are parsed by package-store
ref https://github.com/pnpm/pnpm/issues/559
2017-11-26 17:54:36 +02:00
Zoltan Kochan
1e1634dcca chore(release): 0.7.11 supi/0.7.11 2017-11-25 14:48:05 +02:00
Zoltan Kochan
1a205d1e36 chore: update shrinkwrap.yaml 2017-11-25 14:36:14 +02:00
Zoltan Kochan
b2140f7886 feat: allow to ignore files in packages
The opts.ignoreFile() function allows to ignore files in packages.
Ignoring means that files will neither be unpacked nor linked
into `node_modules`

Ref https://github.com/pnpm/pnpm/issues/804
2017-11-25 14:33:17 +02:00
Georgios Valotasios
4fcaa89fa2 style: make use of destructuring and remove unused code 2017-11-23 22:32:09 +02:00
Zoltan Kochan
ad0d56c9fb chore(release): 0.7.10 supi/0.7.10 2017-11-21 02:04:47 +02:00
Zoltan Kochan
3601df833c perf: don't duplicate the nodeId in the object. Its a key already 2017-11-21 02:04:11 +02:00
Zoltan Kochan
2b651ba770 perf: sometimes create children immediatly
close #19
2017-11-20 23:23:13 +02:00
Georgios Valotasios
2b6981556f fix: make use of function instead of getter 2017-11-20 23:15:45 +02:00
Zoltan Kochan
170334a764 perf: optimize peers resolution 2017-11-20 22:55:09 +02:00
Zoltan Kochan
d40c49e137 chore(release): 0.7.9 supi/0.7.9 2017-11-19 21:11:25 +02:00
Georgios Valotasios
ab6884457c fix: make use of a getter for children
this causes less memory consumption since the children will get computed only when needed

fixes https://github.com/pnpm/pnpm/issues/938
2017-11-19 21:10:23 +02:00
Zoltan Kochan
dcfda58173 chore(release): 0.7.8 supi/0.7.8 2017-11-19 15:12:06 +02:00
Zoltan Kochan
0d5c6914d7 feat: support aliase for npm-hosted packages
ref https://github.com/pnpm/pnpm/issues/117
ref https://github.com/pnpm/pnpm/issues/837
2017-11-19 14:42:21 +02:00
Zoltan Kochan
15a5d3468c fix: use less memory by ignoring most fields from package.json
close #17, ref https://github.com/pnpm/pnpm/issues/938
2017-11-18 23:25:55 +02:00
Zoltan Kochan
431d8a071c chore(release): 0.7.7 supi/0.7.7 2017-11-18 15:49:18 +02:00
Zoltan Kochan
801c46eca1 fix: argunmentless installation of aliased dependencies 2017-11-18 15:49:10 +02:00
Zoltan Kochan
ae8ca10d30 chore(release): 0.7.6 supi/0.7.6 2017-11-18 12:28:25 +02:00
Zoltan Kochan
b5e78ffed1 feat: git dependencies can be declared with an alias name
ref https://github.com/pnpm/pnpm/issues/838
2017-11-18 12:27:33 +02:00
Zoltan Kochan
e532d00d1a ci(appveyor): skip run on PR branch 2017-11-15 23:02:03 +02:00