Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update bower.json #47

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

Merged
mtscout6 merged 1 commit into react-bootstrap:master from taion:jjia/bower
May 7, 2015
Merged

Update bower.json #47

mtscout6 merged 1 commit into react-bootstrap:master from taion:jjia/bower
May 7, 2015

Conversation

Copy link
Member

@taion taion commented May 7, 2015

For #34

Copy link
Member

mtscout6 commented May 7, 2015

Thank you, do I need to tell bower about the move in any way?

Copy link
Member Author

taion commented May 7, 2015

I believe a transfer will require you to submit a ticket to the Bower registry repo, per: http://bower.io/docs/creating-packages/#register

For package name transfers, intellectual property and other disputes, please try to resolve with the owner first. If no resolution, please submit a ticket in the Bower Registry repo and the Bower Core Team will assist.

Alternatively, you can unregister and re-register the package.

Copy link
Member

mtscout6 commented May 7, 2015

Thanks I'll take care of that today.

Copy link
Member

mtscout6 commented May 7, 2015

Need one more sign off by a member of @react-bootstrap/collaborators

Copy link
Member

mtscout6 commented May 7, 2015

I unregistered and re-registered the repo with bower.

"description": "react-router and react-bootstrap compatible components",
"main": "lib/ReactRouterBootstrap.js",
"homepage": "https://github.com/mtscout6/react-router-bootstrap",
"homepage": "https://github.com/react-router/react-router-bootstrap",
Copy link
Member

@mtscout6 mtscout6 May 7, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be https://github.com/react-bootstrap/react-router-bootstrap

Copy link
Member

dozoisch commented May 7, 2015

@mtscout6 looks good

Copy link
Member

mtscout6 commented May 7, 2015

@taion I just realize the urls are wrong.

"react-router": "^0.11.6",
"react-bootstrap": "^0.13.2"
"react-bootstrap": ">=0.15",
"react-router": ">=0.13.1"
Copy link
Member

@mtscout6 mtscout6 May 7, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should classnames be added here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't have classnames set up as an external in your webpack config: https://github.com/react-bootstrap/react-router-bootstrap/blob/master/webpack.config.js#L22

Currently classnames just gets built into the distributed bundle and is not required as a bower dependency. I could update that if you want, but thought it was intentional.

Copy link
Member

@mtscout6 mtscout6 May 7, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I forgot about that.

I'm not personally a bower user, what would you prefer? Your webpack/browserify/require process would be slimmer if it was a declared dependency. May be worth updating in react-bootstrap too then.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stopped using bower for this package, actually, in part because of this issue, so I don't have an opinion on this any more. I just thought I'd try to close this issue since I was submitting the other PR as well.

Copy link
Member

@mtscout6 mtscout6 May 7, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me, we'll let someone that deals with bower submit a PR 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, thinking about this a little more - I think the status quo is okay. It's an extra 30 LOC, and the recent classnames major version upgrade means that embedding the dependency will let you avoid conflicts with other packages that specify classnames 1.x.x (since Bower uses flat dependencies rather than nested ones like NPM).

But I agree that an actual Bower user should update this to something they consider sensible.

Copy link
Member Author

taion commented May 7, 2015

Oops. Let's just forget I ever pushed the commit with the wrong URLs.

Copy link
Member

mtscout6 commented May 7, 2015

@taion And the classnames dependency?

Copy link
Member Author

taion commented May 7, 2015

See line comment above.

mtscout6 added a commit that referenced this pull request May 7, 2015
@mtscout6 mtscout6 merged commit f6d1ee0 into react-bootstrap:master May 7, 2015
@taion taion deleted the jjia/bower branch May 7, 2015 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /