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: Accidentally published tsconfig files #16917

Merged
merged 5 commits into from
Oct 22, 2024

Conversation

liuxingbaoyu
Copy link
Member

Q                       A
Fixed Issues? Fixes #16916
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

We actually publish tsconfig.json and even tsconfig.tsbuildinfo for all packages.🤦‍♂️

@babel-bot
Copy link
Collaborator

babel-bot commented Oct 19, 2024

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/58154

Comment on lines +7 to +10
"./babel.js",
"./babel.js.map",
"./babel.min.js",
"./babel.min.js.map"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any idea of why we started accidentally publishing them?

@liuxingbaoyu
Copy link
Member Author

Do you have any idea of why we started accidentally publishing them?

#16430
It seems that starting from this PR, each package has its own tsconfig.json.

@@ -1,3 +1,4 @@
src
test
*.log
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we keep the *.log here. In circumstances where we have to manually publish npm packages and the first publish attempt is failed, npm will generate a debug log npm-debug.log, if we forget to remove that during the second publish attempt, this log will be unfortunately published.

@nicolo-ribaudo nicolo-ribaudo merged commit af91759 into babel:main Oct 22, 2024
52 checks passed
@nicolo-ribaudo nicolo-ribaudo added the PR: Internal 🏠 A type of pull request used for our changelog categories label Oct 22, 2024
@nicolo-ribaudo nicolo-ribaudo changed the title fix: Accidentally publishing useless files fix: Accidentally publishing tsconfig files Oct 22, 2024
@nicolo-ribaudo nicolo-ribaudo changed the title fix: Accidentally publishing tsconfig files fix: Accidentally published tsconfig files Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Path Error Showing
4 participants