Commit Graph

321 Commits

Author SHA1 Message Date
zkochan
fa8f2e57db fix(user-agent): set the correct user-agent 2017-04-08 15:39:18 +03:00
zkochan
76fc444219 fix(lifecycle): run preinstall before general installation
As well as other lifecycle scripts.
2017-04-08 14:35:35 +03:00
zkochan
35043418d9 fix(reporter): use reporter when specified on CI servers 2017-04-07 21:49:48 +03:00
zkochan
da20e93f5b fix(reporter): log all installation steps for top deps 2017-04-07 01:44:26 +03:00
zkochan
0a130d310d feat: recreate node_modules only with general installation
Close #674
2017-04-05 23:06:18 +03:00
zkochan
89b135671a feat: forced installation keeps outer links
Ref #674
2017-04-05 22:12:40 +03:00
zkochan
ee1b390dfb feat: proper resolving of peer dependencies
BREAKING CHANGE: structure of node_modules changed

Close #678, PR #694
2017-04-04 23:00:48 +03:00
zkochan
2e95cb8e59 fix(lifecycle): run scripts only in installable dependencies 2017-03-31 22:10:09 +03:00
zkochan
40b436cd8c fix: subdeps of not installable packages are ignored 2017-03-31 20:55:27 +03:00
zkochan
1a7528d43d fix(peers): binstubs of peer dependencies are linked to the dependent package's bin folder 2017-03-27 01:54:22 +03:00
zkochan
77f752e6d0 refactor(move isInnerLink() to separate file): 2017-03-27 00:18:33 +03:00
zkochan
ebb13e5512 refactor: move getIsInstallable() to separate file 2017-03-27 00:15:19 +03:00
zkochan
e9a9e17388 refactor: declare dependency object later in install() 2017-03-26 23:54:59 +03:00
zkochan
7714145218 refactor: moving more linking logic out of installMultiple 2017-03-26 15:33:54 +03:00
zkochan
8a21f8103d refactor: move is inner link logic out of installMultiple 2017-03-26 14:58:33 +03:00
zkochan
c3de6fed96 refactor: decouple fetching and linking logic 2017-03-26 02:06:14 +02:00
zkochan
d37f781459 fix: optional dependencies are always resolved
Close #679
2017-03-24 01:22:32 +02:00
zkochan
5a4a46815e feat: rename pnpm verify to pnpm store status
BREAKING CHANGE: `pnpm verify` renamed to `pnpm store status`

BREAKING CHANGE: don't run `pnpm verify` before `pnpm publish`

Ref #430, Ref #658
2017-03-23 21:36:28 +02:00
zkochan
c336f4a026 refactor: use hosted-git-info instead of @zkochan/hosted-git-info 2017-03-22 22:46:04 +02:00
zkochan
dc8b0baabf refactor: use keypath for checking if dependency is top-level 2017-03-21 21:42:11 +02:00
zkochan
5ccfe64916 fix(reporting): errors are not printed in silent mode
Close #667
2017-03-20 23:19:32 +02:00
zkochan
e43aa6e8ae fix: installation of circular concurrent deps 2017-03-19 14:48:28 +02:00
zkochan
dbe6f206eb fix: should not fail when no registry specified in configs 2017-03-19 02:19:07 +02:00
zkochan
4b02b85f0a feat: when resolution only a shasum, fold the property
Close #664, PR #666
2017-03-19 00:35:10 +02:00
zkochan
686abe864b fix: registry can be passed in via parameter 2017-03-19 00:35:10 +02:00
zkochan
5d9044553d feat: no tarball paths in shrinkwrap.yaml for default registries
Ref #664, PR #666
2017-03-19 00:35:10 +02:00
zkochan
be2b13d6ae feat: smaller shrinkwrap
pkg IDs are shorter for packages hosted on the default registry

Ref #664, PR #666
2017-03-19 00:35:10 +02:00
zkochan
317cac03b6 feat: make shrinkwrap.yaml smaller
Ref #664
2017-03-19 00:35:10 +02:00
zkochan
185d1f6625 refactor: rename getRegistryFolderName()
Rename getRegistryFolderName() to getRegistryName()
2017-03-16 01:44:54 +02:00
zkochan
02145310d3 fix: internal shrinkwrap.yaml not recreated on forced install 2017-03-16 01:42:42 +02:00
zkochan
7e3169fd97 refactor: a save type is always present 2017-03-15 02:10:09 +02:00
zkochan
d3b0bb0c75 feat: use a shrinkwrap file instead of graph.yaml
Ref #658

BREAKING CHANGE: no `node_modules/.graph.yaml` used anymore
2017-03-13 21:23:41 +02:00
zkochan
e2068c401e feat: always save dependencies
Ref #658

BREAKING CHANGE: cannot insall a dependency w/o saving
2017-03-13 02:41:38 +02:00
zkochan
4f484162d4 feat: add offline support
Close #508, Close #659
2017-03-13 02:31:37 +02:00
zkochan
e1b132789a refactor: use ramda instead of lodash 2017-03-08 01:43:18 +02:00
zkochan
f0ae7a0ff2 fix: the tag config is used only for top-level named installs 2017-03-05 19:14:20 +02:00
zkochan
2977102fef refactor: use get-link-target
Ref #441
2017-03-05 19:07:38 +02:00
zkochan
0d6d77f0a0 fix(link): scoped deps are not identified correctly to be inner 2017-03-05 01:02:08 +02:00
zkochan
022ba5b96e fix(shrinkwrap): ignore breaking changes on CI server
Breaking changes in `shrinkwrap.yaml` should not fail
installation on CI servers.
2017-03-04 23:21:16 +02:00
zkochan
e4d21d63d7 fix(shrinkwrap): save scoped deps in shrinkwrap.yaml 2017-03-04 23:11:18 +02:00
zkochan
7d48b9d07e feat: remove shrinkwrap.yaml when no deps left in package.json 2017-03-04 22:05:10 +02:00
zkochan
ddc69abd9f feat(shrinkwrap): respect shrinkwrap.yaml for top deps 2017-03-04 21:57:39 +02:00
zkochan
d68fb703d8 refactor(shinkwrap): not type prop for tarball resolutions
Most of the resolutions are tarball files. Skipping the
type property for these decreases the size of `shrinkwrap.yaml`
significantly.
2017-03-04 16:07:48 +02:00
zkochan
91849fd88a feat(shrinkwrap): don't save empty shrinkwrap files 2017-03-04 16:07:48 +02:00
zkochan
1a8f7628a4 fix(shrinkwrap): ignore shrinkwrap when it is out of date
BREAKING CHANGE: shrinkwrap format changed

Close #634
2017-03-04 16:07:48 +02:00
zkochan
0ad4f92a93 refactor: no need to sort keys in package.json props
write-pkg from version 2.1.0 sorts keys in the dependency props.
2017-03-04 13:01:38 +02:00
zkochan
4aa3e78e88 fix: use path-exists instead of exists-file 2017-03-02 22:56:56 +02:00
zkochan
3d24f2389b perf: remove limiting of tarball unpacking concurrency 2017-03-02 00:50:41 +02:00
zkochan
c3fd6855ea perf: run postinstall scripts concurrently 2017-03-01 23:41:11 +02:00
zkochan
abfe16c234 refactor: normalize tarballs extension in local registry 2017-02-28 00:09:46 +02:00