Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
96ad241be2 test: shrinkwrapVersion should be 3 not 3.1 2017-10-05 00:31:10 +03:00
Unknown
87fb2a16ca feat: use shrinkwrap version 3.1 2017-10-02 02:53:01 +03:00
zkochan
e789a27d14 fix(lifecycle): scripts are able to find node-gyp 2017-09-29 00:42:06 +03:00
Unknown
1e9cda32b3 test: child stdout is reported 2017-09-23 14:56:06 +03:00
zkochan
77ac86764b fix: use @zkochan/npm-lifecycle for running lifecycle events
Ref https://github.com/pnpm/pnpm/issues/892
2017-09-17 15:05:10 +03:00
Zoltan Kochan
8d6d1485ec feat: support save-prefix
Ref https://github.com/pnpm/pnpm/issues/888
2017-09-14 02:00:55 +03:00
zkochan
98ee034307 fix: avoid redundant "Creating depenendency tree" logs 2017-09-10 15:46:43 +03:00
zkochan
b1cb034c11 feat: add a hook to modify dependency manifests
Ref https://github.com/pnpm/pnpm/issues/861
2017-09-02 12:24:34 +03:00
Unknown
390da1c558 test: peer dependencies are linked 2017-08-29 21:44:59 +03:00
Unknown
d58d5879df test: add more tests 2017-08-25 21:59:36 +03:00
zkochan
835f57ff33 fix: install latest when * is specified as the version range
Ref https://github.com/pnpm/pnpm/issues/865
2017-08-01 22:30:49 +03:00
zkochan
4fc3c4e8a5 feat: report dependency type when adding/removing 2017-08-01 01:11:57 +03:00
zkochan
2b7e5f6922 perf: try to preserve subdependencies of updated packages 2017-07-30 22:04:01 +03:00
zkochan
40d521e927 test: use sinon to test reporting of missing peer deps warnings 2017-07-29 00:10:55 +03:00
zkochan
fb360d4c00 fix: pre and postinstall are ran once when install is present
Ref https://github.com/pnpm/pnpm/issues/856
2017-07-24 00:53:17 +03:00
zkochan
6a76dc3aa1 fix: run install script of the project
Ref https://github.com/pnpm/pnpm/issues/854
2017-07-23 21:57:51 +03:00
zkochan
69ef40a0c8 feat: add pruneStore()
Store prunning removes unreferenced packages and packages
referenced by projects that no longer exist.

Also, orphan packages are no removed durign other operations,
except store and node_modules prunning.

Ref https://github.com/pnpm/pnpm/issues/430
2017-07-23 17:25:58 +03:00
zkochan
1e3cb65a21 feat: add verifyStoreIntegrity option
Ref https://github.com/pnpm/pnpm/issues/802
2017-07-22 01:49:05 +03:00
zkochan
43635e6bbb feat: reporter has a Log type 2017-07-11 22:55:00 +03:00
zkochan
f043b2f62d feat: report deprecation warnings
Close https://github.com/pnpm/pnpm/issues/628
2017-07-11 22:29:28 +03:00
zkochan
9c392afe3f fix: the depth config should limit the update 2017-07-10 21:50:43 +03:00