Commit Graph

396 Commits

Author SHA1 Message Date
Zoltan Kochan
8f030ed109 refactor: move option type to @pnpm/types 2017-12-04 21:39:47 +02:00
Zoltan Kochan
bf945814e4 perf: remove unnecessary memoization of json requests 2017-11-29 00:45:34 +02:00
Zoltan Kochan
7b17368689 fix: update supi to version 0.7.0
ref https://github.com/pnpm/pnpm/issues/559
2017-11-26 23:41:51 +02:00
Zoltan Kochan
b2140f7886 feat: allow to ignore files in packages
The opts.ignoreFile() function allows to ignore files in packages.
Ignoring means that files will neither be unpacked nor linked
into `node_modules`

Ref https://github.com/pnpm/pnpm/issues/804
2017-11-25 14:33:17 +02:00
Zoltan Kochan
0d5c6914d7 feat: support aliase for npm-hosted packages
ref https://github.com/pnpm/pnpm/issues/117
ref https://github.com/pnpm/pnpm/issues/837
2017-11-19 14:42:21 +02:00
Zoltan Kochan
801c46eca1 fix: argunmentless installation of aliased dependencies 2017-11-18 15:49:10 +02:00
Zoltan Kochan
b5e78ffed1 feat: git dependencies can be declared with an alias name
ref https://github.com/pnpm/pnpm/issues/838
2017-11-18 12:27:33 +02:00
Zoltan Kochan
0623570389 feat: always log the latest versions of the top dependencies
ref https://github.com/pnpm/pnpm/issues/921
2017-11-13 01:10:35 +02:00
Zoltan Kochan
1c2a8f8ff6 feat: log linked packages
ref https://github.com/pnpm/pnpm/issues/732
2017-11-12 20:23:47 +02:00
Zoltan Kochan
d0a2a8cc61 fix(logging): package-json updated is always logged on install 2017-11-12 02:11:01 +02:00
zkochan
4dd72a9249 feat(logging): show dep path of skipped optional dependencies
ref https://github.com/pnpm/pnpm/issues/760
2017-11-11 18:51:44 +02:00
zkochan
a7d5529b95 fix: skip failing enterprise test 2017-11-11 16:55:00 +02:00
zkochan
fb86150613 feat(logging): show path to package when showing warning about peers 2017-11-11 15:03:44 +02:00
zkochan
532f9adad2 fix: pure packages
pure packages are those that don't have unresolved peers down the
dependency graph.

close #15
2017-11-11 02:00:29 +02:00
zkochan
5f8f212a6c refactor: rename ManifestLog to PackageJsonLog
BREAKING CHANGE: log rename
2017-11-10 22:15:11 +02:00
zkochan
39c16b494f refactor: move log types to supi from pnpm-logger
BREAKING CHANGE:

dependends on pnpm-logger@0.7
2017-11-09 00:57:20 +02:00
zkochan
8a2388881e refactor: use PackageJson and PackageManifest instead of Package
BREAKING CHANGE:

The readPackage hook accepts a PackageManifest not a Package
2017-11-07 02:04:10 +02:00
zkochan
ab37d2a14b fix: link bins of linked package's deps correctly 2017-11-04 23:13:32 +02:00
zkochan
365c9fe8d1 test: reporting of initial/updated package.json 2017-11-04 11:55:53 +02:00
zkochan
54cb8b944e chore: use package-preview 2017-11-01 09:54:58 +02:00
zkochan
0a56b8e10e chore: remove separate package for tests 2017-11-01 09:51:55 +02:00
zkochan
c4215591ae fix: installation of non-dev dep 2017-10-28 22:50:43 +03:00
zkochan
cb5f37fb8e fix: should be possible to run normall install after dev-only 2017-10-28 20:53:10 +03:00
zkochan
aaebd1d0fa fix: fail install when optional deps are installed without prod deps 2017-10-28 16:10:28 +03:00
Unknown
d671d3d866 fix: install all transitive dev deps on --only dev
Use shrinkwrap version 3.2
2017-10-28 14:50:34 +03:00
Zoltan Kochan
4ec373f1d8 feat: support installation of only dev dependencies
Ref https://github.com/pnpm/pnpm/issues/461

BREAKING CHANGE:

`opts.production: true` doesn't mean that dev dependencies are
not going to be installed. In order to avoid dev dependencies
installation the `opts.development` should be set to `false`.

BREAKING CHANGE:

The value of NODE_ENV is ignored.
2017-10-27 01:46:46 +03:00
zkochan
bacda0c632 test: move --production tests to separate file 2017-10-26 23:45:18 +03:00
zkochan
097c1e1b6d chore: update shrinkwrap.yaml 2017-10-26 23:34:38 +03:00
zkochan
31c224f7d2 test: fix 'concurrent circular deps' 2017-10-19 00:35:36 +03:00
zkochan
236cdefc0b test: fix 'lifecycle scripts have access to node-gyp' 2017-10-19 00:33:33 +03:00
zkochan
d4d0d6f856 test: fix by updating version of pnpm-registry-mock 2017-10-16 01:42:05 +03:00
zkochan
e48c40efec fix: update of packages that have only peers 2017-10-16 01:29:59 +03:00
zkochan
6411077fd8 feat: no engines field in shrinkwrap.yaml when node: * 2017-10-15 13:13:14 +03:00
zkochan
e1a655bee3 test: verify that all necessary fields are saved to shrinkwrap.yaml 2017-10-15 13:13:14 +03:00
zkochan
37366df64b feat: set shrinkwrapMinorVersion to 1
Use exclusively manifest info from shrinkwrap.yaml only when
shrinwrap version is 3.1
2017-10-15 13:13:14 +03:00
zkochan
6742580c00 fix(shrinkwrap): don't save too peers deps that are own deps 2017-10-15 13:13:14 +03:00
zkochan
f01f7281a3 perf: faster install with lockfile
Ref https://github.com/pnpm/pnpm/issues/911
2017-10-15 13:13:14 +03:00
zkochan
f9f32c1c94 test: fix 'concurrent circular deps' 2017-10-13 21:42:30 +03:00
zkochan
c9f34fc8ab test: fix 'concurrent circular deps' 2017-10-10 00:33:45 +03:00
zkochan
86282d91e8 fix: link to global should not link dependencies
Ref https://github.com/pnpm/pnpm/issues/905
2017-10-08 16:24:46 +03:00
zkochan
96ad241be2 test: shrinkwrapVersion should be 3 not 3.1 2017-10-05 00:31:10 +03:00
Zoltan Kochan
640994f616 test(rebuild): await for async asserts 2017-10-04 01:22:08 +03:00
Unknown
4743feb2eb feat: rebuild
Ref https://github.com/pnpm/pnpm/issues/756
2017-10-02 22:53:57 +03:00
zkochan
2b3f27b827 feat: add version to DependencyShrinkwrap 2017-10-02 22:00:32 +03:00
Unknown
87fb2a16ca feat: use shrinkwrap version 3.1 2017-10-02 02:53:01 +03:00
Zoltan Kochan
c2c85c581c fix: run pre/post install scripts when install is available 2017-10-01 16:57:30 +03:00
zkochan
e789a27d14 fix(lifecycle): scripts are able to find node-gyp 2017-09-29 00:42:06 +03:00
zkochan
1e3162ee7e fix: don't fail when updating package with non-pure deps 2017-09-24 00:38:47 +03:00
Unknown
1e9cda32b3 test: child stdout is reported 2017-09-23 14:56:06 +03:00
zkochan
86d2b57699 test: fix integrity in test 2017-09-17 15:16:01 +03:00