Commit Graph

101 Commits

Author SHA1 Message Date
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
Thomas Walpole
43d00deb88 fix issue #1962 - ignoredDependenices multiple install run 2015-10-23 11:52:40 -07: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
de Winter, Anton
8ff0e0e2d1 Components that are not installed by bower should be left alone
Rework of commit by @wibblymat for PR #1363
Make compatible with existing tests
Uses fs.readdirSync() (once!) instead of async method.
Added new test
2015-09-28 17:18:36 +02:00
Thomas Walpole
2ccc05cb98 get ignoredDependencies from .bowerrc instead of bower.json 2015-09-27 12:27:39 +02:00
SignalDancer
4805c3615b Allow Ignore For Child Dependencies
Fix for bug #927. Ignore package if name matches specified in bower.json.
Permit fetch if package is explicitly declared in dependencies or devDependencies.
Designed for users who need tighter control of versions due to corporate liscence restrictions or other reasons.

Code Review Comments
2015-09-27 12:27:38 +02:00
Adam Stankiewicz
ada6fc18d9 Implement initial version of pluggable resolvers 2015-07-09 18:30:26 +03:00
Sindre Sorhus
29eaff9edc Merge pull request #1614 from joneshf/answer-colon
Remove erroneous colon.
2015-01-04 23:56:01 +07:00
joneshf
a464f5a88e Remove erroneous colon. 2014-11-29 12:22:58 -08:00
Veres Lajos
962a565d30 typo fixes 2014-11-02 22:40:58 +00:00
Adam Stankiewicz
7565c71eb2 Warn about unnecessary resolution, #1061 2014-09-08 01:13:55 +02:00
Adam Stankiewicz
d743352bc0 Disable removing unnecessary resolutions, #1061 2014-09-08 01:02:31 +02:00
Adam Stankiewicz
32356f23d3 Run posthook after saving bower.json, fixes #1471 2014-09-07 19:14:30 +02:00
Adam Stankiewicz
1d24e82276 [#931] Make --force always re-run installation 2014-06-21 00:33:51 +02:00
Adam Stankiewicz
034326c984 Add some tests and documentation for #1310 2014-06-05 23:52:48 +02:00
Sergey Tatarintsev
a965b05400 Search compatible versions in fetching packages
Previous version of code reported endpoints that does not have pckMeta
(not downloaded) yet and does not have exactly equal targets as
incompatible. This caused some package to be downloaded multiple times
and caused conflict errors (#1147).

This patch adds proper code for searching compatible version in
currently fetching packages basing on targets.

It also simplifies check for case when we have resolvedVersion and
candidate's target is range.
2014-06-05 19:41:37 +02:00
Mat Scales
cb8b25da53 Merge pull request #1104 from SevInf/fix/circular
Allow circular dependencies to be installed
2014-02-11 10:44:58 +00:00
Sergey Tatarintsev
ad31df09fb Allow circular dependencies to be installed 2014-02-08 12:28:14 +02:00
Chris Gross
1831e507fe scripts/hooks functionality added 2014-02-06 15:40:38 -05:00
Mat Scales
8992c74d32 Merge pull request #980 from wibblymat/infinite-dependency-recursion
Fixed an infinite recursion bug
2013-11-26 08:43:53 -08:00
André Cruz
864d3a3b2f Fixed a bug caused by recently throw added in semver
The newest semver module version throws when calling `toComparators` with an invalid semver range (`invalid comparator`).
2013-11-25 17:56:31 +00:00
Mat Scales
d68d2a4b18 Fixed an infinite recursion bug 2013-11-22 13:40:04 +00:00
André Cruz
01b7509e61 Little fix when synching up dependencies. 2013-10-04 11:25:06 +01:00
André Cruz
99cb553cbd Sync up dependencies and dependants after dissection, fixes #879. 2013-09-28 14:34:33 +01:00
André Cruz
15fbf44948 Close GH-862: Store resolution when --force-latest is specified, fixes #861. 2013-09-07 15:52:23 +01:00
André Cruz
eb9dcce30b Close GH-819: Fix resolutions not working properly when resolving to branches, closes #818.. Fixes #818 2013-08-28 21:22:18 +01:00
Andre Cruz
9fa08fee99 Close GH-797: Decoupled prompting from the inner architecture.. Fixes #645 2013-08-19 01:16:19 +01:00
André Cruz
906990d9b5 Close GH-789: Install dependencies that have different sources, fixes #788.. Fixes #788 2013-08-17 11:50:39 +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
david.bashford
fd58a5fe06 Close GH-717: add flag to log for force latest. Fixes #715 2013-08-05 14:25:26 +01:00
André Cruz
6125c0423f Make installed dependencies without --save and --save-dev being recognised as root dependencies.
They continue to be labeled as extraneous but will be part of the tree.
This fixes #602 and cuts the way to implement #603.
This also fixes an issue with --save and --save-dev possibly saving more than it should.
2013-08-02 22:08:23 +01:00
André Cruz
f3d1638131 Fix bug where child dependency relationship would not be set correctly. 2013-08-02 22:08:14 +01:00
André Cruz
5672019203 Urgent fix for a badly resolved conflict. 2013-07-30 00:15:33 +01:00
André Cruz
ee76fe584e Add linked reps as resolved to prevent them for being overwritten in common usages, #593. 2013-07-29 09:05:53 +01:00
André Cruz
a37f1c5dcb CS. 2013-07-21 16:36:27 +01:00
André Cruz
41b246903f Add some getter for inner parts of the architecture. 2013-07-21 16:33:25 +01:00
André Cruz
fcfeda9f39 Fix code responsible for reusing already resolved endpoints. 2013-07-20 19:52:03 +01:00
André Cruz
3e3f5faacc Fix dependants not being correctly set in some edge cases. 2013-07-19 13:45:49 +01:00
André Cruz
8e51d1eaf3 Add force-latest option, closes #629. 2013-07-18 18:34:04 +01:00
André Cruz
e7667ba34b Fix install of multiple endpoints not working right. 2013-07-17 19:08:41 +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
ec33766803 Switch endpoint parser to its own module. 2013-07-16 09:17:50 +01:00
André Cruz
6daf891c5c Fix manager bug in some edge cases. 2013-07-16 09:16:25 +01:00
André Cruz
820c7e660a Fix accessing undefined in some edge cases. 2013-07-15 19:50:08 +01:00
André Cruz
d1001aea1a Use bower-json throughout the code. 2013-07-12 16:22:10 +01:00
André Cruz
2a0831ab5a Simplify some compatible detection logic. 2013-07-12 15:33:43 +01:00
André Cruz
e73e480939 Made areCompatible protected. 2013-07-11 20:39:15 +01:00
André Cruz
33d0f1fd94 Fix bug introduced when name is coerced to the registry name. 2013-07-10 20:11:19 +01:00
André Cruz
c6746f6f77 Minor fix to a previous commit. 2013-07-06 12:59:34 +01:00