zkochan
2ce22d3170
fix(CLI): options are passed through to npm
...
Close #747
2017-05-07 10:58:08 +03:00
zkochan
62f11adc68
fix: ignoring scoped packages installed by other pms
2017-04-28 16:55:45 +03:00
zkochan
bdbea75858
chore: update typescript to version 2.3
2017-04-27 21:18:49 +03:00
zkochan
d3c13bdcbb
perf: use a separate config for specifying repeat install depth
...
`repeat-install-depth` is used instead of `depth` when
analyzing the dependency tree during `install`.
Ref #722
2017-04-27 21:08:48 +03:00
zkochan
04c9c0feed
fix: running repeat install on out of date node_modules
...
Ref #722
2017-04-27 14:46:17 +03:00
Zoltan Kochan
a17a8df50c
Perf/fast repeat install ( #730 )
...
* perf: validating the node_modules structure to a specified depth
Ref #722
* feat: adding an update boolean property to the install API
BREAKING CHANGE:
Dependencies won't be updated when `update` is `false`.
It doesn't matter what the value of `depth` is.
`depth` is used for specifying how deep should the install
algorithm analize the dependency tree.
Ref #722
* refactor: merge new resolved deps with the previous
2017-04-27 11:04:37 +03:00
zkochan
b1635735ca
fix: always-auth config value is not ignored anymore
...
Ref #708
2017-04-26 14:49:17 +03:00
Zoltan Kochan
5d04767778
fix: peers are resolved similarly during named and general install ( #726 )
...
* fix: peers are resolved similarly during named and general install
There is no need to always run a general installation for
creating a predictable `node_modules` structure. If peers are
resolved from top dependencies, the peers are not linked to
the dependent package. The dependent package can see such peers
w/o additional manipulations
Ref #724
* fix: don't print warning when peer is resolved from top dep
* test: verify the peer warning are reported correctly
2017-04-26 14:40:45 +03:00
zkochan
a6a7ca5b04
fix: authorization during tarball fetch
...
Close #718 , Close #708
2017-04-25 17:19:02 +03:00
zkochan
97aa38e6b6
fix: pnpm does not delete stuff from node_modules
...
Ref #724
2017-04-25 16:45:35 +03:00
Zoltan Kochan
fdf8b9bf6d
feat: use corgi
...
Close #687
2017-04-24 20:20:02 +03:00
zkochan
b911c35eb2
fix: rewrite packages added by other package managers
...
Close #710
2017-04-24 17:47:30 +03:00
zkochan
6299f84cfb
fix: always end a registry URL with a slash
...
Ref #718
2017-04-24 13:05:30 +03:00
zkochan
7a9f657acf
fix: installation of packages from non-github repos
...
Close #716
2017-04-23 20:09:37 +03:00
zkochan
b36c9febc0
fix: peer deps are now resolved from preinstalled packages
2017-04-23 17:49:56 +03:00
zkochan
d051d74fea
refactor: installation
2017-04-23 16:44:30 +03:00
zkochan
e1582efcd6
refactor: don't pass unnecessary info during peer resolving
2017-04-23 15:04:35 +03:00
Zoltan Kochan
2c46333107
fix: global installation always works now ( #713 )
...
* fix: global installation always works now
Close #711
* refactor: avoid using `read-pkg-up`
BREAKING CHANGE:
API should be called in the folder that has a package.json file.
pnpm won't search up for a package.json file.
Close #67
* docs(API): update
* refactor: write-pkg created dir on its own
* refactor: rename `globalDir` to `globalPrefix`
* feat: saving the global package in <global prefix>/pnpm-global
2017-04-22 23:11:25 +03:00
zkochan
b94aaff38a
feat: use npm's config system
...
BREAKING CHANGE:
`rc` is not used to get configs.
BREAKING CHANGE:
`.pnpmrc` files are ignored
BREAKING CHANGE:
configs in json format are not supported
BREAKING CHANGE:
`--config` argument renamed to `--userconfig`
Close #696 , Close #40
2017-04-20 23:01:14 +03:00
Zoltan Kochan
a160521ab0
fix(install): correct params are passed to npm-package-arg
2017-04-19 15:45:11 +03:00
zkochan
646eafef15
fix: installation with custom dist-tag
2017-04-15 21:59:52 +03:00
zkochan
7f426d0cc7
fix: use the new npm-package-arg
2017-04-15 20:51:03 +03:00
zkochan
88633546d6
refactor: better typing for package specs
2017-04-15 16:18:23 +03:00
Zoltan Kochan
d5b26211c3
fix: inner link detection on Windows
2017-04-14 22:38:52 +03:00
zkochan
5c223e0540
fix: the correct spec is saved in package.json
...
When the package source is not the registry, the correct spec is
saved to `package.json`
2017-04-14 09:38:43 +03:00
zkochan
99d2274bd0
fix(unlink): unlink works with outer links
2017-04-13 23:43:29 +03:00
zkochan
7bb539d83a
fix: scoped packages installation from shrinkwrap.yaml
2017-04-09 19:49:11 +03:00
zkochan
765a139ede
fix: store status doesn't fail on skipped optional deps
...
A new property called `skipped` added to
`node_modules/.modules.yaml`. The property is an array of
package IDs, of those packages that are optional an were
skipped during installation.
Close #681
2017-04-09 14:06:49 +03:00
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