Skip to content
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

Archive syntax plugins enabled by default #10820

Merged
merged 4 commits into from Jan 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 17 additions & 1 deletion jest.config.js
@@ -1,3 +1,19 @@
// These packages undet the @babel namespace aren't in this monorepo.
const externalBabelPackages = [
"plugin-syntax-async-generators",
"plugin-syntax-bigint",
"plugin-syntax-dynamic-import",
"plugin-syntax-json-strings",
"plugin-syntax-nullish-coalescing-operator",
"plugin-syntax-object-rest-spread",
"plugin-syntax-optional-catch-binding",
"plugin-syntax-optional-chaining",
];

// prettier-ignore
const monorepoPackagePattern =
`^@babel/(?!eslint-)(?!${externalBabelPackages.join("|")})([a-zA-Z0-9_-]+)$`;

module.exports = {
collectCoverageFrom: [
"packages/*/src/**/*.mjs",
Expand Down Expand Up @@ -46,7 +62,7 @@ module.exports = {
"<rootDir>/build/",
],
moduleNameMapper: {
"^@babel/(?!eslint-)([a-zA-Z0-9_-]+)$": "<rootDir>/packages/babel-$1/",
[monorepoPackagePattern]: "<rootDir>/packages/babel-$1/",
"^@babel/eslint-([a-zA-Z0-9_-]+)$": "<rootDir>/eslint/babel-eslint-$1/",
},
};
Expand Up @@ -2,7 +2,6 @@
"plugins": [
["proposal-decorators", { "decoratorsBeforeExport": false }],
"proposal-class-properties",
"syntax-async-generators",
["external-helpers", { "helperVersion": "7.1.5" }]
]
}
Expand Up @@ -7,7 +7,6 @@
{
"helperVersion": "7.1.5"
}
],
"syntax-async-generators"
]
]
}
@@ -1,6 +1,5 @@
{
"plugins": [
"syntax-dynamic-import",
"transform-modules-amd",
"external-helpers"
]
Expand Down
@@ -1,6 +1,5 @@
{
"plugins": [
"syntax-dynamic-import",
"transform-modules-commonjs",
"external-helpers"
]
Expand Down
@@ -1,7 +1,6 @@
{
"validateLogs": true,
"plugins": [
"syntax-dynamic-import",
"transform-modules-systemjs",
"external-helpers"
]
Expand Down
@@ -1,6 +1,5 @@
{
"plugins": [
"proposal-logical-assignment-operators",
"syntax-nullish-coalescing-operator"
"proposal-logical-assignment-operators"
]
}
@@ -1,6 +1,5 @@
{
"plugins": [
"syntax-async-generators",
"proposal-object-rest-spread",
["external-helpers", { "helperVersion": "7.1.5" }]
]
Expand Down
3 changes: 0 additions & 3 deletions packages/babel-plugin-syntax-async-generators/.npmignore

This file was deleted.

19 changes: 0 additions & 19 deletions packages/babel-plugin-syntax-async-generators/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/babel-plugin-syntax-async-generators/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions packages/babel-plugin-syntax-async-generators/src/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/babel-plugin-syntax-bigint/.npmignore

This file was deleted.

19 changes: 0 additions & 19 deletions packages/babel-plugin-syntax-bigint/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/babel-plugin-syntax-bigint/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions packages/babel-plugin-syntax-bigint/src/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/babel-plugin-syntax-dynamic-import/.npmignore

This file was deleted.

19 changes: 0 additions & 19 deletions packages/babel-plugin-syntax-dynamic-import/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/babel-plugin-syntax-dynamic-import/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions packages/babel-plugin-syntax-dynamic-import/src/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/babel-plugin-syntax-json-strings/.npmignore

This file was deleted.

19 changes: 0 additions & 19 deletions packages/babel-plugin-syntax-json-strings/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/babel-plugin-syntax-json-strings/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions packages/babel-plugin-syntax-json-strings/src/index.js

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions packages/babel-plugin-syntax-nullish-coalescing-operator/README.md

This file was deleted.

This file was deleted.

This file was deleted.