Coder Social home page Coder Social logo

Why removing Bower ? about deepmerge HOT 6 CLOSED

tehshrike avatar tehshrike commented on July 26, 2024
Why removing Bower ?

from deepmerge.

Comments (6)

TehShrike avatar TehShrike commented on July 26, 2024 1

Like I said at #25 (comment)

I've never used bower, and I don't want to start using it just to maintain this package for another system. Maintaining for Github and npm is enough for me.

from deepmerge.

mistic100 avatar mistic100 commented on July 26, 2024

You don't need to be using Bower in order to publish.

Everything is already wired up and working (unlike NPM, publish are automatic when a tag is created).

Proof :

$ bower info deepmerge

Available versions:
  - 1.0.2
  - 1.0.1
  - 0.2.10
  - 0.2.9
  - 0.2.8
  - 0.2.5
  - 0.2.4
  - 0.2.1
  - 0.2.0
  - 0.1.0
  - 0.0.1

See ? The tags you created were registered.

You just have to leave the bower.json file and update the version.

Please don't block 50% of users :-)

from deepmerge.

TehShrike avatar TehShrike commented on July 26, 2024

Assuming that 50% of consumers are using bower seems wildly optimistic >_<

If bower uses Github tags, why does it need a version number in a bower.json file? :-x

I uses automated scripts to bump package.json version numbers, tag, and release. Is there an automated command to bump the version in bower.json?

If I may ask, is there a reason you don't npm install deepmerge and then include node_modules/deepmerge/index.js in your scripts?

from deepmerge.

mistic100 avatar mistic100 commented on July 26, 2024

Assuming that 50% of consumers are using bower seems wildly optimistic >_<

I admit I have no idea, but there are certainly as much NPM users as Bower users

If bower uses Github tags, why does it need a version number in a bower.json file? :-x

Probably for the same reason a version is needed in package.json

I uses automated scripts to bump package.json version numbers, tag, and release. Is there an automated command to bump the version in bower.json?

As there is no build-chain in the repo itself, I can't answer you. I use Grunt for my projects and grunt-bump updates the version for NPM, Bower and Composer

If I may ask, is there a reason you don't npm install deepmerge and then include node_modules/deepmerge/index.js in your scripts?

Because I work with already existing continuous deployment architecture that uses Wiredep to manage and automatically include the dependencies, and it works on top of Bower.

from deepmerge.

TehShrike avatar TehShrike commented on July 26, 2024

It turns out bower doesn't need the version field in bower.json at all: https://github.com/bower/spec/blob/master/json.md#version

So, no problem then. I'll replace the bower.json file without the version field for the next release.

from deepmerge.

mistic100 avatar mistic100 commented on July 26, 2024

Oh, i didn't know, interesting (it makes a lot of sense actually :-) )

Thank you

from deepmerge.

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.