Skip to content

[7.0] Add legacy-decorators to stage1. Fixes #5220 - #5225

Merged
hzoo merged 2 commits into
babel:7.0from
yavorsky:decorators-stage-1
Jan 27, 2017
Merged

hzoo merged 2 commits into
babel:7.0from
yavorsky:decorators-stage-1

Conversation

@yavorsky

Copy link
Copy Markdown
Member
Q A
Patch: Bug Fix? n
Major: Breaking Change? y
Minor: New Feature? n
Deprecations? n
Spec Compliancy? y
Tests Added/Pass? n
Fixed Tickets Fixes #5220
License MIT
Doc PR
Dependency Changes Added babel-plugin-transform-decorators-legacy.

@mention-bot

Copy link
Copy Markdown

@yavorsky, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mathiasbynens, @hzoo and @kesne to be potential reviewers.

@codecov-io

codecov-io commented Jan 27, 2017 •

Copy link
Copy Markdown

Current coverage is 89.61% (diff: 100%)

Merging #5225 into 7.0 will not change coverage

@@                7.0      #5225   diff @@
==========================================
  Files           200        200          
  Lines          9751       9751          
  Methods        1060       1060          
  Messages          0          0          
  Branches       2597       2597          
==========================================
  Hits           8738       8738          
  Misses         1013       1013          
  Partials          0          0          

Powered by Codecov. Last update 0766f29...48eb562

import presetStage2 from "babel-preset-stage-2";

import transformExportExtensions from "babel-plugin-transform-export-extensions";
import transformDecoratorsLegacy from "babel-plugin-transform-decorators-legacy";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: sort alphabetically for consistency with other files

plugins: [
transformExportExtensions
transformExportExtensions,
transformDecoratorsLegacy

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: sort alphabetically for consistency with other files

"main": "lib/index.js",
"dependencies": {
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: sort alphabetically for consistency with other files and to avoid overly complicated diffs when someone npm install --saves another dependency to this file in the future.

@yavorsky

Copy link
Copy Markdown
Member Author

@mathiasbynens Thanks for review! Updated according to requirements.

@hzoo hzoo added this to the Babel 7 milestone Jan 27, 2017
@hzoo hzoo added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label Jan 27, 2017
@hzoo
hzoo merged commit 3f95a76 into babel:7.0 Jan 27, 2017
hulkish added a commit to hulkish/babel that referenced this pull request May 2, 2017
* 7.0: (37 commits)
  resolved conflicts
  [7.0] Switch decorators-legacy to decorators in the Stage 1 Preset (babel#5318) (babel#5319)
  [7.0] Replacing current decorators with decorators-legacy (babel#5290)
  Add Node 7 to CI (babel#5165)
  [7.0] remove standalone babel package (babel#5293)
  .gitignore for test [skip ci]
  update yarn
  use [email protected] (babel#5254)
  [7.0] Run Babel's unittests in a custom sandbox (take 2). (babel#5263)
  [7.0] Remove quotes option (babel#5154)
  [7.0] List babylon plugins instead of * in babel-generator tests (babel#5231)
  Remove babel-runtime from packages' dependencies (babel#5218)
  Bump `detect-indent`. (babel#5226)
  [7.0] Add legacy-decorators to stage-1. Fixes babel#5220 (babel#5225)
  [7.0] Use lerna's --independent mode + changes (fixes babel#5221)
  [7.0] Bump `home-or-tmp` for `babel-register`. (babel#5189)
  [7.0] Added yarn.lock (babel#5175)
  [7.0] Remove old babel-runtime code (babel#5187)
  [7.0] Drop support for Node 5 (babel#5186)
  Remove path-is-absolute in favor of builtin path.isAbsolute (babel#5179)
  ...
@lock lock Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Oct 6, 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.

5 participants