Babel Bot
7a2a928398
v7.14.5
2021-06-09 23:03:30 +00:00
Kristoffer K
140ec5aa5c
chore: setup Yarn constraints ( #13363 )
2021-05-31 18:46:03 +02:00
Babel Bot
1487a46dd5
v7.14.3
2021-05-17 20:26:25 +00:00
Bogdan Savluk
379bc775ed
convert @babel/plugin-transform-react-jsx to typescript ( #13221 )
...
* babel-plugin-transform-react-jsx flowts rename
* babel-plugin-transform-react-jsx flowts convert
* babel-plugin-transform-react-jsx
* babel-plugin-transform-react-jsx fix
* make generate-tsconfig
* yarn install
* babel-plugin-transform-react-jsx remove unused typecast
2021-05-12 21:15:31 -04:00
Babel Bot
edb11baabf
v7.13.12
2021-03-22 15:36:45 +00:00
hajnalbendeguz
281acd6448
Improve error message when not providing a value for JSX key ( #12983 )
...
* Improve error message when not providing a value for key
* Update packages/babel-plugin-transform-react-jsx/src/create-plugin.js
Show location of attribute instead of only the path
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
* Change error message to be less aggressive
* Throw error when runtime is "classic"
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-03-16 13:02:08 +01:00
Nicolò Ribaudo
8dacf85859
Lazily initialize and cache constant JSX elements ( #12967 )
...
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2021-03-06 17:33:43 +01:00
Nicolò Ribaudo
d04842a700
Avoid using CJS globals in internal source files ( #12963 )
...
* Lint against CJS globals in modules
* Use `import.meta.url` instead of `__filename` in `src` files
* Prepare fixtures runner for `import.meta.url`
* Use `import.meta.url` instead of `__filename` in `test/index` files
* Remove `__dirname` from remaining test files
dirname
* Avoid using `module` in `src` files
* Avoid using `require` in `src` files
* Avoid using `require` in `test` files
* Update `@types/node`
* Compile dynamic import in `@babel/node`
* Fix windows
* Use `@babel/plugin-proposal-dynamic-import` from npm
2021-03-05 19:55:36 +01:00
Nicolò Ribaudo
ea6a438315
Enable external-helpers by default in tests ( #12911 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00
Nicolò Ribaudo
771841f764
Fix _isNativeReflectConstruct helper ( #8461 )
2021-02-22 22:49:44 +01:00
Nicolò Ribaudo
2f755ef052
v7.12.17
2021-02-18 15:58:43 +01:00
Babel Bot
dd5c9f958c
v7.12.16
2021-02-11 22:36:24 +00:00
Nicolò Ribaudo
e735266dee
Avoid importing .json files ( #12759 )
...
* Avoid importing `.json` files
* Use ESold in babel.config.json
* Use `import/extensions` eslint plugin
2021-02-05 23:34:36 +01:00
Nicolò Ribaudo
d291edbdf1
v7.12.13
2021-02-03 01:59:31 +01:00
Huáng Jùnliàng
cd090e9842
[babel 8] Output minimal strings by default ( #12675 )
...
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
Co-authored-by: Justin Ridgewell <jridgewell@google.com>
2021-01-23 22:50:07 +01:00
Nicolò Ribaudo
10978bb65a
[babel 8] Use the JSX automatic runtime by default ( #12630 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Arun Kumar Mohan <arunmohandm@gmail.com>
2021-01-19 01:41:07 +01:00
Nicolò Ribaudo
4f83a09dd8
Load jsx-runtime after existing imports ( #12546 )
...
Co-authored-by: Brian Ng <bng412@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-01-10 16:23:22 +01:00
Nicolò Ribaudo
fce3e7124a
[babel 8] Remove useSpread and useBuiltIns jsx options ( #12593 )
...
* [babel 8] Remove `useSpread` and `useBuiltIns` jsx options
backport of 8cc8696851fa4bf02d7f6ae591404626d1ca32a3
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Brian Ng <bng412@gmail.com>
* Update fixtures (Windows)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Brian Ng <bng412@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-01-08 18:16:30 +01:00
Daniel Arthur Gallagher
e8b08523f4
docs: add package-specific documentation links ( #12531 )
...
[skip ci]
2021-01-06 14:11:53 +01:00
Martin Packman
ed90f17978
Optimize jsx spreads of object expressions ( #12557 )
2021-01-05 23:04:26 +01:00
Nicolò Ribaudo
d88c60cea9
v7.12.12
2020-12-23 14:55:59 +01:00
Nicolò Ribaudo
17d62c3743
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
2020-12-22 11:53:14 +01:00
Nicolò Ribaudo
a1acfba387
v7.12.11
2020-12-16 00:55:11 +01:00
Nicolò Ribaudo
28d2cbcbf3
Lazily inject imports to the JSX runtime ( #12493 )
2020-12-15 12:55:17 +01:00
Mateusz Burzyński
581aeb9a23
Reorganize some JSX-related tests ( #12502 )
2020-12-15 00:02:23 +01:00
Nicolò Ribaudo
bf417186bf
Setup JSX runtime even if the file doesn't contain JSX ( #12479 )
2020-12-10 19:27:22 +01:00
Nicolò Ribaudo
e901454096
v7.12.10
2020-12-09 23:44:59 +01:00
Mateusz Burzyński
c2fcd69e94
Stop using old JSX transform ( #12253 )
2020-12-08 22:41:13 +01:00
Nicolò Ribaudo
23226d93d4
v7.12.7
2020-11-20 22:02:43 +01:00
Nicolò Ribaudo
a41da05ce9
v7.12.5
2020-11-03 23:30:17 +01:00
Álvaro Mondéjar
b649f8d192
Fix packages documentation README links. ( #12289 )
2020-10-30 21:19:21 +01:00
Nicolò Ribaudo
02fc9e835c
Revert "add .js extension to react runtime for JSX transform" ( #12213 )
2020-10-19 19:50:43 +02:00
Nicolò Ribaudo
ed498a772b
Use workspace:* for devDependencies (again) ( #12217 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-10-19 18:32:06 +02:00
Nicolò Ribaudo
7f4b83833f
v7.12.1
2020-10-16 00:36:30 +02:00
Huáng Jùnliàng
eec01fe078
chore: use workspace:* for dev deps ( #12186 )
2020-10-15 14:03:50 -04:00
Luna Ruan
9808d2566e
add js extension to react runtime ( #12116 )
2020-09-30 08:31:45 +02:00
Huáng Jùnliàng
3fad7eab9b
Use Yarn 2 ( #11962 )
...
* chore: use yarn 2
* chore: remove redundant yarn locks
* chore: remove publishEslintPkg
* chore: remove redundant make bootstrap
* Update .yarnrc.yml
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
* chore: use workspace protocol for eslint packages in the root
Co-Authored-By: merceyz <merceyz@users.noreply.github.com>
* chore: pin caniuse-lite versions
Testcases in packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie
depends on specific caniuse-lite versions. We pinned the version here
so we don't have to deal with fixture different in e2e-tests
where all deps will be updated and tested.
* chore: resolve yarn install warnings
* chore: update yarn cache path on circle/travis
* chore: add yarn deduplicate plugin
* chore: deduplicate lock files
* chore: move devDependencies to leaf packages
* chore: remove @yarnpkg/plugin-constraints
* chore: remove unused dedupe options
* test: fix unwanted self reference
* chore: remove output-file-sync dependency
* chore: update browserify to 16.5.2
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2020-08-25 14:37:30 -04:00
Huáng Jùnliàng
7fd40d86a0
v7.10.4
2020-06-30 09:04:22 -04:00
Huáng Jùnliàng
2787ee2f96
v7.10.3
2020-06-19 16:42:41 -04:00
Bogdan Savluk
4108524856
Update prettier to v2 ( #11579 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-06-07 22:21:33 +02:00
Nicolò Ribaudo
88f57a7ea6
v7.10.1
2020-05-27 21:56:37 +00:00
Saulo Santiago
242d9e0b20
Use repository.directory field in package.json files ( #11625 )
...
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-27 16:32:25 +02:00
Christoph Nakazawa
2bb2933dea
[helpers] Add a private function name within createSuper ( #11514 )
2020-05-04 23:30:53 +02:00
Justin Ridgewell
070ec201bb
Speed up the createSuper helper ( #11401 )
2020-04-10 16:00:20 +02:00
Luna Ruan
94447135c7
fix auto import error with whitespace JSXText ( #11354 )
2020-04-02 00:29:27 +02:00
Nicolò Ribaudo
d3cf5fb5f4
v7.9.4
2020-03-24 09:26:12 +01:00
Brian Ng
6a728a05a8
Restore default pragmas in preset-react for classic runtime ( #11324 )
2020-03-24 00:06:44 +01:00
Nicolò Ribaudo
220ce702a1
v7.9.1
2020-03-20 22:47:03 +01:00
Nicolò Ribaudo
87b2781046
Consider jsxFrag as set when it's set to the default value ( #11295 )
...
* Consider jsxFrag as set when it's set to the default value
* Test #11294
2020-03-20 22:29:50 +01:00
Nicolò Ribaudo
8d5e422be2
v7.9.0
2020-03-20 16:32:55 +01:00