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

upgrade cg-busy 4.1.4 to npm #62

Open
ghernandez81 opened this issue Apr 8, 2015 · 10 comments
Open

upgrade cg-busy 4.1.4 to npm #62

ghernandez81 opened this issue Apr 8, 2015 · 10 comments

Comments

@ghernandez81
Copy link

No description provided.

@ghernandez81
Copy link
Author

currently in npm it's 4.1.0

@gabehayes
Copy link
Contributor

Also, there is a tag missing for v4.1.4, so you can't event set a branch/tag target in the interim.

@cgross
Copy link
Owner

cgross commented Jun 1, 2015

Thats because there is no 4.1.4. The latest ver is 4.1.3.

@Valko54
Copy link

Valko54 commented Jun 24, 2015

Please, can you upgrade angular-busy in NPM ? (npm install angular-busy@4.1.3 doesn't exist)

@axelson
Copy link

axelson commented Jul 8, 2015

+1

@benoror
Copy link

benoror commented Jul 30, 2015

+1 Hi, I would also benefit from having it updated, let me give you my reason:

Support for Webpack + CommonJS Package Manager

Motivation

I'm in the process of refactoring an app to support modern JS tooling like NPM, Webpack & ES6.

Code Change

A small change is needed to support CommonJS:

/* commonjs package manager support (eg componentjs) */
if (typeof module !== "undefined" && typeof exports !== "undefined" && module.exports === exports){
  module.exports = 'cgBusy';
}

Working Examples

I have done other PRs for some of my dependencies:

Sources

@benoror
Copy link

benoror commented Jul 30, 2015

BTW @gabehayes you can use latest master commit with the following format in package.json:

"angular-busy": "git+https://github.com/cgross/angular-busy.git"

@myflowpl
Copy link

+1
but i think there should be module.exports = 'cgBusy' instead of module.exports = 'angular-md5'
then it's compatibile with CommonJS and Angular style (and Webpack)

@benoror
Copy link

benoror commented Oct 21, 2015

You're right, fixed! Any chance we could se an npm release soon @cgross ?

@bikegriffith
Copy link

Would love to see this so I don't have to fork and maintain to use in my webpack-driven project

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

No branches or pull requests

8 participants