Commit Graph
35 Commits
Author SHA1 Message Date
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
Rico Sta. Cruz 1e2c61302a Update 2016-01-28 03:14:29 +08:00
Rico Sta. Cruz 4b42e5fcc4 Initial commit 2016-01-28 02:34:55 +08:00