Skip to content

Conversation

@levkowetz
Copy link

Updated the finder to work with Django 1.7.

Added a switch --with-version to place components in directories named with version strings, which can be an advantage for component upgrades when deploying static via a CDN with long cache times.

Added support for file-glob patterns in the bower master list. Added support for picking minified versions over regular versions if they are available in the bower dir.

Added a check for bower availability, in order to give a better error message if it's not.

levkowetz and others added 14 commits April 18, 2015 17:03
…sion to place components in directories named with version strings, which can be an advantage for component upgrades when deploying static via a CDN with long cache times. Added support for file glob patterns in the bower master list. Added support for picking minified versions over regular versions when they are available in the bower dir.
…le error message to people who don't have bower installed.
…aviour of cleaning out the bower packages after a completed run, in order to avoid deploying old invalid dependencies. Backed away from flattening the path of components in main; it doesn't work when .css files have relative paths to font files in a different directlry. Added removal of intermediary 'dist' directories, though. (This should probably be controlled by an option.)
…es -- searching in the static files directories doesn't make a lot of sense.
Make bower_install respect overrides to main specified in bower.json
…t in it

(like .tmp) does. Renaming the temporary directory fixes this. Commit ready for
merge.
Recent bower versions error out when the --config.cwd option has a do…
This breaks things such as jquery-migrate, where you want to install the
non-minified version for development, and the minified one for production.
The correct way to do this is with "overrides" in bower.json.
Remove code that tried to prefer installing minified version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants