Open danielleadams opened 2 years ago
Perhaps they should also recommend using npx instead, since global installs are widely discouraged in the community.
@ljharb yeah, we should probably do both
I like the idea of using namespace but would rather not use @nodejs
, as that might encourage project specific tools to be used externally, which is not recommended. Something like @nodejs-dev
maybe?
Or maybe even something more specific like @nodejs-dev-internal ?
I'm ok to use an org/scope but not @nodejs
. I'm ok with @nodejs-dev
but I think @nodejs-core
is more explicit in intent.
I like @nodejs-core
or @node-core
.
node-core-utils
could be renamed to @node-core/utils
@node-core/utils
has a nice sound.
+1 for @node-core
it looks like the scope is currently being squatted but if someone opens a ticket with npm support (shouldn't be me) I can look into getting us access
@MylesBorins created this ticket - https://support.github.com/ticket/personal/0/2095597
I think that was me that squatted on it shortly after we discussed initially. Never got around to moving this forward, but I can unsquat so we can use it.
Relative to the thread I just opened on admin (https://github.com/nodejs/admin/issues/794) I like the idea of dev-related stuff being published under a different scope than public stuff.
Making a plan to solve this with @danielleadams .
I just received notification that node-core was transferred to the nodejs-foundation account. We can now start publishing packages in that namespace.
Do we have @nodejs
too? I don't think its been decided yet what the external scope will be, but i think that one was shared during collab summit
Right now we have node, node-core and pkgjs
@danielleadams now that we have node-core what are the next steps and does this still need to be on the TSC agenda.
@mhdawson I think we need to merge https://github.com/nodejs/admin/pull/795 too + make the public facing scope happen
Discussed in meeting today. Those in attenance agreed should be ok to start migrating packages to the node-core namespace as we have the namespace and no objections have been raised.
I'm glad to see @node-core
was approved. Can y'all discuss another scope for public facing modules next? Thank you! RE: https://github.com/nodejs/admin/issues/794
Not sure if this is the right place for this issue, so I am happy to move it. I opened it here because it affects multiple tools in the Node.js org.
Since the installation instructions on the Node.js tooling (ie. https://github.com/nodejs/node-core-utils, https://github.com/nodejs/changelog-maker, etc) recommend a global install, should these be put under a Node.js scope on the npm registry such as
@nodejs/<packagename>
?It establishes a level of trust in the published packages ("I know this came from the Node org"), and it will hopefully help contributors avoid accidental installations of similarly named packages.
Docs: https://docs.npmjs.com/cli/v8/using-npm/scope