Commit Graph

35 Commits

Author SHA1 Message Date
Zoltan Kochan
b8db1aa3b7 test: local tarball deps are updated on integrity mismatch
ref pnpm/pnpm#1054
2018-02-27 00:23:35 +02: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
175f50d01e feat: symlink file dependencies instead of copying them
This is roughly how npm@5 does it. However, pnpm does not try
to install dependencies of the file dependency, just a symlink
is created and the binstubs are linked into `node_modules/.bin`
if there are any.

BREAKING CHANGE:

file dependencies are symlinked instead of copied (packed/unpacked)

Ref #772
2017-06-17 19:49:18 +03:00
zkochan
c7be0df6cd fix(link): don't reinstall linked packages
Close #597
2017-02-17 20:33:43 +02:00
zkochan
ebd93b430f test: move out the storage cache to a separate package 2017-01-30 21:40:38 +02:00
zkochan
97df5548fa test(bin): update pre-and-postinstall-scripts-example 2017-01-27 21:54:49 +02:00
zkochan
92cf129b19 chore: change repo URL 2017-01-23 22:36:01 +02:00
Andrey Popp
aadcf0e656 test: rm unused artifacts in the fixture packages
Note that has-broken-symlink/has-broken.symlink.tar.gz contains a broken
link so the corresponding test case is useful.
2017-01-17 01:37:07 +02:00
Andrey Popp
d2375370a1 test: add test for a tarball with a broken symlink 2017-01-17 01:37:07 +02:00
zkochan
f678dd55d2 test: add new testing package
Add uses-pkg-with-self-usage testing package and rebuild sinopia cache
2017-01-11 08:31:22 +02:00
zkochan
cbf964e445 test: update sinopia store 2016-12-24 03:18:54 +02:00
zkochan
b96e9e9f0d test: fix package that uses plugins example 2016-12-24 02:33:14 +02:00
zkochan
aaa34e0855 test: scripts preserve symlinks on Node.js >= 7.1.0 2016-11-10 22:31:05 +02:00
zkochan
b22b8afc04 refactor(tests): use local packages for testing 2016-11-07 20:42:37 +02:00
zkochan
98ca9a0162 test: engine checks 2016-11-07 20:38:56 +02:00
zkochan
73057b2990 test: authorize requests done to sinopia 2016-11-07 20:38:56 +02:00
zkochan
858bd29f9d test: add test for skipping optional deps with bad OS 2016-11-07 20:38:56 +02:00
zkochan
d88454b7db test: use locally published packages 2016-11-07 20:38:56 +02:00
zkochan
8337707f53 test: all tests use the default test options 2016-10-15 20:04:22 +03:00
zkochan
3c76e2a403 fix(lifecycle): npm scripts can find bin files of dependencies 2016-10-15 19:47:54 +03:00
zkochan
237cceabbf test: use a default set of options 2016-10-15 14:49:13 +03:00
zkochan
d217fe7177 feat: use a global store by default on Node >= 6
Close #421
2016-10-15 14:49:08 +03:00
zkochan
eaa50dc328 feat: add --depth option 2016-10-11 15:07:28 +03:00
zkochan
d146389040 test(install): add test to check if circular deps work 2016-10-08 15:22:45 +03:00
Zoltan Kochan
1b82eecc67 fix: installation should not fail when peer has no version
Expose the version when possible, but the installation shouldn't
fail even when one of the peer dependencies have no version.

close #293, PR #333
2016-08-31 11:02:02 +03:00
Zoltan Kochan
d89b35c6e8 feat(install): install from local packages
close #301, PR #331
2016-08-31 10:55:44 +03:00
Zoltan Kochan
1f37f18ab4 fix(install): local subdependencies are installed
PR #332
2016-08-30 21:36:13 +03:00
Andrey Popp
5205deeb6a test(install): test scoped package from local dir
Ref: #325, PR #326
2016-08-26 23:00:46 +03:00
Zoltan Kochan
9bc97e76d4 style: use more ES6 syntax
Use lebab to transpile ES5 code to ES6.
Use eslint to fix styling issues afterwards.
Run all js in strict mode to allow let/const
in Node 4.
2016-08-23 21:12:01 +03:00
Zoltan Kochan
5a9e972ed6 Make the locking tests more reliable, cover the CLI with tests 2016-08-11 00:50:55 +03:00
Zoltan Kochan
b9b1f0fa52 Test executables
Test if executables in .bin workd correctly. Refactor tests that are using local packages.
2016-08-09 23:45:18 +03:00
Zoltan Kochan
5e34ee61e5 Covering preserved symlinks with tests
Test only on NodeJS >= 6.3.0

Fix preserved symlinkg on Windows
2016-08-09 19:45:35 +03:00
Zoltan Kochan
8675c7f641 Remove bin files when uninstalling package 2016-08-07 14:31:33 +03:00
Zoltan Kochan
a750d3f78f Fix postinstall script execution, cover with unit test 2016-08-07 14:26:11 +03:00
Zoltan Kochan
21fc05273c Add packages used for testing to the test/ folder 2016-08-07 14:24:46 +03:00