Zoltan Kochan
9c9d79cbbe
test: fix typings to make ts-node happy
2018-04-17 22:53:48 +03:00
Zoltan Kochan
79d032a0cb
refactor: remove redundant module
2018-04-15 20:31:15 +03:00
Zoltan Kochan
406bd4d54c
fix(unlink): don't prefer frozen shrinkwrap when unlinking
2018-04-15 01:57:13 +03:00
Zoltan Kochan
b775351231
fix: don't print warning when --no-lock is used
2018-04-15 00:11:36 +03:00
Zoltan Kochan
69c1b623c5
fix: set default lockStaleDuration to 5 minutes
...
ref pnpm/pnpm#594
2018-04-15 00:10:09 +03:00
Zoltan Kochan
9ea263f5e5
fix: saving shrinkwrap.yaml should not fail when dep has no spec
...
ref pnpm/pnpm#1104
2018-04-14 23:39:00 +03:00
Zoltan Kochan
22f42b4e14
refactor: remove redundant log (dependencies_installed)
2018-04-14 23:23:23 +03:00
Zoltan Kochan
5683bbd2c2
fix: update the shrinkwrap.yaml when it is of an older format
2018-04-13 10:24:01 +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
5c7b13eea2
fix: don't run headless installation when scripts are ignored
...
Headless installation cannot populate the pendingBuilds field yet
2018-04-13 00:47:55 +03:00
Zoltan Kochan
87d53e3bef
fix: build dependencies in correct order
...
ref pnpm/pnpm#1109
2018-04-12 03:24:09 +03:00
Zoltan Kochan
19e5c37993
feat: ownLifecycleHooksStdio option added for install()
2018-04-09 21:43:39 +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
a89b0d1605
feat: the stats logs also contain the project prefix
...
BREAKING CHANGE:
StatsLog has a new required field
2018-04-02 23:12:17 +03:00
Zoltan Kochan
46fd81c003
perf: make preferFrozenShrinkwrap true by default
2018-04-01 16:14:37 +03:00
Zoltan Kochan
336945a83b
fix: don't prefer frozen shr when its minor version not expected
2018-04-01 11:50:59 +03:00
Zoltan Kochan
6aed1cf225
fix(lifecycle): run scripts of deps in correct order
2018-03-31 20:07:06 +03:00
Zoltan Kochan
a0d991530e
fix(frozen-shrinkwrap): don't fail when no shrinkwrap.yaml present
...
ref pnpm/pnpm#1065
2018-03-25 23:45:48 +03:00
Zoltan Kochan
11eea5abd6
fix: prefer existing version of non-pure deps during installation
...
ref pnpm/pnpm#1092
2018-03-25 14:54:00 +03:00
Zoltan Kochan
0f33896ef3
feat: implement frozen-shrinkwrap (headless) installation
...
ref pnpm/pnpm#1065
PR #58
2018-03-24 15:11:43 +02:00
Zoltan Kochan
df1c160e37
refactor: remove redundant status log
2018-03-20 22:43:16 +02:00
Zoltan Kochan
e37671cbde
refactor: move code to @pnpm/link-bins
2018-03-20 00:06:30 +02:00
Zoltan Kochan
fa7c3b3c9b
refactor: move code to @pnpm/package-bins
2018-03-19 03:39:27 +02:00
Zoltan Kochan
9a2f852ada
refactor: move code to @pnpm/lifecycle
2018-03-18 23:12:47 +02:00
Zoltan Kochan
e0f4e1efb5
refactor: remove src/runScript.ts
2018-03-18 03:12:26 +02:00
Zoltan Kochan
da00248a55
refactor: move some code to pnpm-shrinkwrap
2018-03-18 01:08:17 +02:00
Zoltan Kochan
d0faaebfad
refactor: use @pnpm/modules-yaml
2018-03-17 22:59:30 +02:00
Zoltan Kochan
e6ea9d4aee
fix(shrinkwrap): save non-default registries in resolution field
2018-03-15 23:39:04 +02:00
Zoltan Kochan
3d3890c280
fix(shrinkwrap): save non-standard tarball URLs
...
ref pnpm/pnpm#1072
2018-03-12 23:49:51 +02:00
Zoltan Kochan
07b9601893
refactor: access scripts not via string literals
2018-03-12 22:38:02 +02:00
renovate[bot]
ae897e54de
fix(deps): update dependency package-store to ^0.18.0 ( #54 )
...
* fix(deps): update dependency package-store to ^0.18.0
* fix: types
2018-03-11 22:22:47 +02:00
Emanuele Tamponi
4030cc361f
fix: notDependents should be an array of dep paths
...
* fix: notDependents should be an array of dep paths
* test: remove testOnly
* fix: pass pkgIds to updateConnections()
* refactor: use strict types
* refactor: rename notDependent to orphan
ref #52
2018-03-08 13:10:06 +02:00
Zoltan Kochan
12a26da8e1
feat: allow modifying root package with readPackage() hook
...
ref pnpm/pnpm#1063
2018-03-07 21:02:48 +02:00
Zoltan Kochan
8537db6c41
refactor: fixing bad namings
2018-03-07 00:46:49 +02:00
Zoltan Kochan
58191c3ad7
refactor: rename the key of hoistedAliases
2018-03-07 00:08:27 +02:00
Zoltan Kochan
3868a14d75
refactor: rename tree to graph
2018-03-06 23:25:39 +02:00
Zoltan Kochan
bc34aba650
style: adhere conventions
2018-03-05 15:49:34 +02:00
Zoltan Kochan
c82a33678d
fix: linking to global package
2018-03-05 11:36:22 +02:00
Zoltan Kochan
f34f966135
feat: specify linked deps in shrinkwrap.yaml ( #51 )
...
* feat: specify linked deps in shrinkwrap.yaml
* feat: node_modules is pruned after linking from external package
* feat: link() and linkFromGlobal() expect arrays as first args
BREAKING CHANGE:
link() expects an array as first arg
BREAKING CHANGE:
linkFromGlobal() expects and array as first arg
* feat: update specifiers field in shrinkwrap.yaml when linking
* fix: prune node_modules after linking
2018-03-05 09:48:51 +02:00
Zoltan Kochan
d60164d50f
refactor: move shrinkwrap reading logic to separate file
2018-03-03 15:28:56 +02:00
Zoltan Kochan
08cc9ff284
fix: revert changes to global package.json
2018-03-01 01:08:35 +02:00
Zoltan Kochan
3063a6b7ea
fix: create package.json during installation when there is no one
...
ref pnpm/pnpm#1049
2018-03-01 00:28:22 +02:00
Zoltan Kochan
98dc2cdf0b
feat: force local tarball fetch when its integrity has changed
...
BREAKING CHANGE:
requestPackage() of the storeController is expected to answer
with a pkgResponse.body.updated
ref pnpm/pnpm#1054
2018-02-28 02:08:44 +02:00
Emanuele Tamponi
7a4661df37
fix: use the real path to node_modules ( #49 )
...
BREAKING CHANGE:
The API of link() has changed. The second param should be the target `node_modules` folder
2018-02-27 21:35:20 +02:00
Emanuele Tamponi
c3a32113c7
fix: flatten peer dependencies correctly ( #48 )
...
* fix: children contains absolutePaths, not ids
* fix: it is dependency path, as per review
2018-02-26 20:22:17 +02:00
Emanuele Tamponi
556910e9aa
fix: flatten dependencies by alias ( #47 )
...
* fix: flatten by alias
* fix: rename field, other fixes
* fix: more bug fixes
* fix: make all tests run, write a (failing) test for pruning
* fix: reflatten after pruning
* fix: do not log installation/removal of hoisted aliases
* fix: follow review comments
* fix: use muteLogs instead of skipLogs
2018-02-25 13:42:17 +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
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
Emanuele Tamponi
a5f9b30182
fix: --global --shamefully-flatten uses a different prefix
2018-02-22 00:21:16 +01:00