Skip to content

[7.0] Move legacy-decorators into stage-1 preset 🎉 #5220

Closed

Description

@hzoo

Right now the transform-decorators plugin in babel-preset-stage-2 just errors because it hasn't been implemented. (It's in progress).

In the meantime we should just remove it from stage 2 and then move the decorators legacy plugin by @loganfsmyth into stage-1. I want to say stage-1 since it hasn't been updated. When we implement the stage-2 spec one we can move it into stage-2.

  • Comment below you are going to do this (for others to know)
  • Read CONTRIBUTING.md
  • Check you are on 7.0 branch with git checkout 7.0 and then make a branch off of that to PR
  • remember to run make build after a source code change or better just run make watch in another terminal window to auto run babel while you are developing

Activity

  1. added this to the Babel 7 milestone on Jan 26, 2017
  2. changed the title [-][7.0] Move `legacy-decorators` into stage-1 preset[/-] [+][7.0] Move `legacy-decorators` into stage-1 preset 🎉[/+] on Jan 26, 2017
  3. yavorsky commented on Jan 26, 2017

    @yavorsky
    Member

    I'll take this one 👌

  4. added 3 commits that reference this issue on Jan 27, 2017
    4ed750a
    4091b1a
    3b63ba1
  5. added a commit that references this issue on Jan 27, 2017
    3f95a76
  6. existentialism commented on Jan 27, 2017

    @existentialism
    Member

    #5225 👍

  7. jharris4 commented on Jan 29, 2017

    @jharris4

    Should this maybe be documented on the README for https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-decorators?

    I just tried using the non-legacy plugin and got the error, and only knew why by searching and finding this issue.

  8. xtuc commented on Jan 30, 2017

    @xtuc
    Member

    @jharris4 Yes, I will update the documentation.

    @existentialism @hzoo This is a breaking change, right?

  9. added a commit that references this issue on May 2, 2017
    a503ca9
  10. added
    outdated
    on May 5, 2018
  11. locked as resolved and limited conversation to collaborators on May 5, 2018
  12. added a commit that references this issue on Sep 9, 2026
    ebbe145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has PRgood first issuehelp wantedoutdated

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions