Commit Graph

1747 Commits

Author SHA1 Message Date
Zoltan Kochan
e3da417aa6 chore(deps): update typescript to version 2.7.1 2018-01-31 21:48:43 +02:00
Zoltan Kochan
0473c469ee chore(release): 0.12.5 supi/0.12.5 2018-01-31 01:33:11 +02:00
Zoltan Kochan
6740004fe6 feat(logging): log resolution_started and importing_started
ref pnpm/pnpm#1017
2018-01-31 00:28:31 +02:00
Zoltan Kochan
a024a5a0ad chore(release): 0.12.4 supi/0.12.4 2018-01-30 22:43:00 +02:00
Zoltan Kochan
85eb2a65d5 feat(logging): log the end of importing packages from store
ref pnpm/pnpm#1017
2018-01-30 22:29:11 +02:00
Zoltan Kochan
c8580a2d55 chore(release): 0.12.3 supi/0.12.3 2018-01-29 01:33:05 +02:00
Zoltan Kochan
5c849b2646 fix(shrinkwrap): correctly set dev field
When a subdependency is both a dev and prod dependency of a parent
package, corrently set the dev field of the subdep.
2018-01-29 01:24:41 +02:00
Zoltan Kochan
500954b3a2 chore: fix shrinkwrap.yaml 2018-01-28 20:46:15 +02:00
Zoltan Kochan
205d6d818a chore(release): 0.12.2 supi/0.12.2 2018-01-28 20:02:31 +02:00
Zoltan Kochan
8c5870cf97 fix: correctly update shrinkwrap.yaml on named install
close #41
2018-01-28 14:09:03 +02:00
Zoltan Kochan
30fbc48ab5 fix: using the correct tag when installing aliased deps 2018-01-28 02:03:01 +02:00
Zoltan Kochan
70c8112fb9 fix: installing aliased dep w/o version selector 2018-01-27 22:18:15 +02:00
Zoltan Kochan
58b6273ffe test: dev properties are correctly updated on named install 2018-01-25 02:05:23 +02:00
Zoltan Kochan
3a68118748 refactor: use util.promisify instead of thenify 2018-01-25 00:21:36 +02:00
Zoltan Kochan
e0dccb9781 chore(release): 0.12.1 supi/0.12.1 2018-01-24 08:40:13 +02:00
Zoltan Kochan
17425eefbd fix: optional dependency that does not exist should be skipped
ref pnpm/pnpm#1004
2018-01-23 23:25:51 +02:00
Emanuele Tamponi
1b816176b8 fix: ignore upload errors, show warning 2018-01-23 22:51:19 +02:00
Zoltan Kochan
06d31aaaf7 chore(release): 0.12.0 supi/0.12.0 2018-01-22 02:11:17 +02:00
Zoltan Kochan
a684776d0b chore(deps): update shrinkwrap.yaml 2018-01-22 02:11:12 +02:00
Emanuele Tamponi
0985078959 feat: side effects cache (#38)
* feat: upload side effects cache when needed

* feat: add side-effects-cache support

* fix: review suggestions

* fix: rename to cacheByNodeVersion, compute immediately centralLocation

* fix: make cacheByNodeVersion nullable, fix centralLocation, move nodeMajor to the top

* fix: s/nodeVersion/engineName/

* fix: some renames, add verifyStoreIntegrity option

* fix(deps): update

* fix: fix failing tests

* fix: update package-store to v0.15.1

* test: creating side effects cache

* test: using the side effects cache, in readonly mode too

* fix: rename engine to include 'node', test for opts.force
2018-01-22 02:02:01 +02:00
Zoltan Kochan
0830a06eb5 chore(release): 0.11.3 supi/0.11.3 2018-01-19 01:48:21 +02:00
Zoltan Kochan
5bbdc1c833 fix(deps): update execa to version 9 2018-01-19 01:48:08 +02:00
Zoltan Kochan
85bd4ee041 docs: add comment about why path.relative is used to compare paths
ref pnpm/pnpm#996
2018-01-18 21:34:35 +02:00
Nicholas Pape
7336862ee5 fix: store path check should do a path-comparison, not a string comparison (#39)
* Change string compare to a path compare

* Add some tests

* Fix problem with slashes

* Allow injecting of path

* Add a simpler test

* fix: remove unused variable

ref #996
2018-01-18 21:22:03 +02:00
Zoltan Kochan
7ef6931a72 chore(release): 0.11.2 supi/0.11.2 2018-01-14 13:52:36 +02:00
Zoltan Kochan
d2aa2bc802 fix(uninstall): report updated package.json 2018-01-13 22:29:36 +02:00
Zoltan Kochan
10bdb22f20 refactor: remove the offline option
The offline option is passed to the resolver/fetcher, during
initialization, so no need to pass it to supi
2018-01-13 18:36:00 +02:00
Zoltan Kochan
d478f8d8d0 chore(deps): update 2018-01-13 02:31:13 +02:00
Zoltan Kochan
be85af80e7 chore(release): 0.11.1 supi/0.11.1 2018-01-11 12:58:55 +02:00
Zoltan Kochan
715c82706e fix: node id should always be reliably splittable to package IDs
The > symbol is used to delimit package IDs in the Node ID.

The % and > symbols are encoded in package IDs.

ref https://github.com/pnpm/pnpm/issues/986
2018-01-11 09:41:34 +02:00
Zoltan Kochan
cc18dc3dd0 chore(deps): update 2018-01-11 01:53:52 +02:00
Zoltan Kochan
07543200d3 chore(release): 0.11.0 supi/0.11.0 2018-01-09 01:59:58 +02:00
Zoltan Kochan
1c413655c8 feat: move package importing logic to the store
close #34
2018-01-09 01:20:32 +02:00
Zoltan Kochan
979a39bdc3 fix: update @types/node 2018-01-08 22:32:13 +02:00
Zoltan Kochan
3266ffe167 chore(release): 0.10.0 supi/0.10.0 2018-01-08 01:22:42 +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
Zoltan Kochan
d0be3b64c8 chore(release): 0.9.0 supi/0.9.0 2018-01-03 20:27:52 +02:00
Zoltan Kochan
119e66cc81 test: awaiting project.has/storeHas 2018-01-03 20:27:48 +02:00
Zoltan Kochan
ce191535f6 chore(release): 0.8.3 supi/0.8.3 2018-01-03 19:38:47 +02:00
Zoltan Kochan
c7fbd36f93 feat: shrinkwrap only install
ref https://github.com/pnpm/pnpm/issues/981
2018-01-03 17:27:18 +02:00
Zoltan Kochan
430a49feca fix: update package-store and @pnpm/package-requester 2018-01-02 02:36:15 +02:00
Zoltan Kochan
0a404c2a18 docs(license): update year 2018-01-01 14:06:24 +02:00
Zoltan Kochan
79cddcc97e chore(release): 0.8.2 supi/0.8.2 2017-12-31 17:29:56 +02:00
Zoltan Kochan
a5beb477ee fix: log correct number of added packages
Also, link only packages that need to be linked from the store
2017-12-31 17:29:49 +02:00
Zoltan Kochan
08d7922896 chore(release): 0.8.1 supi/0.8.1 2017-12-31 01:35:00 +02:00
Zoltan Kochan
81cbb988fc chore: update shrinkwrap.yaml 2017-12-31 01:34:54 +02:00
Emanuele Tamponi
646841a0c9 feat: add packageImportMethod option (#32)
* feat: add reflinks option

* feat: packageImportMethod allows us to specify between auto, hardlink, reflink, copy

* refactor: split hardlinkPkg and reflinkPkg, refactor switch, add default method

* fix: add breaks, describe option in the README

* test: test the copy-only import option

* fix: use mkdirp in reflinkPkg too
2017-12-31 00:14:42 +02:00
Zoltan Kochan
5978130a08 fix: too long folder names in node_modules
If a package has many peer dependencies, it can be placed in a
folder with a very long name. This change hashes folder names
that are longer than 32 symbols.

SEMI-BREAKING:

The structure of node_modules might change in some projects after
a clean install.

ref https://github.com/pnpm/pnpm/issues/977
2017-12-30 01:54:49 +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
Zoltan Kochan
9256ad9e5c chore(release): 0.8.0 supi/0.8.0 2017-12-29 02:24:33 +02:00