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

[ts][js] Publish artifacts to NPM #711

Closed
scottmcdonnell opened this issue Sep 27, 2016 · 6 comments
Closed

[ts][js] Publish artifacts to NPM #711

scottmcdonnell opened this issue Sep 27, 2016 · 6 comments

Comments

@scottmcdonnell
Copy link

I can't currently install spine-runtimes as a project dependency using npm - can a package.json be added?

@scottmcdonnell scottmcdonnell changed the title installing with NPM installing with npm Sep 27, 2016
@badlogic badlogic changed the title installing with npm [ts][js] Publish artifacts to NPM Sep 28, 2016
@badlogic
Copy link
Collaborator

We currently have no plans for this, but might do it in the future.

@badlogic
Copy link
Collaborator

badlogic commented Oct 3, 2016

Looks like you guys resolved this without us adding a package.json. Good stuff! pixijs-userland/spine#121

@badlogic badlogic closed this as completed Oct 3, 2016
@dcalhoun
Copy link
Contributor

@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.

@scottmcdonnell
Copy link
Author

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 npm install --save-dev EsotericSoftware/spine-runtimes

@dcalhoun
Copy link
Contributor

dcalhoun commented Dec 1, 2016

@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 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 do you have any additional thoughts on this?

@scottmcdonnell
Copy link
Author

scottmcdonnell commented Dec 1, 2016 via email

dcalhoun added a commit to HealthTeacher/spine-runtimes that referenced this issue Dec 5, 2016
Add package.json and npmignore to support installation of runtimes via
npm (address EsotericSoftware#711).
dcalhoun added a commit to HealthTeacher/spine-runtimes that referenced this issue Dec 5, 2016
Add package.json and npmignore to support installation of runtimes via
npm (address EsotericSoftware#711).
badlogic pushed a commit that referenced this issue Dec 14, 2016
Add package.json and npmignore to support installation of runtimes via
npm (address #711).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants