Commit Graph

499 Commits

Author SHA1 Message Date
zkochan
9309aa873e chore: release v0.69.3 2017-06-10 01:36:17 +03:00
zkochan
8d18ad2d8f fix: setting NODE_PATH in cmd shims on Windows 2017-06-10 01:35:31 +03:00
zkochan
97726c62cb fix(package): update execa to version 0.7.0
Close #790
2017-06-10 01:33:35 +03:00
zkochan
7c278c15fe chore: release v0.69.2 2017-06-08 02:22:08 +03:00
zkochan
6b47c424c6 chore: release v0.69.1 2017-06-06 19:47:10 +03:00
zkochan
f5913220cd chore: release v0.69.0 2017-06-06 13:38:15 +03:00
zkochan
0dfe760700 fix: respect shrinkwrap for all types of dependencies 2017-06-06 13:29:59 +03:00
Zoltan Kochan
0b942d9698 chore: update pnpm-locker to version 0.1.1 2017-06-05 23:27:32 +03:00
zkochan
6f05b07739 chore: release v0.69.0-beta.4 2017-06-06 01:24:41 +03:00
zkochan
2c04aa69da feat: save optional deps separately in the lockfile
For correct prunning of the lockfile, it has to be known
which deps are optional. Also it has to be known which
deps are dev deps in the root.

BREAKING CHANGE:

lockfile format changed
2017-06-05 22:06:32 +03:00
zkochan
5acc4671f0 feat: support the --no-optional flag
The --no-optional argument prevents optional dependencies from
being installed.

Close #460
2017-06-05 14:46:05 +03:00
zkochan
63d3fd0a90 fix: non-compatible package should still be saved to store
Ref #759
2017-06-04 23:23:12 +03:00
zkochan
7f4515c292 refactor: require symlink-dir instead of import 2017-06-04 22:02:07 +03:00
zkochan
16cbc56041 chore: release v0.69.0-beta.3 2017-06-04 21:34:40 +03:00
zkochan
f2ff9797f3 fix: fall back to copying when cannot link package
Ref #712
2017-06-04 20:12:31 +03:00
zkochan
8e668bd339 chore: release v0.69.0-beta.2 2017-06-04 13:25:00 +03:00
zkochan
b35a581b0e chore: release v0.69.0-beta.1 2017-06-03 15:51:25 +03:00
zkochan
1e91300714 chore: update dependencies
close #781, close #779, close #780, close #778, close #774
2017-06-03 14:51:57 +03:00
zkochan
f414e256e8 fix: subdeps of skipped optionals are skipped as well 2017-06-03 14:31:17 +03:00
Zoltan Kochan
03433abadf refactor: use ssri for checking integrity 2017-05-29 02:12:41 +03:00
Zoltan Kochan
c84cd24302 fix: non-installable optional subdependencies are not linked 2017-05-28 17:51:26 +03:00
zkochan
f1218424d7 chore: update ramda to version 0.0.10
Close #774
2017-05-23 22:35:45 +03:00
zkochan
69cbd1701f perf: explicitly tell the path to package.json
Use `read-package-json` for reading `package.json`.
The same package is used by npm.

Use `load-json-file` instead of `read-pkg` with
normalize = false.
2017-05-14 17:37:24 +03:00
zkochan
4c34d00ed7 chore: release v0.68.0 2017-05-13 19:20:16 +03:00
zkochan
080bc16928 chore: update dependencies
Close #745
2017-05-11 21:45:34 +03:00
zkochan
18fdfb45d4 chore: release v0.67.3 2017-05-09 22:30:47 +03:00
zkochan
30be1df980 chore: release v0.67.2 2017-05-09 18:23:40 +03:00
Zoltan Kochan
5de380989a fix(linking): packages should not loose their peer deps (#761)
* test(install): peer dependencies should be resolved correctly

* fix(linking): packages should not loose their peer deps

When a peer dependency is resolved not from the direct parent,
dependent packages should be duplicated with hard links in order
to preserve the correct set of resolved peer dependencies.

Semi-breaking change. The node_modules structure is changed but
doesn't need a complete removal of a node_modules created with
previous version of pnpm.

* docs: document how peer dependencies are resolved

Ref #694, Ref #726

* docs: nicer comments in code blocks

* docs: more explanation about peer deps
2017-05-09 18:21:39 +03:00
zkochan
ef849298b1 chore: release v0.67.1 2017-05-08 23:41:42 +03:00
zkochan
6121e6e563 chore: release v0.67.0 2017-05-07 23:33:11 +03:00
zkochan
21ec1d5819 chore: release v0.66.4 2017-05-07 16:39:25 +03:00
zkochan
dfe712e762 chore: release v0.66.3 2017-05-07 15:23:51 +03:00
zkochan
88061b96ed fix: legacy token is basic auth
Close #708
2017-05-07 09:05:40 +03:00
zkochan
f4d3079c55 chore: release v0.66.2 2017-04-28 17:00:27 +03:00
zkochan
c72bcc5453 chore: release v0.66.1 2017-04-27 21:25:36 +03:00
zkochan
f50bf1d8d1 chore: release v0.66.0 2017-04-27 16:18:25 +03:00
zkochan
1ee5690d7a chore: release v0.65.7 2017-04-26 15:02:57 +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
40dd98bc00 chore: release v0.65.6 2017-04-25 20:35:18 +03:00
zkochan
33ada9f947 test: when pkg meta is not on the domain on which the tarball 2017-04-25 20:09:12 +03:00
zkochan
c8036fc930 test: add auth tests
Close #432
2017-04-25 19:50:43 +03:00
zkochan
0efd2c13c3 chore: release v0.65.5 2017-04-25 16:53:00 +03:00
zkochan
42e8d6a1f1 chore: release v0.65.4 2017-04-24 23:51:19 +03:00
Zoltan Kochan
fe5a2d7637 fix: support legacy auth token config key
This was fixed in registry-auth-token, so just updating it to
version 3.3.0

Close #618, Close #708
2017-04-24 23:33:11 +03:00
zkochan
ba1025e5c3 chore: release v0.65.3 2017-04-24 17:54:26 +03:00
zkochan
a1be6c980c chore: release v0.65.2 2017-04-23 20:38:56 +03:00
zkochan
9bbe71034f chore: release v0.65.1 2017-04-22 23:16:43 +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
b4906e2bd0 chore: release v0.65.0 2017-04-20 23:26:40 +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