Giter VIP home page Giter VIP logo

Comments (9)

stevoland avatar stevoland commented on April 27, 2024

Yeah, thing is that you don't publish anything to Bower, it just gets the package from Github. We could have separate projects for the source and build?

from react-bootstrap.

stevoland avatar stevoland commented on April 27, 2024

That would work actually - a repo each for AMD + CommonJS + another for the source. I'll look into doing that.

from react-bootstrap.

pieterv avatar pieterv commented on April 27, 2024

Yeah sounds good having a separate repo for Bower, heres the react one for referance: https://github.com/facebook/react-bower

I wonder if it would be worth looking into using a UMD wrapper for the modules so we don't need the extra duplication of both AMD and CommonJS dirs, we could add this as a build step. React are looking to use pure-cjs for this facebook/react#1002

from react-bootstrap.

stevoland avatar stevoland commented on April 27, 2024

I'm not sure pure-cjs fits the bill. It seems to only wrap the top level module in UMD which wouldn't let you require specific components. I think its fine as it is if we add react-bootstrap-bower and react-bootstrap-npm repos.

Probably worth doing it at the same time as moving to an org as you have to write a nice letter to the Bower people to get them to move the package. What was that react component org you mentioned before?

from react-bootstrap.

pieterv avatar pieterv commented on April 27, 2024

Right yeah i thought might be the case, would you still include the cjs and amd dirs in both packages?

The react org is: https://github.com/reactjs.
Wow the bower people still haven't fixed that, guess that makes sense then.

from react-bootstrap.

stevoland avatar stevoland commented on April 27, 2024

No, I'd only include the built files for that module system in the root of the repo so no more amd and cjs dirs

from react-bootstrap.

stevoland avatar stevoland commented on April 27, 2024

Have published built packages for npm and bower at https://github.com/react-bootstrap

Will have to wait for Bower to update their db before removing the built files from here bower/bower#120

from react-bootstrap.

pieterv avatar pieterv commented on April 27, 2024

Nice work!

from react-bootstrap.

stevoland avatar stevoland commented on April 27, 2024

Right have got fed up waiting for Bower and removed the built files from here. They are now at https://github.com/react-bootstrap

from react-bootstrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.