Repository navigation
[7.0] Add legacy-decorators to stage1. Fixes #5220 - #5225
Merged
Merged
Conversation
yavorsky
commented
Jan 27, 2017
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. |
|
@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. |
Current coverage is 89.61% (diff: 100%)@@ 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
|
mathiasbynens
suggested changes
Jan 27, 2017
| import presetStage2 from "babel-preset-stage-2"; | ||
|
|
||
| import transformExportExtensions from "babel-plugin-transform-export-extensions"; | ||
| import transformDecoratorsLegacy from "babel-plugin-transform-decorators-legacy"; |
Contributor
There was a problem hiding this comment.
Nit: sort alphabetically for consistency with other files
| plugins: [ | ||
| transformExportExtensions | ||
| transformExportExtensions, | ||
| transformDecoratorsLegacy |
Contributor
There was a problem hiding this comment.
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", |
Contributor
There was a problem hiding this comment.
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.
Member
Author
|
@mathiasbynens Thanks for review! Updated according to requirements. |
mathiasbynens
approved these changes
Jan 27, 2017
6 tasks
6 tasks
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) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.