-
Notifications
You must be signed in to change notification settings - Fork 789
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
Loader's package.json does not have private:true attribute #3565
Comments
Hey @supersabillon 👋 Can you explain the motivation for this issue/its PR for me a little to help me understand a bit better? Did you run into an issue where Thanks! |
hi @rwaskiewicz yeah apologies I should have provided more context. Some tools used in monorepos for publishing packages, for example we are using Changesets, use this property to check if a package needs to be published. So Changesets tries to publish this package and throws an error when it can't find it in the registry. Not sure if this is happening with other tools like Lerna. So this is not a Stencil issue, but more of an improvement we will get when working in monorepos and using tooling to help publish packages. Here is the PR: #3566 |
Thanks! This seems like a reasonable enough request. I’m not an expert on Changesets (the project) by any means. I did some reading up on how Changesets operates, and if there was an alternative to making a change in Stencil. It seems that Changesets provides an
So I think this is all reasonable enough/something we can potentially merge 👍 Let me test it out a bit 🙂 |
A fix for this bug has been release as a part of Stencil v2.18.0. I'm going to close this issue, but please feel free to open a new issue should the bug reoccur. Thanks! |
Stencil version:
Current behavior:
When generating a loader, the package.json does not have a private: true attribute
Expected behavior:
It should have a private: true attribute since we don't intend to publish to npm.
The text was updated successfully, but these errors were encountered: