Commit Graph

10701 Commits

Author SHA1 Message Date
Zoltan Kochan
430a49feca fix: update package-store and @pnpm/package-requester 2018-01-02 02:36:15 +02:00
Zoltan Kochan
c019b989e7 perf: avoid redundant requests to get manifests
BREAKING CHANGE: not compatible with prev routers
2018-01-02 01:15:05 +02:00
Zoltan Kochan
48b48e7492 chore(release): 0.13.0 package-store/0.13.0 2018-01-02 00:49:34 +02:00
greenkeeper[bot]
b16f057369 fix(package): update @pnpm/package-requester to version 0.6.0 2018-01-02 00:49:10 +02:00
Zoltan Kochan
5cc2a61595 chore(release): 0.6.0 package-requester/0.6.0 2018-01-02 00:44:09 +02:00
Zoltan Kochan
97f53917f9 chore(release): 0.5.2 package-requester/0.5.2 2018-01-02 00:43:11 +02:00
Zoltan Kochan
c2ba20bef9 chore: update dependencies 2018-01-02 00:43:01 +02:00
Zoltan Kochan
fdbfbdf26b chore(release): 0.3.9 npm-resolver/0.3.9 2018-01-02 00:28:46 +02:00
Zoltan Kochan
78a01d85b6 refactor: dryRun is passed to the resolver 2018-01-02 00:28:08 +02:00
Zoltan Kochan
05c9648615 feat: dry run request
ref https://github.com/pnpm/pnpm/issues/406
2018-01-02 00:22:50 +02:00
Zoltan Kochan
34955b9560 test: package requesting 2018-01-01 21:19:25 +02:00
Zoltan Kochan
f66494925b perf: when available, return the manifest immediatly
BREAKING CHANGE:

the format of the PackageResponse has been changed
2018-01-01 20:07:06 +02:00
Zoltan Kochan
a2659710ec chore: update shrinkwrap.yaml 2018-01-01 19:30:14 +02:00
greenkeeper[bot]
71fc466e9d chore(package): update @types/nock to version 9.1.0 2018-01-01 19:26:07 +02:00
Zoltan Kochan
ca7a0c142a chore(release): 0.3.8 npm-resolver/0.3.8 2018-01-01 19:23:04 +02:00
Zoltan Kochan
9d66ae0075 test: longer delay for meta read 2018-01-01 19:20:05 +02:00
Zoltan Kochan
6021c728c8 fix: fallback to cache when package request fails 2018-01-01 19:19:15 +02:00
Zoltan Kochan
4b33d29bd4 feat: support dry run installation
ref https://github.com/pnpm/pnpm/issues/406
2018-01-01 19:13:51 +02:00
Zoltan Kochan
b420a82236 test: package meta is cached in the store 2018-01-01 18:51:49 +02:00
Zoltan Kochan
38fbe8f4f8 docs(license): update year 2018-01-01 14:06:58 +02:00
Zoltan Kochan
0a404c2a18 docs(license): update year 2018-01-01 14:06:24 +02:00
Zoltan Kochan
5ceea2f718 docs(license): update year 2018-01-01 14:05:46 +02:00
Zoltan Kochan
27925a4998 chore(release): 1.25.1 v1.25.1 2017-12-31 17:35:37 +02:00
Zoltan Kochan
e6d86462f2 fix: added stats reporting 2017-12-31 17:35:31 +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
e7ddfc6409 fix: reporting of registry error responses 2017-12-31 16:19:33 +02:00
Zoltan Kochan
2bbce77cfc chore(release): 0.11.2 pnpm-default-reporter/0.11.2 2017-12-31 16:17:20 +02:00
Zoltan Kochan
670e7de7bd fix: don't fail if can't create nice stacktrace 2017-12-31 16:17:14 +02:00
Zoltan Kochan
50e7cb9147 chore(release): 0.3.7 npm-resolver/0.3.7 2017-12-31 15:41:06 +02:00
Zoltan Kochan
fb7b5c813f fix: should throw correct error when package needs auth 2017-12-31 15:39:20 +02:00
Zoltan Kochan
2311b36498 fix: fatal error is printed 2017-12-31 15:20:15 +02:00
Zoltan Kochan
c43e383e88 fix: throw correct error when package not found 2017-12-31 15:19:48 +02:00
Zoltan Kochan
730d476b62 chore(release): 1.25.0 v1.25.0 2017-12-31 02:07:39 +02:00
Zoltan Kochan
e0e939826b feat: document the new flags - pending and package-import-method 2017-12-31 02:01:57 +02:00
Zoltan Kochan
4c3b5a3e3a feat: update supi to version 0.8.1 2017-12-31 01:37:34 +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
Zoltan Kochan
d15d8cbb7d chore(release): 0.3.6 npm-resolver/0.3.6 2017-12-31 01:26:25 +02:00
Emanuele Tamponi
49165f5527 feat: option to disable pnpmfile (#979)
* feat: option to disable pnpm hooks

* fix: as for review; doesn't work until @pnpm/types is upgraded

* fix: use opts.ignorePnpmfile in the caller

* chore: update shrinkwrap.yaml

* test: --ignore-pnpmfile flag
2017-12-31 00:15:42 +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
35881729de test: version not found 2017-12-30 21:03:40 +02:00
Zoltan Kochan
b2bc3eb2b9 fix: throw correct error when package not found in registry 2017-12-30 17:25:19 +02:00
Zoltan Kochan
c7970471a6 test: offline resolution 2017-12-30 16:57:38 +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
6ab3d163eb chore(release): 0.11.1 pnpm-default-reporter/0.11.1 2017-12-29 22:39:58 +02:00
Zoltan Kochan
47791a6ced fix: don't print the remove sign when nothing was removed 2017-12-29 22:39:53 +02:00
Zoltan Kochan
ce12413bbf feat(reporting): print stats about added/removed packages 2017-12-29 21:36:35 +02:00
Zoltan Kochan
9846d61fd8 chore(release): 0.11.0 pnpm-default-reporter/0.11.0 2017-12-29 21:29:29 +02:00