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

Fix typos in asserts add LICENSE-asserts.md to package.json #140

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

dibenede
Copy link
Contributor

@dibenede dibenede commented Oct 7, 2022

Came across a couple stragglers while doing a dry run of the npm release.

@dibenede dibenede requested a review from lukesandberg October 7, 2022 20:07
@dibenede dibenede self-assigned this Oct 7, 2022
@dibenede dibenede removed the request for review from lukesandberg October 7, 2022 20:29
@dibenede
Copy link
Contributor Author

dibenede commented Oct 7, 2022

Please hold. Sorting out the npm file list...

We were previously just globbing the entire google/ dir, which brings
in different versions of files that we don't normally publish to
npm. For example, we usually publish any_pb.js, which uses commonjs
requires instead of any.js, which uses closure's goog.require.
@dibenede dibenede requested a review from lukesandberg October 7, 2022 20:38
@dibenede
Copy link
Contributor Author

dibenede commented Oct 7, 2022

Ok, I think that should do it. The closure versions were getting brought into the package (I think previously I used a different target to just build the commonjs ones). It's a bit simpler/less to remember, if the package itself is explicit about what should actually go out.

@dibenede dibenede merged commit 3b3a8ab into protocolbuffers:main Oct 7, 2022
@dibenede dibenede deleted the release-bugs branch October 7, 2022 20:48
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

Successfully merging this pull request may close these issues.

2 participants