Commit Graph

306 Commits

Author SHA1 Message Date
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
5f8f212a6c refactor: rename ManifestLog to PackageJsonLog
BREAKING CHANGE: log rename
2017-11-10 22:15:11 +02:00
zkochan
69d5bb4dd6 refactor: use @pnpm/logger instead of pnpm-logger
BREAKING CHANGE: peer dependencies updated
2017-11-10 22:01:23 +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
f358ffd600 feat: log dependency type changes
ref https://github.com/pnpm/pnpm/issues/926
2017-11-04 00:12:14 +02:00
zkochan
12ff1fd082 fix: the value of opts.optional = opts.production by default 2017-10-28 16:25:33 +03:00
zkochan
aaebd1d0fa fix: fail install when optional deps are installed without prod deps 2017-10-28 16:10:28 +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
df1aa81649 refactor: rename private/public to current/wanted shrinkwra 2017-10-21 18:57:13 +03:00
zkochan
083d001ca6 fix: don't update shrinkwrapMinorVersion on named install 2017-10-15 21:17:52 +03:00
zkochan
c67f8e7ad7 fix: always update the whole shrinkwrap.yaml when it's v3 2017-10-15 20:52:08 +03:00
zkochan
65d31f1fa9 fix: install works properly with any future minor version of shrinkwrap 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
f01f7281a3 perf: faster install with lockfile
Ref https://github.com/pnpm/pnpm/issues/911
2017-10-15 13:13:14 +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
7c12c3ed2b fix(rebuild): parsing dependency path 2017-10-03 22:30:51 +03:00
Unknown
4743feb2eb feat: rebuild
Ref https://github.com/pnpm/pnpm/issues/756
2017-10-02 22:53:57 +03:00
zkochan
6dcf504159 feat: try to use a store from the same disk 2017-09-30 19:25:09 +03:00
zkochan
5fa2b7b179 feat: use npm/lifecycle for root events
Ref https://github.com/pnpm/pnpm/issues/892
2017-09-23 17:54:32 +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
7cd41e1ddb feat: log child process exit code 2017-09-15 01:39:46 +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
Unknown
f5c7ab550c refactor: use package-store to resolve store path 2017-09-12 02:00:34 +03:00
zkochan
2d64f70980 fix: report and write to shrinkwrap.yaml root deps correctly
Ref https://github.com/pnpm/pnpm/issues/884
2017-09-09 01:07:38 +03:00
zkochan
f6981ee5b4 fix: retry tarball download on bad length and integity failure
Ref https://github.com/pnpm/pnpm/issues/872
2017-09-08 21:40:38 +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
decf3c4315 fix: packages with peers are correctly saved in store index 2017-08-25 22:00:10 +03:00
zkochan
aff8c9feb3 fix: remove bins when uninstalling global packages
Ref https://github.com/pnpm/pnpm/issues/749
2017-08-01 01:55:14 +03:00
zkochan
4fc3c4e8a5 feat: report dependency type when adding/removing 2017-08-01 01:11:57 +03:00
zkochan
8055b8a350 fix: link to global links bins to the global bin filter
Ref https://github.com/pnpm/pnpm/issues/853
2017-07-31 02:01:39 +03:00
zkochan
444f994c42 refactor: move options that don't change to context 2017-07-30 12:07:46 +03:00
zkochan
08e096a06b fix: don't update package when unlinking 2017-07-28 00:11:39 +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
3b4adbc054 refactor: send only the info that needed to resolve peers 2017-07-21 22:20:36 +03:00
zkochan
dd809b802e fix(unlink): no unnecessary warning about scoped packages 2017-07-19 00:33:25 +03:00
zkochan
a10c503fd2 refactor: use pnpm-logger instead of bole 2017-07-18 22:47:44 +03:00
zkochan
f1b2b52341 fix: don't create a lockfile in the parent directory
There might no access granted to the parent directory.
Locks are now created in a central location, in a folder called
`_locks`, inside the store folder.

Ref https://github.com/pnpm/pnpm/issues/849
2017-07-17 21:41:36 +03:00
zkochan
335392b57d feat: add unlink() and unlinkPkgs()
Ref pnpm/pnpm#819
2017-07-16 22:19:47 +03:00
zkochan
441356a244 fix: empty node_modules not created when nothing installed 2017-07-16 14:00:31 +03:00
zkochan
4de01d55dd fix: don't create an empty folder for the lockfile
Ref https://github.com/pnpm/pnpm/issues/843
2017-07-16 01:16:55 +03:00
zkochan
85269d943a refactor: use encode-registry and dependency-path 2017-07-15 14:00:06 +03:00