zkochan
f33e9b8341
feat: support dependencies from GIT
...
Close #285 , PR #366
2016-09-21 23:07:50 +03:00
zkochan
34394b9485
feat: add an option to make local dependencies linked
...
If the link-local config key is true, local dependencies are
not copy-pasted into the store but linked to the node_modules
folder.
This option makes pnpm suitable for usage in monorepos.
Ref #349
2016-09-18 00:21:56 +03:00
zkochan
7925b64f91
fix(install): GitHub API rate limit issue
...
GitHub API usage removed. The tarball is used from codeload.github.com
Close #361 , PR #363
BREAKING CHANGE:
The folder names of packages fetched from GitHub changed to not contain
information that would require an API request to get.
Old folder name: is-negative@github+kevva+is-negative+HEAD
New folder name: github+kevva+is-negative+HEAD
Users are forced to redownload their stores to avoid orphan folders after
the naming change.
2016-09-17 19:41:23 +03:00
zkochan
ab4c89f3d3
refactor: rewrite the bin file to TypeScript
2016-09-14 22:54:09 +03:00
zkochan
f2b0960f8a
style(*.ts): .ts files have camelCase names
2016-09-14 22:06:28 +03:00
Zoltan Kochan
554e8ccb6e
refactor(tests): rewrite tests to TypeScript
2016-09-14 21:37:47 +03:00
Zoltan Kochan
7b25ba269e
feat: rewrite to TypeScript
...
PR #357 , Ref #347
2016-09-12 22:00:56 +03:00
Zoltan Kochan
d97f9f0083
fix: failing to install some tarball dependencies
...
close #351
2016-09-07 10:07:36 +03:00
Zoltan Kochan
e1abc46bd1
feat: create a pnpm-debug.log file on fail
...
close #336
2016-09-03 23:57:34 +03:00
Zoltan Kochan
053b717d28
test: skip GitHub tests on CI servers
...
Tests that make requests to GitHub frequently fail
because they exceed the rate limit
2016-09-01 01:39:44 +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
94de1f8e84
refactor(tests): instead of random temp dir names, use date
...
It is easier to debug when the folders are sorted
2016-08-31 00:12:19 +03:00
Zoltan Kochan
1f37f18ab4
fix(install): local subdependencies are installed
...
PR #332
2016-08-30 21:36:13 +03:00
Zoltan Kochan
81e7dffed3
refactor(tests): show meaningful error message instead of timeout fail
2016-08-30 20:47:36 +03:00
Zoltan Kochan
875656fc4e
test: retry fetch more
2016-08-28 16:53:56 +03:00
Zoltan Kochan
1f38086088
feat: support the npm fetch-* configs
...
Use the retry package to support all the different
retry strategy configurations that can be used with npm:
fetch-retries
fetch-retry-factor
fetch-retry-mintimeout
fetch-retry-maxtimeout
More info about the configs: https://docs.npmjs.com/misc/config#fetch-retries
close #317 , PR #327
2016-08-27 21:37:00 +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
31346e6c4a
refactor: use global npm in shrinkwrap test
...
Remove the npm devDependency and use the global instance of npm
in the shrinkwrap test.
2016-08-23 23:11:00 +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
83b1e6a34b
Implement pnpm link ( #302 )
...
close #235
2016-08-19 18:33:55 +03:00
Zoltan Kochan
9950c02ca4
Fix uninstall API function, test the API
2016-08-16 17:26:44 +03:00
Zoltan Kochan
46bcdac831
Add a public API
...
No breaking changes. An additional function exposed for package dependencies installation.
close #125
2016-08-16 14:54:56 +03:00
Zoltan Kochan
a45a3fbdd9
Support global install ( #288 )
...
close #283
2016-08-14 18:19:09 +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
a9afddacfd
Read package.json before updating ( #284 )
...
* Read package.json before updating
Using the cached version of package.json can cause ovewriting of changes
close #280
* Skip GitHub test on CI
The GitHub test fails frequently with 403 error with no good no reason
2016-08-09 20:33:39 +03:00
Zoltan Kochan
8675c7f641
Remove bin files when uninstalling package
2016-08-07 14:31:33 +03:00
Zoltan Kochan
0c247a1f4c
Lock store when running commands
...
close #82
2016-08-07 14:31:33 +03:00
Zoltan Kochan
0b1264a372
Uninstall support
...
close #144
2016-08-07 14:31:33 +03:00
Zoltan Kochan
f5d740fcaf
Add test for installing from github
2016-08-07 14:26:28 +03:00
Zoltan Kochan
a750d3f78f
Fix postinstall script execution, cover with unit test
2016-08-07 14:26:11 +03:00
Zoltan Kochan
37a91b8aa0
Add coverage info
2016-08-07 14:25:34 +03:00
Zoltan Kochan
21fc05273c
Add packages used for testing to the test/ folder
2016-08-07 14:24:46 +03:00
Zoltan Kochan
a457b15472
Fix tests for Node>=v6.3.0
...
On the newest Node versions executables are proxied instead of symlinked.
2016-08-01 01:48:25 +03:00
Zoltan Kochan
d09d106af4
Add Windows CI via AppVeyor
...
close #258
2016-07-23 04:07:05 +08:00
Zoltan Kochan
32ef49b76b
Support installing from files
...
close #21
2016-07-17 13:53:44 +03:00
Zoltan Kochan
19c3c4338f
Support optional dependencies
...
close #39
2016-07-16 21:36:06 +03:00
Zoltan Kochan
7e4a13e021
Fix issue with installing nested scoped packages
...
close #219
2016-07-06 23:19:08 +03:00
Rico Sta. Cruz
a8d87a5454
Fix lint errors
2016-06-19 00:29:32 +08:00
Meesayen
984da385fe
refactor(install): Less obstrusive bypass of 'sepia' caching in the test suite
2016-02-23 22:00:18 +00:00
Meesayen
f3afd3cde8
feat(install): Enabled proxy tunnelling on HTTP/HTTPS requests
...
By simply using 'caw' module to create the HTTP agent with proxy settings
we are able to use 'pnpm' behind a basic corporate proxy (could not test
it extensively on any kind of proxy).
I had to disable 'sepia' caching in case a proxy configuration is found
because it was not behaving fine with the new HTTP agent setup.
2016-02-23 11:15:33 +00:00
Vladimir Starkov
c553a0faab
remove .only for sorted deps tests
2016-02-11 10:54:13 +01:00
Vladimir Starkov
6028f66fbc
add failing test for sorted deps
2016-02-10 20:56:31 +01:00
Robbie Marcelo
8a57f18ffc
Removes .only so other test cases won't be ignored
2016-02-04 20:29:39 +08:00
Rico Sta. Cruz
a9e74e6fab
Allow installing new versions ( #51 )
2016-02-03 07:46:11 +08:00
Rico Sta. Cruz
1cbb909951
Fix test for 0.10
2016-02-02 03:00:26 +08:00
Rico Sta. Cruz
2e2ed2647b
Add source maps to babel version
2016-02-02 02:27:13 +08:00
Rico Sta. Cruz
06283bbcb6
Fix tests to be legacy-compatible
2016-02-02 02:24:03 +08:00