Skip to content

[7.0] Switch decorators-legacy to decorators in the Stage 1 Preset #5318

Closed

Description

@hzoo

We'll also want to change stage-1 to refer to the current transform again (reverting the previous pr) but we can do that.

Kinda revert part of #5225 due to #5290 (replace transform-decorators to be decorators-legacy)


  • Comment below you are going to do this (for others to know)
  • Read CONTRIBUTING.md
  • 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
  • Check you are on 7.0 branch with git checkout 7.0 and then make a branch off of that to PR
  • change babel-preset-stage-1 package.json and src/index.js
  • just need to remove the -legacy in both places

example

- "babel-plugin-transform-decorators-legacy": "^1.3.4",
+ "babel-plugin-transform-decorators": "^1.3.4",

Activity

  1. added this to the Babel 7 milestone on Feb 15, 2017
  2. sashashakun commented on Feb 15, 2017

    @sashashakun
    Contributor

    Hello! I want to help with this:)

  3. hzoo commented on Feb 15, 2017

    @hzoo
    MemberAuthor

    Awesome! For this one, you technically can just make the patch from the website (if you know how) but I would follow the instructions above 👍

  4. sashashakun commented on Feb 15, 2017

    @sashashakun
    Contributor

    I know how, but I will follow the instructions👌

  5. hzoo commented on Feb 15, 2017

    @hzoo
    MemberAuthor

    Nice work @sashashakun! - #5319

  6. chicoxyzzy commented on Mar 1, 2017

    @chicoxyzzy
    Member

    decorators are on stage 2

  7. hzoo commented on Mar 1, 2017

    @hzoo
    MemberAuthor

    @chicoxyzzy yes but the implementation is old so we aren't updating

  8. added a commit that references this issue on May 2, 2017
  9. added
    outdated
    on May 5, 2018
  10. locked as resolved and limited conversation to collaborators on May 5, 2018
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