Closure Tools Published to nom

77 views
Skip to first unread message

Chad Killingsworth

unread,
Apr 9, 2015, 5:44:52 PM4/9/15
to closure-comp...@googlegroups.com, closure-lib...@googlegroups.com, closure-temp...@googlegroups.com

Closure tools are now officially published to npm. We plan to maintain the nom packages as official release points.

Notes about versioning:

npm uses semver versioning. The compiler and templates projects use date versioning while closure library has historically not been versioned.

To reconcile these differences, the compiler and templates date version number will be used as the MAJOR version. PATCH version numbers will primarily be used for tweaks to the NPM package structure.

Example version: 20150315.0.0

While this doesn’t follow the true spirit of semantic versioning, it allows us to maintain parity with other distribution channels.

Closure-library is expected to be versioned to match the latest compiler release and updated on approximately the same release schedule as the compiler.


Chad Killingsworth
Closure Compiler Committer

Richard Connamacher

unread,
Jul 7, 2015, 4:58:08 PM7/7/15
to closure-lib...@googlegroups.com, closure-comp...@googlegroups.com, closure-temp...@googlegroups.com
Very cool.

What's in the google-closure-compiler/contrib/nodejs directory?

I have some Node bindings and unit tests I wrote up for Closure Library and was preparing to publish to the (currently defunct) 'closure-compiler' module, so you can simply do require('closure-compiler') to access the goog.* namespace in Node. It also includes a Node wrapper module for depswriter.py. Would you be interested in me contributing those to the core google-closure-library module?

Richard Connamacher

unread,
Jul 13, 2015, 3:09:55 PM7/13/15
to closure-lib...@googlegroups.com, closure-temp...@googlegroups.com, closure-comp...@googlegroups.com
One request for google-closure-library on NPM: could you make the Node bootstrap file (closure/goog/bootstrap/nodejs.js) its 'main' file in package.json instead of closure/goog/base.js? That way you could simply do:

require("google-closure-library")

...and start using goog.require() in Node right away.

John Lenz

unread,
Jul 14, 2015, 2:16:27 AM7/14/15
to closure-compiler, closure-library, closure-temp...@googlegroups.com

Can you assign them to me?

On Jul 13, 2015 12:31 PM, "Chad Killingsworth" <chad.kill...@banno.com> wrote:
Yes I can do that - I would have already if I had known that existed. Hopefully somone will start merging my PRs for the package.json soon.

Chad

--

---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/ca39e79a-fb8b-43fa-985d-232511a605f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages