Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
ce8ef2c9a8 Assign dependents/dependencies to ctx before uninstall 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
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
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
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
Zoltan Kochan
18dc3b5cfb Respect configuration settings from .npmrc
close #166
2016-07-23 04:07:46 +08:00
Zoltan Kochan
19c3c4338f Support optional dependencies
close #39
2016-07-16 21:36:06 +03:00
Zoltan Kochan
d460aeac6d run postinstall and prepublish after installation
close #50
2016-07-10 18:48:22 +03:00
Rico Sta. Cruz
c2a79e7465 Print user-friendly error when package.json isn't present (#155) 2016-04-03 08:24:08 +08:00
David Björklund
46c8bb13e3 resolve store_path 2016-02-06 10:44:11 +01:00
Rico Sta. Cruz
2d7050fab4 Expose require('pnpm.js') 2016-02-02 01:23:38 +08:00
Rico Sta. Cruz
c27cefcc73 Change installCmd()'s function signature 2016-02-02 01:23:22 +08:00
DaveJ
e5d0f7e8e6 Add support for --production flag 2016-02-01 14:39:17 +00:00
Rico Sta. Cruz
984f64bf0f Support --save-optional 2016-02-01 04:29:33 +08:00
Rico Sta. Cruz
edc607ead5 Change config store format 2016-02-01 03:16:45 +08:00
Rico Sta. Cruz
a0a698a104 Implement flattening 2016-02-01 01:53:15 +08:00
Rico Sta. Cruz
d333be88ee Refcator bin/pnpm-install 2016-02-01 01:32:37 +08:00