Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Please publish AngularJS as an NPM module #2877

Closed

Description

@dankohn

It just takes a few minutes to publish an npm module of the existing AngularJS project, but it would accomplish the following:

  • Enable deployment from the standard infrastructure being used for both server and client Javascript code
  • Enable browserify users like me to package up client side libraries I fetch with npm (though in production, I reference a copy on the CDN)
  • Find new Angular releases using npm outdated.
  • Jump ahead of jQuery, which is in the process of taking over the npm management of their library: Publish the updates to NPM & Setup Travis HorseAJ86/node-jquery#56

The npm name angularjs remains available. I recommend mapping it to git://github.com/angular/angular.js.git#v1.0.x and perhaps also creating an angularjs-unstable which pulls from master.

Thanks!

Activity

  1. darvin commented on Jun 5, 2013

    @darvin
  2. vizo commented on Jul 29, 2013

    @vizo

    +1

  3. RWOverdijk commented on Sep 25, 2013

    @RWOverdijk

    +1.

    Or use napa. Works well for me:
    npm i napa --save-dev

    and add to package.json:

    {
      "scripts": {
        "install": "napa angular/bower-angular:angular"
      }
    }
  4. bpierre commented on Sep 26, 2013

    @bpierre

    The name angularjs, defined in the package.json, has been taken on npm by this module: https://github.com/eugeneware/angularjs

    • @eugeneware, would it be possible to change the name of your module, since it could be mistaken for the official Angular project?
    • AngularJS people, would it be possible to publish Angular on npm?
  5. eugeneware commented on Sep 27, 2013

    @eugeneware

    The intention was to have a browserify friendly way to include angularjs, so very happy to give up the name for an officially supported version.

  6. NickHeiner commented on Oct 3, 2013

    @NickHeiner
    Contributor

    👍

  7. seanhess commented on Oct 9, 2013

    @seanhess

    +1

  8. aderuwe commented on Oct 15, 2013

    @aderuwe

    👍

  9. bclinkinbeard commented on Nov 25, 2013

    @bclinkinbeard
    Contributor

    In the meantime you can use https://npmjs.org/package/angular. It allows you to use Angular from both Browserify and Node directly.

  10. vilmosioo commented on Nov 27, 2013

    @vilmosioo

    +1

  11. steffenmllr commented on Dec 4, 2013

    @steffenmllr

    +1

  12. psi-4ward commented on Dec 16, 2013

    @psi-4ward

    +1
    something official would be nice

  13. dcartertwo commented on Jan 11, 2014

    @dcartertwo

    +1. would be great to have something official for angular and its core modules.

  14. xseignard commented on Jan 11, 2014

    @xseignard

    i would say +1 too!

  15. dylang commented on Jan 21, 2014

    @dylang

    I asked @bradlygreen about publishing npmjs at #ng-conf and he said they haven't done it yet because it's not necessary for the way Angular is used within Google, but suggested that adding a pull request to the build scripts could help this happen.

    I think these are the tasks required, but there could be more:

    • Create an npm account for angular.
    • Put the credentials on the Jenkins slave (or wherever they need to go).
    • Decide if it should be this repo (with an .npmignore file) or a new repo that is published to npm. Bower uses separate repos for the built code, so to continue with that pattern there could be npm-angular.
    • Create the npm-angular repo or make changes to the current repo.
    • @bclinkinbeard: transfer or share access to your angular module on npm with the angular user, and/or @eugeneware and your angularjs module.
    • Possibly as a separate issue: Add Browserify examples to the documentation.
    • Promote benefits of using Angular with Browserify on our favorite social mediums.

    What else is missing and who wants to help?

  16. 64 remaining items

  17. added a commit that references this issue on Oct 1, 2014
    8fbe979
  18. mljsimone commented on Oct 2, 2014

    @mljsimone

    Yay! +1

  19. jblaise commented on Oct 3, 2014

    @jblaise

    nice 👍

  20. mgol commented on Oct 4, 2014

    @mgol
    Member

    Note for the future: before a final version is released I guess the publishing command should be like:

    npm publish --tag=beta
    

    Otherwise it'll get tagged as latest and all people doing npm install angular will install the unstable one.

    This may not be important here since this will be the first official publish anyway.

  21. added a commit that references this issue on Oct 6, 2014
    a21d49c
  22. btford commented on Oct 6, 2014

    @btford
    Contributor

    Landed the change to the script, but we'll need to do another release to get the artifacts up.

  23. addyosmani commented on Oct 6, 2014

    @addyosmani

    Yay. Nice work @btford!

  24. RichardLitt commented on Oct 7, 2014

    @RichardLitt
    Contributor

    👍 Thanks man!

  25. aderuwe commented on Oct 7, 2014

    @aderuwe

    👍 Awesome!

  26. tanx commented on Oct 7, 2014

    @tanx

    Thanks!

  27. jblaise commented on Oct 9, 2014

    @jblaise

    👍 thanks

  28. added a commit that references this issue on Oct 9, 2014
    8cd277c
  29. seadb commented on Oct 19, 2015

    @seadb

    thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions