Commit Graph

1777 Commits

Author SHA1 Message Date
Zoltan Kochan
95ff32d399 chore(release): 0.12.12 supi/0.12.12 2018-02-23 21:51:01 +02:00
Zoltan Kochan
93ceabb3e5 chore(deps): update 2018-02-23 21:50:20 +02:00
Emanuele Tamponi
d07a49a3d6 fix: do not run a double install with --shamefully-flatten (#46)
* fix: do not run a double install with --shamefully-flatten

* fix: reinstallForFlatten forces flatten even if no changes are seen
2018-02-23 18:45:16 +02:00
Emanuele Tamponi
1fe8bcb027 fix: do not update config or warn if reinstalling for flatten 2018-02-23 00:21:50 +01:00
Zoltan Kochan
fd8e4bad1f chore(release): 0.12.11 supi/0.12.11 2018-02-22 21:33:02 +02:00
Emanuele Tamponi
bfe9a7d2d6 fix: warn when using --shamefully-flatten (#45)
* chore: warn when using --shamefully-flatten

* chore: only warn for shamefully-flatten during install/update
2018-02-22 14:09:02 +02:00
Zoltan Kochan
9978d6099c chore(release): 0.12.10 supi/0.12.10 2018-02-22 01:28:55 +02:00
Emanuele Tamponi
a5f9b30182 fix: --global --shamefully-flatten uses a different prefix 2018-02-22 00:21:16 +01:00
Emanuele Tamponi
fdad157392 feat: --shamefully-flatten (#42)
* feat: this is a best attempt at flattening the dependency tree, similar to what npm does

* test: shamefullyFlatten option

* feat: when uninstalling, if shamefully-flatten is true, we need to re-flatten

* fix: use new shrinkwrap, not the old one

* fix: changes suggested in PR

* test: remove test.only

* fix: various bugs in uninstall and general install, added tests

* test: fix test

* test: use project.has and project.hasNot correctly

* test: remove test.only

* test: added tsconfig.json, added lint-test script, lint fixes

* test: use correct message

* fix: check should work on windows too
2018-02-22 01:04:44 +02:00
Zoltan Kochan
8bef37f498 chore(release): 0.12.9 supi/0.12.9 2018-02-17 21:15:06 +02:00
Zoltan Kochan
6467b938a0 fix: update package-store to v0.17.0 2018-02-17 21:14:44 +02:00
Zoltan Kochan
2aa704f0ba chore(release): 0.12.8 supi/0.12.8 2018-02-11 21:27:26 +02:00
Zoltan Kochan
38c43f142c fix: keep existing deps during named install with no shrinkwrap
ref pnpm/pnpm#1029
2018-02-11 21:13:10 +02:00
Zoltan Kochan
0b39b20d55 refactor: rename installMultiple to resolveDependencies 2018-02-11 19:44:10 +02:00
Zoltan Kochan
5526bde7ae refactor: remove empty .ts file 2018-02-11 19:41:53 +02:00
Zoltan Kochan
dbebdea0f2 refactor: use spread operator instead of Object.assign 2018-02-11 19:32:32 +02:00
Zoltan Kochan
46dde9a8e8 refactor: remove redundant imports of @pnpm/package-requester 2018-02-11 18:47:15 +02:00
Zoltan Kochan
c3c3a73ed2 perf: repeat install with --shrinkwrap-only
Xref pnpm/pnpm#992
2018-02-11 18:46:28 +02:00
Zoltan Kochan
4392afec0e test: running install with shrinkwrap-only
when shrinkwrap.yaml is available already

ref pnpm/pnpm#992
2018-02-11 02:13:28 +02:00
Zoltan Kochan
880437d2b6 chore(release): 0.12.7 supi/0.12.7 2018-02-10 12:32:12 +02:00
Zoltan Kochan
e9c90db6a6 fix: update package-store to v0.16 2018-02-10 12:20:57 +02:00
Zoltan Kochan
0cbe3cca5f test: making the tests stable 2018-02-06 01:18:28 +02:00
Zoltan Kochan
191207664f refactor: absoluteDependencyPath => depPath 2018-02-06 00:08:14 +02:00
Zoltan Kochan
e7afbbab58 refactor: resolvedId => depPath, shortId => relDepPath 2018-02-05 23:34:47 +02:00
Zoltan Kochan
b7feab0374 chore(release): 0.12.6 supi/0.12.6 2018-02-04 21:27:48 +02:00
Zoltan Kochan
93997fb0ce docs(readme): document options.shrinkwrap 2018-02-04 21:27:29 +02:00
Zoltan Kochan
e2394fe080 feat: add an option to ignore shrinkwrap.yaml
ref pnpm/pnpm#1025
2018-02-04 21:22:08 +02:00
Zoltan Kochan
704c64d7eb fix(unlink): unlink shouldn't change package.json 2018-02-04 15:38:00 +02:00
Zoltan Kochan
392cdae593 chore: update dependencies 2018-02-03 16:11:34 +02:00
Zoltan Kochan
c012a63bbd refactor: use definite assignment assertion 2018-01-31 21:58:06 +02:00
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