Skip to content

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
@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
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jan 22, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue 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