Commit Graph

38 Commits

Author SHA1 Message Date
Adam Stankiewicz
6bc778df32 Format with prettier (#2510) 2018-03-28 19:28:43 +02:00
Adam Stankiewicz
12d41aeb8c Warn instead of erroring for invalida package names, #2233 2016-04-05 13:34:06 +02:00
AnthonyBobsin
19fc84007d Implements jscs to enforce a newly created style guide for the repo. Uses jscs to fix some minor style guide warnings. 2015-11-29 16:22:58 -05:00
Utsav Shah
852a586d5c Replace temp directory name with md5 hash
Fixes issues with characters like @ interfering with directory name
lookups
2015-11-27 13:17:36 -06:00
Utsav Shah
e8a2d92785 Remove @ in temporary directories 2015-11-27 11:36:14 -06: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
Adam Stankiewicz
4fc2b5cf76 Add tests and improve resolver interface 2015-08-04 06:21:06 +02:00
Adam Stankiewicz
daaf21a4fe Merge pull request #1495 from mitogh/link-issues
Update the references to the issues and pulls in the CHANGELOG.md file
2014-09-06 14:40:55 +02:00
Kornel Lesiński
7a0a86d51c When tmp.js returns cleanup callback along with the tmp dir path, nfcall changes return type to an array 2014-08-06 14:28:04 +01:00
Adam Stankiewicz
17bd60e3e9 [#1356] Disable caching for local resources 2014-06-22 22:05:13 +02:00
Martin Hansen
b8df18481f Ignore does now not apply to any file in main #547 2014-06-20 19:48:00 +02:00
Andrew Eisenberg
1690dd4728 Warn users when installing package with missing properties.
Fix for issue #694. Test case included.
2014-06-20 19:00:19 +02:00
André Cruz
4402b80ec9 Close GH-794: Fallback to standard git clone if download/untar fails . 2013-08-17 22:37:03 +01:00
Andre Cruz
3f0dbef7ea Minor change to util/readJson (consistency). 2013-08-17 14:01:01 +01:00
André Cruz
01c499d73f Update bower-config 0.4.0 that suffixes the tmp dir with "user/bower". 2013-08-16 09:44:58 +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
dd951d5350 Use pid for temporary folders, fixes #638. 2013-07-22 23:47:38 +01:00
André Cruz
499d9da75f Add test for PR #474. 2013-07-18 01:10:29 +01:00
André Cruz
ed3a18529a CS. 2013-07-16 14:14:26 +01:00
André Cruz
761c947e25 Add isTargetable to prevent UrlResolver and FsResolver from being converted to semver when installing, #619. 2013-07-16 09:21:02 +01:00
André Cruz
d1001aea1a Use bower-json throughout the code. 2013-07-12 16:22:10 +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
1370625568 CS. 2013-06-11 16:21:15 +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
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
André Cruz
01d8d0dbec Minor CS fixes. 2013-05-24 23:03:19 +01:00
André Cruz
11834a4186 Fix tests. 2013-05-24 00:20:15 +01:00
André Cruz
382c857a4b Tweaks to notifications. 2013-05-23 23:43:11 +01:00
André Cruz
cfb3d14028 Initial take on the commands + renderers + cli. 2013-05-23 19:55:59 +01:00
André Cruz
7c96eb0819 Small performance improvement by accepting an optional package meta to avoid re-reading it.
Fix tests if previous run left dummy directories.
2013-05-17 11:47:51 +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