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

Publish scribejs in npm #24

Open
tripu opened this issue Jul 6, 2017 · 6 comments
Open

Publish scribejs in npm #24

tripu opened this issue Jul 6, 2017 · 6 comments

Comments

@tripu
Copy link
Member

tripu commented Jul 6, 2017

No description provided.

@iherman
Copy link
Member

iherman commented Jul 29, 2017

I am not sure what that means...

@tripu
Copy link
Member Author

tripu commented Aug 20, 2017

@iherman:

It means uploading a snapshot of the software to npmjs.com — the public npm registry by default.

The package would appear as authored by W3C: npmjs.com/~w3c (or under your own username, if you prefer that). Any npm user would be able to do npm install scribejs on the command line, or to mention scribejs in the package.json of their own software, to get it installed automatically by npm, and then use it or build on top of it. Admittedly, there aren't many use cases for scribejs as a building block for other tools (it's quite specific to W3C's needs), but we tend to publish our Node.js tools on npm by default, for the same reasons we tend to licence as free/open software by default, etc. It's very quick (both publishing for the first time, and publishing subsequent versions), and there are no obvious disadvantages I can think of.

Most importantly, it's the best way to distribute scribejs to end users (it's the usual way in the Node.js/npm community). Assuming they already have Node.js and npm, they'd do:

$ sudo npm i -g scribejs
$ scribejs -h
⋮

More info:

docs.npmjs.com/getting-started/publishing-npm-packages
docs.npmjs.com/cli/publish

@iherman
Copy link
Member

iherman commented Aug 21, 2017

@tripu I understand, and I am fine doing that. But, I would think, we should get all issues closed (except the ones that are labeled as 'future version') before doing that. Also, I would think I cannot do that, I do not have any account/permission to upload package infos...

@tripu
Copy link
Member Author

tripu commented Aug 21, 2017

We should get all issues closed (except the ones that are labeled as 'future version') before doing that.

OK. Then this issue itself becomes “future version”. Labelling it as such and leaving it open until then…

Also, I would think I cannot do that, I do not have any account/permission to upload package infos...

No worries; I'll publish it under W3C's npm account.

@tripu tripu changed the title Publish scribejs in npm? Publish scribejs in npm Aug 21, 2017
@tripu tripu added this to Backlog in Plan Aug 30, 2017
@iherman iherman closed this as completed Nov 1, 2022
@tripu
Copy link
Member Author

tripu commented Nov 2, 2022

@iherman, out of curiosity: “completed” because it's now published as an npm package?

@iherman iherman reopened this Nov 2, 2022
@iherman
Copy link
Member

iherman commented Nov 2, 2022

Ouch. Closed a wrong issue... :-(

Thanks for pinging. Yes, this is still pending, and not sure when I will do it (at present there has not been any request for it and it is an extremely W3C specific tool...)

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

No branches or pull requests

2 participants