-
Notifications
You must be signed in to change notification settings - Fork 355
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
support npm with github #160
base: master
Are you sure you want to change the base?
Conversation
so that users can ``` npm install --save github:NeilFraser/JS-Interpreter ``` closes NeilFraser#156
I'm not clear on how to contact the person who currently owns the |
@@ -0,0 +1,17 @@ | |||
{ | |||
"name": "js-interpreter", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about adding a scope, that would allow the distinction to the existing package: @neil-fraser/js-interpreter
or something along those lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 on the scoping. Is that @NeilFraser 's npm account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that @NeilFraser 's npm account?
I rather doubt that @NeilFraser has an npm account. I might be guilty of understatement in describing him as being a bit dubious about the npm ecosystem. (I still think it would be preferable if he make his packages officially available there, though.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If he registers an account, even if he doesn't publish there, it would be better because we could use a scoped name that no one else could take then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be guilty of understatement in describing him as being a bit dubious about the npm ecosystem
Hopefully things have changed now in 2021 :D
Any update? |
Please see my other ticket. #216 I will be totally happy to transfer ownership of it to you guys. But, I think we should spare a thought for those people who are currently using npm's js-interpreter so that we don't break things for them. |
I had a look at this PR, and I wanted to add that doing this might not be enough:
Mainly because of this line in js-interpreter:
Sandwiching it might be a better option, since |
I'm on annual leave at the moment but will look at this when I get back to the office. Thanks @tjenkinson for the PR and @mercmobily for offering the use of the existing name. I'm not sure that @NeilFraser will be that keen to take on maintenance of the npm but we can probably work something out, especially if there are folks like you guys with the relevant experience who are willing to help out. I agree that it would be best not to break things for users of the existing package. |
No worries, let me know once you get back. In the meantime, I will leave the current js-interpreter npm package as is, waiting for your decision! |
Any chance this PR gets merged? |
so that users can
closes #156
See https://docs.npmjs.com/cli/install
I wondered if it would work without
name
but it's required. It's a bit misleading if someone else ownsjs-interpreter
on npm. Ideally you would register a new name and use that to prevent any confusion.