refactor: Move react-jsx-development implementation into react-jsx (#12524)

* Move react-jsx-development implementation into react-jsx

* Move helper-builder-jsx-experimental into transform-react-jsx

* Move JSX validation

* Move Program visitor

* introduce get/set utils

* pre -> getTag

* Dedupe code

* post -> getState

* Simplify logic

* Move final pieces

* Other simplifications

* Update lockfile

* Fix standalone bundling
This commit is contained in:
Nicolò Ribaudo
2020-12-22 11:53:14 +01:00
committed by GitHub
parent e08f68bf61
commit 17d62c3743
10 changed files with 729 additions and 1007 deletions

View File

@@ -16,9 +16,7 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-builder-react-jsx-experimental": "workspace:^7.12.11",
"@babel/helper-plugin-utils": "workspace:^7.10.4",
"@babel/plugin-syntax-jsx": "workspace:^7.12.1"
"@babel/plugin-transform-react-jsx": "workspace:^7.12.11"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"