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

Support private workspace members in deno publish #28096

Open
0x009922 opened this issue Feb 13, 2025 · 0 comments
Open

Support private workspace members in deno publish #28096

0x009922 opened this issue Feb 13, 2025 · 0 comments
Labels
suggestion suggestions for new features (yet to be agreed) workspaces

Comments

@0x009922
Copy link

Use case

I have a Deno workspace, with some members being not intended for publishing. They serve more as a helper to organize the workspace. Specifically, some of them only define tasks in their deno.json and nothing else.

When I run deno publish, Deno complains that some workspace members do not have version field specified, and yes, it is on purpose.

Request

I would like to have something like the private: true field in package.json, which is respected e.g by PNPM & pnpm publish. Then, I can explicitly mark packages as private and deno publish should not take them into account.

Alternatively, it could be configured in the root deno.json's publish config. I tried to use publish.exclude, but it has a different purpose.

@kt3k kt3k added suggestion suggestions for new features (yet to be agreed) workspaces labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion suggestions for new features (yet to be agreed) workspaces
Projects
None yet
Development

No branches or pull requests

2 participants