Add support for package tarballs in :npm-deps

Description

NPM supports installing packages from tarballs via {npm install /path/to/foo.tgz}. This can be useful for trying a local (modified) version of a package, or generally any unpublished and/or private JS project; all that's needed is a {package.json} and a {.js} file and {npm pack} can generate a tarball.

It would be nice if ClojureScript would support this as well, through {:npm-deps}.

Proposed syntax:

The version isn't needed with tarballs, so it could be anything.

I have the code for this working but I still want to add a test before I submit a patch.

Environment

None

Assignee

Unassigned

Reporter

Jannis Pohlmann

Labels

Approval

None

Patch

None

Affects versions

Priority

Major
Configure