Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added bower.json for dependency management. #40

Merged
merged 1 commit into from
Jun 4, 2014
Merged

Added bower.json for dependency management. #40

merged 1 commit into from
Jun 4, 2014

Conversation

bitzl
Copy link
Contributor

@bitzl bitzl commented May 24, 2014

The current version has no bower.json to declare Foundation as dependency, so bower thinks it's extreneous:

>>> bower list
bower check-new     Checking for new versions of the project dependencies..
JointsWP C:\xampp\htdocs\wordpress\wp-content\themes\JointsWP
└─┬ foundation#5.2.1 extraneous (5.2.2 available)
  ├── fastclick#0.6.12 (latest is 1.0.2)
  ├── jquery#2.1.0 (2.1.1 available)
  ├── jquery-placeholder#2.0.7 (2.0.8 available)
  ├─┬ jquery.cookie#1.4.0 (1.4.1 available)
  │ └── jquery#2.1.0 (2.1.1 available)
  └── modernizr#2.7.2 (2.8.2 available)

Providing a bower.json file fixes this:

>>> bower list
bower check-new     Checking for new versions of the project dependencies..
JointsWP C:\xampp\htdocs\wordpress\wp-content\themes\JointsWP
└─┬ foundation#5.2.1 (5.2.2 available)
  ├── fastclick#0.6.12 (latest is 1.0.2)
  ├── jquery#2.1.0 (2.1.1 available)
  ├── jquery-placeholder#2.0.7 (2.0.8 available)
  ├─┬ jquery.cookie#1.4.0 (1.4.1 available)
  │ └── jquery#2.1.0 (2.1.1 available)
  └── modernizr#2.7.2 (2.8.2 available)

It's now easy to update all dependencies using bower update. This pull request resolves #34.

@JeremyEnglert
Copy link
Owner

Huge thanks for this! I'm still new to Bower, so this was a big help!

@JeremyEnglert JeremyEnglert reopened this Jun 4, 2014
JeremyEnglert pushed a commit that referenced this pull request Jun 4, 2014
Added bower.json for dependency management.
@JeremyEnglert JeremyEnglert merged commit ba4c98b into JeremyEnglert:master Jun 4, 2014
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.

Updating with Bower - "extraneous" libraries?
2 participants