Nick Heiner
aae19206a0
Close GH-647: Adding registry url to register confirmation message. Fixes #639
2013-07-29 23:06:31 +01:00
André Cruz
e55e08339a
Fix list command not processing main with multiple files, closes #660 .
2013-07-25 22:00:17 +01:00
André Cruz
c86d0230ba
Simplify.
2013-07-22 23:41:43 +01:00
Mat Scales
79345691b8
Close GH-642: Init command..
2013-07-22 23:40:09 +01:00
André Cruz
3b376a3d3d
Move homepage guess logic to the appropriate resolver.
2013-07-22 13:57:39 +01:00
Sindre Sorhus
2d83abbb85
Close GH-635: Infer package name if inside a package for the home cmd.
2013-07-21 23:14:19 +01:00
André Cruz
ecac2bd084
Use some of the getters in the list and register commands.
2013-07-21 16:35:29 +01:00
André Cruz
33cac4832f
Package repository already clears the registry client cache.
2013-07-21 16:33:54 +01:00
André Cruz
5dea57ddd5
Add prune and home commands to the help, some other help tweaks.
2013-07-21 12:29:47 +01:00
André Cruz
51e32f72de
Rename open command to home, #630 .
2013-07-21 12:06:58 +01:00
André Cruz
048bc53bd0
Add open command, closes #630 .
2013-07-21 12:04:18 +01:00
André Cruz
2c79181c05
Add force-latest also for the update command.
2013-07-20 23:27:00 +01:00
André Cruz
91779a67fb
Pass logger to the registry client, get rid of unnecessary emitter in commands.
2013-07-20 22:08:30 +01:00
André Cruz
0cf8af00b3
Separate logger into its own module.
2013-07-20 20:37:05 +01:00
André Cruz
8e51d1eaf3
Add force-latest option, closes #629 .
2013-07-18 18:34:04 +01:00
André Cruz
823b287eda
Convert GitHub urls when registering, closes #627 .
2013-07-18 18:32:45 +01:00
André Cruz
56679d2a8e
Fix passing configuration into commands on programmatic usage, fixes #608 .
2013-07-11 07:56:53 +01:00
André Cruz
d0465eccf1
CS.
2013-07-09 23:57:15 +01:00
André Cruz
3aedec3e2d
Add init command (not yet implemented).
2013-07-09 23:56:45 +01:00
André Cruz
6a38671e3c
Add name validation to the register command.
2013-07-09 13:13:03 +01:00
André Cruz
1bf51a047e
Fix bug when cleaning the cache of specific packages.
2013-07-06 11:28:08 +01:00
André Cruz
da8d0f3265
Typos.
2013-07-05 08:23:28 +01:00
André Cruz
d8cef76592
Added prune command, closes #463 .
2013-07-05 01:20:28 +01:00
André Cruz
3b3e64e752
Implement removal of invalid links in the cache clean command.
2013-07-04 23:09:24 +01:00
André Cruz
d4d5a04487
Fix bug with the cache clean command.
2013-07-03 16:22:43 +01:00
André Cruz
7becb19da4
Implement check of newer versions in the list command.
...
Also:
- Fix some errors not being emitted when a command failed.
- Update semver module; no need to check .valid against null.
2013-07-03 14:37:28 +01:00
André Cruz
fe1a635c14
Switch to graceful-fs.
2013-07-01 20:31:28 +01:00
André Cruz
37a0e733ad
Minor doc typo.
2013-06-29 01:16:58 +01:00
André Cruz
b21bfda7f6
Expose link command functions.
2013-06-28 23:52:40 +01:00
André Cruz
04ddcd9489
Remove useless log.
2013-06-27 23:42:18 +01:00
André Cruz
f3f39e283e
Fix link command not using local name if specified.
2013-06-24 23:42:12 +01:00
André Cruz
f9f8f7aebd
Implement link command.
...
Also:
- CS fixes
- Remove options argument from commands that do not have them
- Use console.trace instead of err.stack (more reliable)
2013-06-24 23:19:59 +01:00
André Cruz
ee3941b86a
Do not prompt to confirm registration if --force is used.
2013-06-24 23:17:47 +01:00
André Cruz
a02f26f0eb
Add register command, CS fixes.
2013-06-23 17:48:45 +01:00
André Cruz
97edd21784
Add lookup command, minor tweaks to the info command.
2013-06-23 14:58:54 +01:00
André Cruz
103d1adc46
CS.
2013-06-23 01:28:26 +01:00
André Cruz
4c3802878a
Another huge commit.
...
- Add info command
- Fix list --paths
- Fix search with no name
- Fix conflict detection when uninstalling
- Mix tweaks and fixes
2013-06-23 01:14:08 +01:00
André Cruz
83b6820458
Huge commit.
...
- Add search command
- Cache clean now clears the registry cache
- Fix error when accessing an unknown deep command in the cli
- Change from 'roaming' to 'path' in the config
- Change from 'canonicalPackage' to 'canonicalDir'
- Fix dev dependencies of nested packages being fetched
- Ignore invalid installed packages
- Various cache fixes and improvements
- Fix .bower.json being deleted if a package specified ignorables
- Use fstream instead of ncp to solve the EMFILE errors
2013-06-22 17:04:50 +01:00
André Cruz
92b7668067
Add list command, some other fixes and improvements.
...
- Fix cache clean command
- Lots of improvements and fixes of the Manager
- Only save json if the contents changed
- Add nom like tree to installed/updated packages
- Fix help usages.
2013-06-15 21:43:01 +01:00
André Cruz
95f9170736
Tweak cache list and clean output.
2013-06-14 11:25:19 +01:00
André Cruz
88b4847ba9
Remove --save-resolutions in favor of prefixing choices with !.
...
Also improve the manager resolution process by avoiding to fetch incompatible packages always.
Now lazy fetches them when necessary.
2013-06-12 22:34:53 +01:00
André Cruz
6d3b3e6de2
Add cache clean and list commands.
...
This was an huge commit.
- Allow nested commands
- Switch resolve cache in memory object cache to LRU
- Store non-semver packages in the cache
- Tweak help messages
- Various fixes and tweaks
2013-06-11 00:39:18 +01:00
André Cruz
e704733743
Read, use and update persistent resolutions.
...
Add --save-resolutions to deal with this.
Also:
- Adjust logging when using compact
- Minor code adjustments.
2013-06-07 13:05:07 +01:00
André Cruz
68454492e9
Add conflict resolve, presenting choices to the user.
...
This commit also contains:
- Simplified Manager and Project
- Add warning when an extraneous package is found.
- Fix a lot of bugs in the overall resolve process
- Made templates rendering synchronous
-
2013-06-05 00:50:23 +01:00
André Cruz
afd01cc40c
Change from promise progress events to hierarchical logger.
...
This is an huge commit, contains other small tweaks/fixes.
2013-06-03 16:31:19 +01:00
André Cruz
41486d44ee
Tweaks.
2013-05-31 19:11:21 +01:00
André Cruz
57a9b313c4
Finish the help command and help usages for the implemented commands.
...
Introduce templating based on handlebars.
Minor tweaks.
2013-05-31 16:18:00 +01:00
André Cruz
20ba998383
Implement the uninstall command.
...
Made also some tweaks to the render stuff.
2013-05-30 21:57:05 +01:00
André Cruz
70a4ab863d
Add update command and also finish install.
2013-05-29 10:38:39 +01:00
André Cruz
454436905c
Huge commit.
...
- Changed way renderers work
- Move worker to a separate module
- Improve loglevel
- Minor tweaks
- Fix tests
2013-05-27 22:59:13 +01:00