17 Commits

Author SHA1 Message Date
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
André Cruz
f332de8ba9 Do not follow symlinks, closes #730. 2013-08-07 01:50:49 +01:00
André Cruz
212c4c3a71 Close GH-667: Filter symlinks when copying/extracting. Fixes #665 2013-07-29 22:00:37 +01:00
André Cruz
fe1a635c14 Switch to graceful-fs. 2013-07-01 20:31:28 +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
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
d2290d509f Copy now uses ncp to copy if there is no ignore filter, which is must faster. 2013-05-13 15:07:41 +01:00
André Cruz
0682df3801 Merge branch 'rewrite' of github.com:bower/bower into rewrite
Also improve codebase.

Conflicts:
	lib/resolve/resolverFactory.js
	lib/util/copy.js
	test/resolve/resolverFactory.js
2013-05-04 16:54:22 +01:00
André Cruz
e5c4391900 Fix some bugs. 2013-05-04 16:32:31 +01:00
Nicolas Gallagher
de0eca7890 Code style consistency
Some very minor changes to improve code style consistency.
2013-05-03 09:01:19 -07:00
André Cruz
3a93600195 Implement renaming to index in the FsResolver, fix minor issues. 2013-04-30 19:22:47 +01:00
André Cruz
2530c577dc Fix some bugs when extracting archives, add some tests. 2013-04-29 17:09:54 +01:00
André Cruz
9ead37845e Fix some issues with the extraction step. 2013-04-29 16:06:48 +01:00
André Cruz
f11b2f6782 Walk towards finishing FsResolver. 2013-04-29 15:21:33 +01:00
André Cruz
dcabf2738a Minor changes. 2013-04-14 16:14:51 +01:00
André Cruz
a4fbe65259 Implemented GitFsResolver, minor refactor to the GitRemoteResolver. 2013-04-14 15:27:08 +01:00