-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[ts][js] Publish artifacts to NPM #711
Comments
We currently have no plans for this, but might do it in the future. |
Looks like you guys resolved this without us adding a |
@badlogic I didn't follow much of the Pixi thread discussion, but I would love to see Spine's runtimes published to npm. Manually downloading them for my project feels a bit antiquated. |
As far as I know, all that is needed is a package.json to be created at the root. Then it can be installed directly from github using |
@scottmcdonnell from what I understand, it's not possible to install a subdirectory of a monorepo and it's not something that npm plans to support. So, merely adding a @badlogic do you have any additional thoughts on this? |
Lots of node_modules are large packages. All runtimes would be installed
but the 'main' param in package.json would point to the JavaScript index
file.
Then a bundler such as webpack would package up just the JavaScript runtime
if 'required'
…On 1 Dec 2016 5:32 p.m., "David Calhoun" ***@***.***> wrote:
@scottmcdonnell <https://github.com/scottmcdonnell> from what I
understand, it's not possible to install a subdirectory of a monorepo and
it's not something that npm plans to support
<npm/npm#2974 (comment)>. So,
merely adding a package.json to the root of this project would mean a
user would have to install *every* runtime when they need a single
runtime for a project. This is far from ideal, in my opinion.
@badlogic <https://github.com/badlogic> do you have any additional
thoughts on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#711 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3F9IPO_0voiZ7BTsrb7w_LbyqU3Munks5rDwSYgaJpZM4KH1dz>
.
|
Add package.json and npmignore to support installation of runtimes via npm (address EsotericSoftware#711).
Add package.json and npmignore to support installation of runtimes via npm (address EsotericSoftware#711).
Add package.json and npmignore to support installation of runtimes via npm (address #711).
I can't currently install spine-runtimes as a project dependency using npm - can a package.json be added?
The text was updated successfully, but these errors were encountered: