Adam Stankiewicz
0a8a4f9029
Format with prettier
2018-03-28 19:10:16 +02:00
Adam Stankiewicz
df8e5a16be
Fix readdir call on Windows
...
Sometimes it return ENOENT instead of ENODIR for normal files.
This broke code paths in few places. Also, see:
https://github.com/isaacs/chmodr/pull/8
2015-10-14 16:09:38 +02:00
Adam Stankiewicz
99105fbb57
Try chmod 777 + rimraf as fallback on rimraf in all places
2015-10-14 12:50:41 +02:00
Sindre Sorhus
490f63a838
modularize the MD5 util function
2015-09-03 11:00:38 +07:00
Adam Stankiewicz
5a5cf31aba
Make bower concurrent friendly, fixes #933
2014-04-04 19:09:18 +02:00
Greg Bergé
3dbddfba41
Fix reading versions from cache directory.
...
When we write into directory we use encodeURIComponent, but when we read, we did nothing. Now we use decodeURIComponent to read the correct version and match the correct cache directory.
2014-01-27 22:55:07 +01:00
André Cruz
7c2384cb94
Improve last commit.
2013-09-28 01:51:22 +01:00
André Cruz
5b1dd15749
Replace dir separators with dashes before storing into the resolve cache.
2013-09-28 01:34:49 +01:00
Trask Stalnaker
518f3d2a8f
Close GH-773: Order tags by semver build metadata. Fixes #0 , Fixes #0 , Fixes #0 , Fixes #0 , Fixes #0 , Fixes #0 , Fixes #0 , Fixes #0
2013-08-17 11:39:51 +01:00
André Cruz
e1a443177e
Close GH-675: Upgrade to the new bower-json api.. Fixes #668
2013-07-29 21:57:35 +01:00
André Cruz
2e0353c725
Complete resolve cache tests.
2013-07-13 23:03:40 +01:00
André Cruz
4a954853f2
Fix minor order issue in resolve cache list.
2013-07-13 14:06:32 +01:00
André Cruz
5c276c34ea
Delete lurking files.
2013-07-13 12:09:31 +01:00
André Cruz
1d2b654021
Fix resolve cache not creating the directory after clearing it.
2013-07-13 10:36:52 +01:00
André Cruz
a44d4bccc2
Refactor some code, minor fixes.
2013-07-13 09:40:11 +01:00
André Cruz
d1001aea1a
Use bower-json throughout the code.
2013-07-12 16:22:10 +01:00
André Cruz
a786fa534a
Refactor md5 to its own function.
2013-07-12 15:34:05 +01:00
André Cruz
bb4f09316a
Oops, typos related with fix for #605 .
2013-07-10 20:09:57 +01:00
André Cruz
3b90e24ff8
Copy/remove when rename fails do because of EXDEV, fixes #605 .
2013-07-10 19:51:54 +01:00
André Cruz
4d8dbefc85
Use the new bower-config module.
2013-07-06 22:46:28 +01:00
André Cruz
9517191e35
Improve clear of runtime cache.
2013-07-06 14:56:13 +01:00
André Cruz
a7b2fe14b9
Fix some minor issues with * endpoints and prevent some semver errors due to module upgrade.
2013-07-06 10:29:50 +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
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
23e560b638
Forgot to update to canonical dir in some comments/docs.
2013-06-22 17:15:06 +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
3a7b4fd404
Unnecessary line.
2013-06-15 23:44:03 +01:00
André Cruz
95f9170736
Tweak cache list and clean output.
2013-06-14 11:25:19 +01:00
André Cruz
1aed2b9a43
Minor fix to sorting versions.
2013-06-11 09:02:12 +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
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
01d8d0dbec
Minor CS fixes.
2013-05-24 23:03:19 +01:00
André Cruz
cfb3d14028
Initial take on the commands + renderers + cli.
2013-05-23 19:55:59 +01:00
André Cruz
9f6bf62efc
Some other tweaks to the API.
2013-05-22 22:58:04 +01:00
André Cruz
87d0e1d886
Revised and improved code for the upper resolve layer.
2013-05-22 14:36:19 +01:00
André Cruz
e84bc3754f
Fix sort of versions.
2013-05-21 00:53:30 +01:00
André Cruz
e479e84bde
Fix minor issues when using the force flag.
2013-05-13 16:07:46 +01:00
André Cruz
19e3a2ecc4
Setup rudimentary CLI usage for the demo.
2013-05-13 15:09:16 +01:00
André Cruz
e09a3b8cbf
Huge commit, implement rough working version of the whole resolve process.
2013-05-13 11:09:04 +01:00