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

Proper repo naming #12

Open
desmap opened this issue Mar 19, 2021 · 1 comment
Open

Proper repo naming #12

desmap opened this issue Mar 19, 2021 · 1 comment

Comments

@desmap
Copy link

desmap commented Mar 19, 2021

Just stumbled over this repo, thanks for sharing! Not an issues but a question: How do you deal with repo names in a monorepo like this if you do not want ever to publish it to npm?

In pnpm I just add "my-local-repo-name": "workspace: *". With npm 7 (and also with yarn) I need to specify a repo name which isn't on npm published, so npm i doesn't pull a remote repo which might exist. So, I can make up some name, prefix it with some fictional org and all good. But if someone registers that name I am back to zero. This sounds all not really sound or I do miss something. How do you deal with this?

@Quramy
Copy link
Owner

Quramy commented Mar 25, 2021

So, I can make up some name, prefix it with some fictional org and all good

But if someone registers that name I am back to zero

Something like @desmap/local-package ? I think no one else can push to the scoped package if you own the npm account (e.g. @desmap ) correctly .

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

No branches or pull requests

2 participants