Commit Graph

10701 Commits

Author SHA1 Message Date
Zoltan Kochan
060cf77fb3 Fix reference to API.md 2016-08-16 17:08:29 +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
greenkeeperio-bot
09bf3861e7 chore(package): update eslint to version 3.3.1
https://greenkeeper.io/
2016-08-16 05:59:37 +08:00
Zoltan Kochan
ccec8cc828 Refactor bin/ to use Node 4 syntax 2016-08-14 19:37:02 +03:00
Zoltan Kochan
44bf5eb045 Refactor the bin file
Make it easier to override more npm commands
2016-08-14 19:36:46 +03:00
Zoltan Kochan
a45a3fbdd9 Support global install (#288)
close #283
2016-08-14 18:19:09 +03:00
Zoltan Kochan
aea94fdde0 Use cross-spawn instead of child_process in all places
cross-spawn has better Windows support
2016-08-13 14:56:29 +03:00
greenkeeperio-bot
8eafe031c6 chore(package): update npm to version 3.10.6
https://greenkeeper.io/
2016-08-12 09:11:46 +08:00
Zoltan Kochan
e6a233676b Merge pull request #286 from rstacruz/more-tests
More tests, dropping support for NodeJS < 4
2016-08-11 21:07:27 +03:00
Zoltan Kochan
b38b65db49 Remove unnecessary polyfills
Promises and Object.assign are available in Node >= 4, so there is no need to have the bluebird and object-assign dependencies.
2016-08-11 01:08:21 +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
cd682be26b Drop support for Node < 4 2016-08-10 21:06:20 +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
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
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
74db89a7d8 Don't use arrow functions in bin file
The bin file is not transpiled by babel
2016-08-08 21:49:47 +03:00
Zoltan Kochan
434bab699f Merge pull request #268 from rstacruz/issue144
Uninstall support
2016-08-08 20:54:39 +03:00
Zoltan Kochan
6e896d62e4 Update HISTORY.md
Mention the possibility of specifying a global store.
2016-08-07 14:31:33 +03:00
Zoltan Kochan
7f3380314d Fix pnpm -v command 2016-08-07 14:31:33 +03:00
Zoltan Kochan
ce8ef2c9a8 Assign dependents/dependencies to ctx before uninstall 2016-08-07 14:31:33 +03:00
Zoltan Kochan
5c2b31017d Revert "Use cmd-shim to shim executables on Windows"
This reverts commit 1504d9c394849f3eb0256f703ba9fb392530c7a6.
2016-08-07 14:31:33 +03:00
Zoltan Kochan
36d62770e5 Add the possibility to use a global store
Start the store-path field value with ~/ in order to make the store in the HOME directory

close #214
2016-08-07 14:31:33 +03:00
Zoltan Kochan
70434c5c72 Fix default options overriding passed in ones 2016-08-07 14:31:33 +03:00
Zoltan Kochan
c11b34990b Document the structure of store.json 2016-08-07 14:31:33 +03:00
Zoltan Kochan
8675c7f641 Remove bin files when uninstalling package 2016-08-07 14:31:33 +03:00
Zoltan Kochan
2910b6746c Change opts.store_path to opts.storePath 2016-08-07 14:31:33 +03:00
Zoltan Kochan
86054af367 Use cmd-shim to shim executables on Windows 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
ded4146cd6 Reimplement bin/pnpm to .js
close #23
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
a742caff2e Update HISTORY.md 2016-08-07 14:17:28 +03:00
greenkeeperio-bot
5e43673a4e chore(package): update registry-auth-token to version 3.0.1
https://greenkeeper.io/
2016-08-07 14:11:59 +03:00
Lukas Eipert
1aedec2d53 add support for registry-auth-token (#278)
resolves #270 #277
2016-08-07 14:09:46 +03:00
Rico Sta. Cruz
a858f61d9e Merge pull request #279 from rstacruz/store-path-fix
Fix store-path property usage from the configs
2016-08-06 01:40:09 +08:00
Zoltan Kochan
12e87455fc Fix store-path property usage from the configs
During implementation of #166 `camelcase-keys` was used to convert configs to camelcase function options and the underscored store_path option was not updated.
2016-08-05 20:38:16 +03:00
Rico Sta. Cruz
09acd65709 Merge pull request #275 from rstacruz/greenkeeper-docpress-0.6.13
Update docpress to version 0.6.13 🚀
2016-08-02 18:06:09 +08:00
greenkeeperio-bot
7c97abdc38 chore(package): update docpress to version 0.6.13
https://greenkeeper.io/
2016-08-02 17:57:53 +08:00
Amila Welihinda
b33b2f133f Added travis support for node 4 semvar
This makes more sense, as it tests against the latest version of node 4
2016-08-01 01:48:25 +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
eedcc846e2 Use junctions on Windows (#269)
close #6
2016-07-30 11:33:23 +03:00
Zoltan Kochan
c15b935ea1 Update HISTORY.md 2016-07-23 01:10:29 +03:00
Rico Sta. Cruz
7b5a6c4162 Update HISTORY.md 2016-07-23 04:14:57 +08:00
Rico Sta. Cruz
dbca9ea156 Update HISTORY.md 2016-07-23 04:13:11 +08:00
Rico Sta. Cruz
d31b80d838 Merge pull request #259 from rstacruz/issue258
Add Windows CI via AppVeyor, use npmrc settings, run script via npm cli
2016-07-23 04:10:02 +08:00
Zoltan Kochan
18dc3b5cfb Respect configuration settings from .npmrc
close #166
2016-07-23 04:07:46 +08:00
Zoltan Kochan
6a0f680fb9 Run install scripts via npm
npm is setting a bunch of environment variables that might be used by the installed packages. Therefore the package scripts have to be always executed by the npm CLI.

fix #168
2016-07-23 04:07:05 +08:00