forked from emberjs/ember-cli-babel
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Target based polyfill #1
Open
andyhot
wants to merge
311
commits into
rwjblue:master
Choose a base branch
from
andyhot:target-based-polyfill
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
Fix link to babel docs
see ember-cli/ember-cli#5316 and related issues
Pin jQuery to v1.11.3 to fix builds
Update "ember-cli" to v1.13.8
upgrade ember-cli to 2.6.2
addon mains must load quickly.
* test matrix is now more comprehensive, testing against all versions of node ember-cli supports * install npm v3 if not already installed * remove allowed failures
LazilyRequire broccoli-funnel
Update all dependencies 🌴
Makes sure to ignore files that are irrelevant when installing the package.
Adds .npmignore and whitelists js files
This will be used by broccoli-babel-transpiler to log warnings/deprecations to the console when a given plugin does not provide the correct caching information.
Pass console object in to broccoli-babel-transpiler.
Prevent errors with console options under older ember-cli's.
Fix issue with app.import being undefined
Include examples for where to put options
ember-cli 2.14.0 upgrade + eslint
Improve acceptance tests and Ember syntax
Update "broccoli-babel-transpiler" to v6.1.1
update broccoli-babel-transpiler dependency to 6.1.2
CI: Deploy tags automatically
Update `amd-name-resolver` version to enable parallel babel transpile
This now provides `import Ember from 'ember'` (and therefore removes the requirement of addons and/or apps to have `ember-cli-shims` installed). diff --git a/package.json b/package.json index 5c0b3c7..344026d 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dependencies": { "amd-name-resolver": "0.0.7", "babel-plugin-debug-macros": "^0.1.11", - "babel-plugin-ember-modules-api-polyfill": "^1.4.1", + "babel-plugin-ember-modules-api-polyfill": "^1.5.0", "babel-plugin-transform-es2015-modules-amd": "^6.24.0", "babel-polyfill": "^6.16.0", "babel-preset-env": "^1.5.1", diff --git a/yarn.lock b/yarn.lock index aba0158..23b3ced 100644 --- a/yarn.lock +++ b/yarn.lock @@ -140,6 +140,12 @@ amd-name-resolver@0.0.6: dependencies: ensure-posix-path "^1.0.1" +amd-name-resolver@0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/amd-name-resolver/-/amd-name-resolver-0.0.7.tgz#814301adfe8a2f109f6e84d5e935196efb669615" + dependencies: + ensure-posix-path "^1.0.1" + amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" @@ -496,6 +502,12 @@ babel-plugin-ember-modules-api-polyfill@^1.4.1: dependencies: ember-rfc176-data "^0.2.0" +babel-plugin-ember-modules-api-polyfill@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-1.5.0.tgz#5ab880597d44118ee56c21d143f75f245efd4e95" + dependencies: + ember-rfc176-data "^0.2.0" + babel-plugin-htmlbars-inline-precompile@^0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-0.2.3.tgz#cd365e278af409bfa6be7704c4354beee742446b"
Update minimum version of babel-plugin-ember-modules-api-polyfill.
Fixes emberjs#178 diff --git a/package.json b/package.json index e537c4b..8bf0b7c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dependencies": { "amd-name-resolver": "0.0.7", "babel-plugin-debug-macros": "^0.1.11", - "babel-plugin-ember-modules-api-polyfill": "^1.5.0", + "babel-plugin-ember-modules-api-polyfill": "^1.5.1", "babel-plugin-transform-es2015-modules-amd": "^6.24.0", "babel-polyfill": "^6.16.0", "babel-preset-env": "^1.5.1", diff --git a/yarn.lock b/yarn.lock index 23b3ced..56f6237 100644 --- a/yarn.lock +++ b/yarn.lock @@ -502,9 +502,9 @@ babel-plugin-ember-modules-api-polyfill@^1.4.1: dependencies: ember-rfc176-data "^0.2.0" -babel-plugin-ember-modules-api-polyfill@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-1.5.0.tgz#5ab880597d44118ee56c21d143f75f245efd4e95" +babel-plugin-ember-modules-api-polyfill@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-1.5.1.tgz#244b4a716a2ee4c839554c77102145d9bee4a4a4" dependencies: ember-rfc176-data "^0.2.0"
Update "babel-plugin-ember-modules-api-polyfill" to v2.0.1
Instead of importing the full `babel-polyfill` we create a polyfill that supports the specific targets the app has declared.
2 tasks
rwjblue
pushed a commit
that referenced
this pull request
Jun 12, 2020
Don't emit modules for .d.ts files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Update rwjblue/master to 6.8.2 and incorporate emberjs#142