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

Rename Proposal Plugins #6570

Merged
merged 1 commit into from
Oct 27, 2017
Merged

Rename Proposal Plugins #6570

merged 1 commit into from
Oct 27, 2017

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Oct 27, 2017

Ref https://twitter.com/left_pad/status/905180504676294656

screen shot 2017-10-27 at 12 38 28 pm

Maybe other words would be better but want to stick with how we talk about it on TC39


Renaming all tc39 proposal plugins to -proposal (this also means change our policy to start each plugin as proposal)

Example Work

  • git mv packages/babel-plugin-transform-async-generator-functions packages/babel-plugin-proposal-async-generator-functions
  • Find/replace transform-async-generator-functions to proposal-async-generator-functions

cat test.txt | xargs -I {} sh -c 'git mv {} "$(echo {} | sed "s/transform/proposal/")"' thanks to @weikinhuang

packages/babel-plugin-transform-class-properties
packages/babel-plugin-transform-decorators
packages/babel-plugin-transform-do-expressions
packages/babel-plugin-transform-export-default
packages/babel-plugin-transform-export-namespace
packages/babel-plugin-transform-function-bind
packages/babel-plugin-transform-function-sent
packages/babel-plugin-transform-nullish-coalescing-operator
packages/babel-plugin-transform-numeric-separator
packages/babel-plugin-transform-object-rest-spread
packages/babel-plugin-transform-optional-catch-binding
packages/babel-plugin-transform-optional-chaining
packages/babel-plugin-transform-pipeline-operator
packages/babel-plugin-transform-throw-expressions
packages/babel-plugin-transform-unicode-property-regex

cc @matt-oconnell

@hzoo hzoo added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label Oct 27, 2017
@hzoo hzoo changed the title async-generator-functions [skip ci] Rename Proposal Plugins Oct 27, 2017
@hzoo hzoo mentioned this pull request Oct 27, 2017
7 tasks
@hzoo hzoo force-pushed the rename-transform-to-proposal branch from e1b63b7 to 0450a73 Compare October 27, 2017 18:05
@babel-bot
Copy link
Collaborator

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

@hzoo hzoo merged commit c41abd7 into master Oct 27, 2017
@Andarist Andarist deleted the rename-transform-to-proposal branch October 28, 2017 08:17
@Aprillion
Copy link

Aprillion commented Nov 15, 2017

Do you plan to address obsolete references in package.json and fix dead github links e.g. on https://www.npmjs.com/package/babel-plugin-transform-optional-chaining ?

that is still the first result of https://google.com/search?q=babel%20optional%20chaining and it points to https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-chaining which is 404 Not Found

versions after 7.0.0-beta3 are published to https://www.npmjs.com/package/@babel/plugin-proposal-optional-chaining => not sure if there is some mechanism for people with babel-plugin-transform-optional-chaining in their package.json to be notified

@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: Breaking Change 💥 A type of pull request used for our changelog categories for next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants