Commit Graph
52 Commits
Author SHA1 Message Date
Zoltan Kochan 56f53b8e72 fix(CLI): be quiet when executed on CI servers
The pnpm loggers output are a mess when shown by
CI servers. It is better to show nothing.
2016-08-24 02:18:09 +03:00
Zoltan Kochan 4725681942 refactor(bin): remove code duplication
When debugging is on, logging is off.
This code was in two places.
2016-08-24 02:18:09 +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 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 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 7f3380314d Fix pnpm -v command 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 18dc3b5cfb Respect configuration settings from .npmrc
close #166
2016-07-23 04:07:46 +08:00
Peter Dave Hello 33e59358d8 Update pnpm-install
add info about `--debug` option in help message, cc #179
2016-04-18 12:52:34 +08:00
David Björklund 80560f9f91 remove production check in bin/pnpm-install 2016-02-06 10:50:37 +01:00
Asbjørn Enge 8bd61d2987 Always provide an argument for shift 2016-02-01 21:23:48 +01:00
Rico Sta. Cruz 4475f64151 Drop support for npm1.x 2016-02-02 02:25:10 +08:00
Rico Sta. Cruz c27cefcc73 Change installCmd()'s function signature 2016-02-02 01:23:22 +08:00
Rico Sta. Cruz 984f64bf0f Support --save-optional 2016-02-01 04:29:33 +08:00
Rico Sta. Cruz d333be88ee Refcator bin/pnpm-install 2016-02-01 01:32:37 +08:00
Rico Sta. Cruz 2d0b515da9 Merge pull request #47 from PeterDaveHello/patch-1
Detect number of parameters, exit if less then 2.
2016-02-01 01:10:24 +08:00
DaveJ d4eb42a93f Match npm --save behaviour more closely and add support for --save-exact 2016-01-31 16:20:23 +00:00
DaveJ 2b3262c47f Support for the --save and --save-dev flags (including scoped) 2016-01-31 16:17:15 +00:00
DaveJ 9803579af1 Preliminary support for the --save and --save-dev flags 2016-01-31 16:17:15 +00:00
Peter Dave Hello cc0fba2133 Detect number of parameter, exit if less then 1.
Without this detection,

if a user gives no parameter, the error message will be:
> shift: can't shift that many

Tell the users to pass at least 1 parameters and then print `pnpm-install --help` to improve the UX.
2016-01-31 15:25:40 +08:00
Rico Sta. Cruz 59e0d4e49b Allow pnpm store path to be configurable 2016-01-31 01:26:40 +08:00
Rico Sta. Cruz 83690f8415 Fix running pnpm in dirs without package.json 2016-01-30 22:30:37 +08:00
Rico Sta. Cruz 52a24bc6b0 Refactor pnpm-install 2016-01-30 06:05:01 +08:00
Rico Sta. Cruz ca9a118018 Update node-gyp implementation to mirror npm's 2016-01-30 05:59:46 +08:00
Rico Sta. Cruz 20df53b319 Move store resolution to ctx 2016-01-30 04:56:21 +08:00
Rico Sta. Cruz 550080f778 Support lifecycle hooks 2016-01-30 04:42:55 +08:00
Rico Sta. Cruz fbb461ec37 Throw 'not supported' errors for package specs not supported yet 2016-01-30 04:17:27 +08:00
Rico Sta. Cruz 2f4d2dced4 Warn on unsupported flags 2016-01-29 15:36:16 +08:00
Rico Sta. Cruz a851388eaa Move store to .pnpm/store 2016-01-29 08:06:03 +08:00
Rico Sta. Cruz 17952c617c Fix pnpm --version 2016-01-28 23:53:23 +08:00
Rico Sta. Cruz 383cf54776 Symlink bins 2016-01-28 21:31:45 +08:00
Rico Sta. Cruz cad8489036 Primary implementation of scoped modules 2016-01-28 16:56:35 +08:00
Rico Sta. Cruz 0ce150050d Initial attempt at symlinking bin 2016-01-28 16:38:10 +08:00
Rico Sta. Cruz 76acdb203f Quiet mode 2016-01-28 16:07:26 +08:00
Rico Sta. Cruz 8dede454ca Fix pnpm help 2016-01-28 15:52:53 +08:00
Rico Sta. Cruz a4dd3e0319 Add pnpm bin 2016-01-28 15:51:19 +08:00
Rico Sta. Cruz 30fd6fe3d9 pnpm 2016-01-28 15:38:50 +08:00
Rico Sta. Cruz b38f52a8e5 Fancy logs 2016-01-28 14:53:27 +08:00
Rico Sta. Cruz 7c22efbf84 Add tests 2016-01-28 13:59:21 +08:00
Rico Sta. Cruz df12f0ccbc Use node_modules 2016-01-28 13:41:58 +08:00
Rico Sta. Cruz 720c724687 Recurse 2016-01-28 11:53:54 +08:00
Rico Sta. Cruz 5c1a3da954 Fix symlinking 2016-01-28 11:43:24 +08:00
Rico Sta. Cruz 6226172caa It sorta works 2016-01-28 11:32:57 +08:00
Rico Sta. Cruz 191718ce8e Update 2016-01-28 04:03:45 +08:00
Rico Sta. Cruz 80fe09ffd5 Rename to unpm 2016-01-28 03:46:46 +08:00
Rico Sta. Cruz c32b8050c8 Update 2016-01-28 03:41:15 +08:00