Commit Graph

33 Commits

Author SHA1 Message Date
Zoltan Kochan
58af6ef797 feat: add writeWantedOnly() 2018-01-03 03:12:28 +02:00
zkochan
3ad119149c refactor: use @pnpm/logger instead of @pnpm/logger
BREAKING CHANGE: peer dependencies updated
2017-11-10 21:46:14 +02:00
zkochan
c5b874b5d9 style: fix 2017-11-06 23:36:27 +02:00
zkochan
73bb8209fa fix: keep shrinkwrapMinorVersion during pruning 2017-10-28 14:10:26 +03:00
zkochan
d9be80d449 feat: allow dev: false in shrinkwrap.yaml
BREAKING CHANGE:

Cannot be used for shrinkwrap.yaml 3.1 anymore
2017-10-28 11:34:34 +03:00
zkochan
164c01ea5c feat: give better names to some types 2017-10-28 00:24:43 +03:00
zkochan
6200aa9d60 feat: add 'shrinkwrapMinorVersion' to shrinkwrap.yaml 2017-10-15 02:57:28 +03:00
zkochan
07281cbaa5 feat: add more fields to shrinkwrap.yaml
Ref https://github.com/pnpm/pnpm/issues/911
2017-10-13 02:03:51 +03:00
Zoltan Kochan
9d1d4f433e feat: rename public/private to wanted/current shrinkwrap 2017-10-09 00:51:23 +03:00
zkochan
98fe1ee4a0 fix: fail on incompatible 2017-10-07 01:14:34 +03:00
zkochan
fd47cbaaa1 fix: decrease shrinkwrapVersion to 3 2017-10-03 01:44:57 +03:00
zkochan
a08d51ec34 feat: add version to DependencyShrinkwrap 2017-10-02 21:59:05 +03:00
zkochan
eea643e479 feat: store package name of non-npm-hosted packages
bump shrinkwrapFile version to 3.1
2017-10-02 02:14:30 +03:00
zkochan
4bd0cf5c98 refactor: use dependency-path 2017-07-15 13:18:04 +03:00
zkochan
d5c9514ed4 feat: print warning when public/private shrinkwraps differ 2017-07-09 16:55:18 +03:00
zkochan
a7d241ec8f fix: create folders for node_modules/.shrinkwrap.yaml 2017-07-09 14:31:06 +03:00
zkochan
a2712dee4a feat: pass both the public and private shrinkwrap files for save
If the public and private shrinkwraps are the same, they are
stringified once.

BREAKING CHANGE:

The `save` function public API changed
2017-07-09 13:32:26 +03:00
zkochan
4244e88d32 feat: return null when shrinkwrap.yaml not found
...and export the `create` function.

BREAKING CHANGE:

instead of returning a default shrinkwrap, return null when
no `shrinkwrap.yaml` file found.
2017-07-09 11:59:53 +03:00
zkochan
821adfde64 feat: rename save to write
Move read and write to separate files.

BREAKING CHANGE:

the public `save` function renamed to `write`
2017-07-09 11:52:53 +03:00
zkochan
194a118c64 refactor: use one read function under the hood for both reads 2017-07-09 11:17:59 +03:00
zkochan
ec6382a2fb feat: don't ignore incompatible on CI servers by default
BREAKING CHANGE:

`opts.force` renamed to `opts.ignoreIncompatible` in `read`.

BREAKING CHANGE:

breaking changes in the shrinkwrap format are not ignore by
default on CI servers.
2017-07-09 10:54:57 +03:00
zkochan
8016649a09 fix: save the stringified yaml doc to shrinkwrap.yaml 2017-07-07 23:35:52 +03:00
zkochan
542a255795 perf: stringify YAML doc only once for the inner/outer shrinkwrap 2017-07-07 22:50:59 +03:00
zkochan
6d82f6c6cb fix: don't add empty dependency property 2017-06-25 23:28:10 +03:00
zkochan
633142e0b6 fix: local tarball dependencies should be resolved 2017-06-25 22:56:16 +03:00
zkochan
87a0979260 fix: don't log warning on missing local dependency resolution 2017-06-25 22:14:37 +03:00
zkochan
77223b796e fix: should convert version to shrinkwrapVersion
For backward compatibility
2017-06-23 23:00:16 +03:00
zkochan
506edb2a57 refactor: rename version field to shrinkwrapVersion 2017-06-23 10:19:29 +03:00
zkochan
c00c2dd668 feat: don't write empty packages property
BREAKING CHANGE:

The packages property is not required anymore
2017-06-17 20:57:49 +03:00
Zoltan Kochan
3bf31868b7 fix: optional is set to true for non-optional 2017-06-05 23:17:07 +03:00
zkochan
cedfc42df8 fix: lockfile prunning 2017-06-05 21:59:10 +03:00
zkochan
a5af50be6b feat: add reading/writing 2017-06-05 20:01:02 +03:00
zkochan
ba507c4bc2 feat: init 2017-06-05 19:39:29 +03:00