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 stage 4 parser plugins #13717

Merged
merged 5 commits into from Sep 1, 2021
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
Expand Up @@ -31,6 +31,7 @@
"devDependencies": {
"@babel/core": "workspace:*",
"@babel/helper-plugin-test-runner": "workspace:*",
"@babel/plugin-syntax-class-static-block": "^7.14.5",
"@babel/preset-env": "workspace:*"
},
"engines": {
Expand Down
@@ -1,4 +1,7 @@
{
"plugins": ["proposal-class-properties", "syntax-class-static-block"],
"plugins": [
"proposal-class-properties",
"@babel/plugin-syntax-class-static-block"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The plugin dependency will eventually be removed in #13713.

],
"throws": "Static class blocks are not enabled. Please add `@babel/plugin-proposal-class-static-block` to your configuration."
}
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@babel/helper-create-class-features-plugin": "workspace:^7.14.5",
"@babel/helper-plugin-utils": "workspace:^7.14.5",
"@babel/plugin-syntax-class-static-block": "workspace:^7.14.5"
"@babel/plugin-syntax-class-static-block": "^7.14.5"
},
"peerDependencies": {
"@babel/core": "^7.12.0"
Expand Down
Expand Up @@ -29,7 +29,7 @@ export default declare(({ types: t, template, assertVersion }) => {

return {
name: "proposal-class-static-block",
inherits: syntaxClassStaticBlock,
inherits: syntaxClassStaticBlock.default,

pre() {
// Enable this in @babel/helper-create-class-features-plugin, so that it
Expand Down
Expand Up @@ -20,7 +20,7 @@
"@babel/helper-annotate-as-pure": "workspace:^7.14.5",
"@babel/helper-create-class-features-plugin": "workspace:^7.14.5",
"@babel/helper-plugin-utils": "workspace:^7.14.5",
"@babel/plugin-syntax-private-property-in-object": "workspace:^7.14.5"
"@babel/plugin-syntax-private-property-in-object": "^7.14.5"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
Expand Down
Expand Up @@ -84,7 +84,7 @@ export default declare(({ assertVersion, types: t, template }, { loose }) => {

return {
name: "proposal-private-property-in-object",
inherits: syntaxPlugin,
inherits: syntaxPlugin.default,
pre() {
// Enable this in @babel/helper-create-class-features-plugin, so that it
// can be handled by the private fields and methods transform.
Expand Down
3 changes: 0 additions & 3 deletions packages/babel-plugin-syntax-class-static-block/.npmignore

This file was deleted.

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

This file was deleted.

32 changes: 0 additions & 32 deletions packages/babel-plugin-syntax-class-static-block/package.json

This file was deleted.

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

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions packages/babel-plugin-syntax-private-property-in-object/README.md

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions packages/babel-plugin-syntax-top-level-await/.npmignore

This file was deleted.

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

This file was deleted.

32 changes: 0 additions & 32 deletions packages/babel-plugin-syntax-top-level-await/package.json

This file was deleted.

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

This file was deleted.

Expand Up @@ -28,6 +28,7 @@
"@babel/core": "workspace:*",
"@babel/helper-plugin-test-runner": "workspace:*",
"@babel/plugin-external-helpers": "workspace:*",
"@babel/plugin-syntax-class-static-block": "^7.14.5",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3"
},
"homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-modules-commonjs",
Expand Down
@@ -1,3 +1,6 @@
{
"plugins": ["transform-modules-commonjs", "syntax-class-static-block"]
"plugins": [
"transform-modules-commonjs",
"@babel/plugin-syntax-class-static-block"
]
}
@@ -1,3 +1,3 @@
{
"plugins": ["transform-modules-systemjs", "syntax-top-level-await"]
"plugins": ["transform-modules-systemjs"]
}
6 changes: 3 additions & 3 deletions packages/babel-preset-env/package.json
Expand Up @@ -38,7 +38,7 @@
"@babel/plugin-proposal-unicode-property-regex": "workspace:^7.14.5",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-class-static-block": "workspace:^7.14.5",
"@babel/plugin-syntax-class-static-block": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3",
"@babel/plugin-syntax-json-strings": "^7.8.3",
Expand All @@ -48,8 +48,8 @@
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-private-property-in-object": "workspace:^7.14.5",
"@babel/plugin-syntax-top-level-await": "workspace:^7.14.5",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
"@babel/plugin-transform-arrow-functions": "workspace:^7.14.5",
"@babel/plugin-transform-async-to-generator": "workspace:^7.14.5",
"@babel/plugin-transform-block-scoped-functions": "workspace:^7.14.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-standalone/package.json
Expand Up @@ -34,7 +34,7 @@
"@babel/plugin-proposal-unicode-property-regex": "workspace:*",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-class-static-block": "workspace:*",
"@babel/plugin-syntax-class-static-block": "^7.14.5",
"@babel/plugin-syntax-decimal": "workspace:*",
"@babel/plugin-syntax-decorators": "workspace:*",
"@babel/plugin-syntax-do-expressions": "workspace:*",
Expand All @@ -50,7 +50,7 @@
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
"@babel/plugin-syntax-pipeline-operator": "workspace:*",
"@babel/plugin-syntax-record-and-tuple": "workspace:*",
"@babel/plugin-syntax-top-level-await": "workspace:*",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
"@babel/plugin-syntax-typescript": "workspace:*",
"@babel/plugin-transform-arrow-functions": "workspace:*",
"@babel/plugin-transform-async-to-generator": "workspace:*",
Expand Down