Zoltan Kochan
48b7bcf561
test: use .resetHistory() on spies instead of .reset()
2018-05-04 01:06:35 +03:00
Zoltan Kochan
9c9d79cbbe
test: fix typings to make ts-node happy
2018-04-17 22:53:48 +03:00
Zoltan Kochan
9ea263f5e5
fix: saving shrinkwrap.yaml should not fail when dep has no spec
...
ref pnpm/pnpm#1104
2018-04-14 23:39:00 +03:00
Zoltan Kochan
3868a14d75
refactor: rename tree to graph
2018-03-06 23:25:39 +02:00
Zoltan Kochan
bc34aba650
style: adhere conventions
2018-03-05 15:49:34 +02:00
Zoltan Kochan
3063a6b7ea
fix: create package.json during installation when there is no one
...
ref pnpm/pnpm#1049
2018-03-01 00:28:22 +02:00
Emanuele Tamponi
fdad157392
feat: --shamefully-flatten ( #42 )
...
* feat: this is a best attempt at flattening the dependency tree, similar to what npm does
* test: shamefullyFlatten option
* feat: when uninstalling, if shamefully-flatten is true, we need to re-flatten
* fix: use new shrinkwrap, not the old one
* fix: changes suggested in PR
* test: remove test.only
* fix: various bugs in uninstall and general install, added tests
* test: fix test
* test: use project.has and project.hasNot correctly
* test: remove test.only
* test: added tsconfig.json, added lint-test script, lint fixes
* test: use correct message
* fix: check should work on windows too
2018-02-22 01:04:44 +02:00
Zoltan Kochan
6740004fe6
feat(logging): log resolution_started and importing_started
...
ref pnpm/pnpm#1017
2018-01-31 00:28:31 +02:00
Zoltan Kochan
85eb2a65d5
feat(logging): log the end of importing packages from store
...
ref pnpm/pnpm#1017
2018-01-30 22:29:11 +02:00
Nicholas Pape
7336862ee5
fix: store path check should do a path-comparison, not a string comparison ( #39 )
...
* Change string compare to a path compare
* Add some tests
* Fix problem with slashes
* Allow injecting of path
* Add a simpler test
* fix: remove unused variable
ref #996
2018-01-18 21:22:03 +02:00
Zoltan Kochan
bb7aff4af6
refactor: use own options
...
BREAKING CHANGE:
storeController is not an optional parameter anymore
2018-01-07 22:34:31 +02:00
Zoltan Kochan
119e66cc81
test: awaiting project.has/storeHas
2018-01-03 20:27:48 +02:00
Zoltan Kochan
a5beb477ee
fix: log correct number of added packages
...
Also, link only packages that need to be linked from the store
2017-12-31 17:29:49 +02:00
Zoltan Kochan
d57942ce8e
feat: log installation stats about number of added/removed
...
BREAKING CHANGE:
The logging format changed of the installation stats
2017-12-27 02:31:41 +02:00
Zoltan Kochan
4ce61da867
feat: when resolving, prefer version ranges specified for top deps
...
ref https://github.com/pnpm/pnpm/issues/952
2017-12-25 02:07:07 +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
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
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
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
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
e1a655bee3
test: verify that all necessary fields are saved to shrinkwrap.yaml
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
98ee034307
fix: avoid redundant "Creating depenendency tree" logs
2017-09-10 15:46:43 +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
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
9c392afe3f
fix: the depth config should limit the update
2017-07-10 21:50:43 +03:00
zkochan
844bc110e1
feat: add logging of adding/removing root dependencies
2017-07-08 20:59:32 +03:00
zkochan
6354f13c2f
test: resolution stage completion is logged
2017-07-01 18:11:25 +03:00
zkochan
f1654385c1
test: logging should work
2017-07-01 18:03:52 +03:00
Zoltan Kochan
001370c6eb
refactor: removing CLI stuff from supi
2017-06-28 20:11:40 +03:00
zkochan
c9abd79661
refactor: rename storePath in .modules.yaml to store
2017-06-25 21:16:22 +03:00
zkochan
c156101a99
refactor: rename store-path config to store
...
BREAKING CHANGES:
rename `store-path` config to `store`
Ref #458
2017-06-20 23:30:06 +03:00
zkochan
fc73f84d23
refactor: move global tests to separate file
2017-06-18 22:38:38 +03:00
zkochan
982498c2af
fix: global install should not remove everything prev installed
...
Ref #808
2017-06-18 20:37:17 +03:00
zkochan
5c649b1611
fix: should not fail on new installation
...
Should not fail when installing a new dependency in a project
that has a lockfile with other dependencies but no node_modules
folder.
2017-06-16 22:20:14 +03:00
zkochan
7b62b97411
fix: argumentless forced installation
...
Close #796
2017-06-15 22:21:56 +03:00
zkochan
967bb72f7f
fix: save packages to the correct properties
...
Close #727
2017-06-11 19:11:09 +03:00
zkochan
b5c6d4a5fe
fix: update package on named installation
2017-06-11 18:00:22 +03:00
zkochan
0709c2df40
test: use notOk when possible
2017-06-04 22:07:22 +03:00
zkochan
586afa193b
perf: faster install
2017-06-03 20:50:09 +03:00