Commit Graph

285 Commits

Author SHA1 Message Date
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
zkochan
f043b2f62d feat: report deprecation warnings
Close https://github.com/pnpm/pnpm/issues/628
2017-07-11 22:29:28 +03:00
zkochan
bc35651b4a fix: don't always warn about different shrinkwrap on uninstall 2017-07-09 23:06:53 +03:00
zkochan
4d9af8aa6c fix: partial update of private shrinkwrap file on named installs 2017-07-09 20:55:31 +03:00
zkochan
6a0da65456 fix: partial shrinkwrap file has to be created on named install
Installation should not fail when doing a noop installation
after a named installation
2017-07-09 15:45:07 +03:00
zkochan
844bc110e1 feat: add logging of adding/removing root dependencies 2017-07-08 20:59:32 +03:00
zkochan
03f0cb77a7 refactor: move out store code to separate package 2017-07-06 00:28:38 +03:00
Zoltan Kochan
e268796e4f fix: skipped packages should not be installable 2017-07-04 01:58:03 +03:00
zkochan
f820700446 perf: assume package not in node_modules if not in private shr 2017-07-03 22:04:25 +03:00
zkochan
2881eb461a perf: assume package is not in store if it is not in store.json 2017-07-03 20:56:33 +03:00
zkochan
b8541a4631 perf: read store index file at the beginning of installation 2017-07-02 22:33:02 +03:00
zkochan
5fba123f41 perf: read package.json and inner/outer shrinkwrap together 2017-07-02 03:11:56 +03:00
zkochan
72f211931e fix: prefer dev/optional deps from package.json
When specs of dev or optional dependencies in `package.json`
defer from the ones in `shrinkwrap.yaml`, prefers the specs from
`package.json` and ignore the ones in `shrinkwrap.yaml`.
After installation, `shrinkwrap.yaml` has to be updated with
specs that match the ones in `package.json`.
2017-07-01 21:59:29 +03:00
zkochan
05748c4a5d feat: expect the pm package.json from outside 2017-07-01 19:47:01 +03:00
zkochan
fd2b23ebf0 feat: add an option to pass in a logs listener
Ref https://github.com/pnpm/pnpm/issues/572
2017-07-01 16:05:31 +03:00
zkochan
e1476af76e feat: print more info on different stages of installation 2017-07-01 14:32:46 +03:00
zkochan
00316c90c0 feat: add logging of reused packages and resolving packages 2017-07-01 13:57:06 +03:00
zkochan
eab0928d20 fix: with --no-lock project folder should not be locked 2017-06-29 22:38:46 +03:00
Zoltan Kochan
001370c6eb refactor: removing CLI stuff from supi 2017-06-28 20:11:40 +03:00
zkochan
8ca612477d fix: uninstall should remove dependency from any property 2017-06-26 22:36:36 +03:00
zkochan
ddc73c83f8 fix: always keep shrinkwrap.yaml in sync with package.json 2017-06-26 00:14:25 +03:00
zkochan
c9abd79661 refactor: rename storePath in .modules.yaml to store 2017-06-25 21:16:22 +03:00