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

Remove babel-messages and inline the usages #6356

Merged
merged 2 commits into from
Oct 1, 2017

Conversation

JeromeFitz
Copy link
Contributor

Q                       A
Fixed Issues Fixes #6347
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added/Pass? Pass
Spec Compliancy?
License MIT
Doc PR
Any Dependency Changes? Y
  • Removed package babel-messages (and its reference from other babel-* package.json)
  • Inlined its contents wherever referenced throughout repository

rouzbeh84 and others added 2 commits September 30, 2017 02:19
 option-manager.js... /babel-core/src/config/
 build-external-helpers.js... /packages/babel-core/src/tools/
 index.js... /packages/babel-generator/src
package.json "babel-messages" removed:
- babel-core
- babel-helper-replace-supers
- babel-plugin-transform-es2015-classes
- babel-traverse

"messages" remove from:
- babel-plugin-check-es2015-constants/src/index.js
- babel-plugin-transform-es2015-for-of/src/index.js

export "babel-messages" removed from:
- babel-core/src/index.js

import "babel-messages" removed from:
- babel-generator/src/index.js
- babel-helper-replace-supers/src/index.js
- babel-traverse/src/index.js
- babel-traverse/src/scope/index.js
- babel-traverse/src/visitors.js

package "babel-messages" removed completely.

💯️ All tests pass.
@JeromeFitz JeromeFitz mentioned this pull request Sep 30, 2017
16 tasks
@babel-bot
Copy link
Collaborator

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

@hzoo hzoo added the PR: Internal 🏠 A type of pull request used for our changelog categories label Sep 30, 2017
@hzoo hzoo merged commit 6816b26 into babel:master Oct 1, 2017
@hzoo
Copy link
Member

hzoo commented Oct 1, 2017

This is great, I also checked out locally with hub with hub checkout https://github.com/babel/babel/pull/6356 to check any more uses of babel-messages (didn't see any)

Awesome teamwork @rouzbeh84 and @JeromeFitz on this one! Got to remove an unused package and a ~ 100 lines of code!

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2019
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.

Remove babel-messages and inline the usages
7 participants