Nicolò Ribaudo
4f2d47500f
Don't use require() in ESM files ( #12728 )
...
* Update `yarn-plugin-conditions`
* Don't use `require()` in ESM files
2021-02-01 17:09:02 +01:00
Nicolò Ribaudo
89d55d0786
Lint for extraneous dependencies in every file ( #12699 )
...
* Lint for extraneous dependencies in every file
* Deps fixes
* dedupe
2021-01-28 14:04:02 +01:00
Bogdan Savluk
9ac36b136a
convert @babel/generator to TypeScript ( #12487 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-01-27 19:21:07 +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
Henry Zhu
464a02ffe1
[babel 8] Replace lodash/escapeRegExp with escape-string-regexp ( #12677 )
...
Co-authored-by: James Addison <jay@jp-hosting.net>
2021-01-23 22:21:34 +01:00
Nicolò Ribaudo
8c03fb0152
[babel 8] Remove chokidar@2 fallback ( #12679 )
...
* Update yarn-plugin-conditions for optionalDependencies support
* Remove chokidar@2 fallback
2021-01-23 03:56:42 +01:00
Nicolò Ribaudo
f795fff1e4
[babel 8] Update globals, find-cache-dir and slash ( #12656 )
2021-01-22 17:57:07 +01:00
Nicolò Ribaudo
6a961497aa
[babel 8] Improve syntax highlighting ( #12660 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Simon Lydell <simon.lydell@gmail.com>
2021-01-22 17:56:20 +01:00
Huáng Jùnliàng
bc39a081f5
chore: update typescript to 4.1.3 ( #12652 )
2021-01-18 15:13:11 -05:00
Huáng Jùnliàng
ddd7cc6f83
chore: update rollup to 2.36 ( #12651 )
2021-01-18 15:12:55 -05:00
Armano
53f9fcd5f3
test: reuse lodash library within eslint tests ( #12640 )
2021-01-18 09:00:22 -06:00
Brian Ng
fec4a132ad
Bump prettier@2.2.1 ( #12633 )
2021-01-14 14:10:47 -05:00
Nicolò Ribaudo
866a742bf7
Remove remaining references to lerna ( #12592 )
2021-01-07 10:22:23 +01:00
Nicolò Ribaudo
d88c60cea9
v7.12.12
2020-12-23 14:55:59 +01:00
Nicolò Ribaudo
d9dfd29ce8
Archive @babel/polyfill ( #12541 )
...
babel/babel-archive@701775cd9f
2020-12-22 16:52:40 +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
Huáng Jùnliàng
814212f0be
Remove babel polyfill from fixture test runner ( #12130 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-12-22 02:42:39 +01:00
Huáng Jùnliàng
d28c1e52d0
Enable PnP linker on CI build job ( #12011 )
...
* chore: use pnp when building babel artifacts
* chore: refine ci config
* fix: match any n_m as unambiguous
The pnp module path starts from global cache path, which does not
match **/n_m
* fix: remove dedupe option and abort rollup on unexpected warning messages
* chore: suppress Circular_Dependency warning
* fix build error
* replace make bootstrap-only by yarn install
2020-12-18 19:00:43 -05:00
Nicolò Ribaudo
a1acfba387
v7.12.11
2020-12-16 00:55:11 +01:00
Huáng Jùnliàng
ecbbd9da48
chore: always check yarn lock and dedupe during update ( #12508 )
...
* chore: always check yarn lock and dedupe during update
* update yarn.lock
2020-12-15 10:18:51 -05:00
Bogdan Savluk
1290d215f1
Convert @babel/types to TS ( #12431 )
...
* babel-types flowts convert
* babel-types code generation updates
* babel-types add more generated types to src (copy logic from scripts/typescript)
* babel-types update generateBuilders to specify exact argument types
* babel-types fix deprecated types generation
* babel-types fixes
* babel-types fix potential bug
* babel-types update generateBuilders, to include proper return types
* babel-types backport types from generated index.d.ts to be included in sources
* babel-types fixes
* babel-types avoid export of builders starting with upper case in ts sources
* babel-types
* babel-types todo updates, small fixes
* babel-types generate helpers
* babel-types remove typescript definitions generation
* babel-types generate files
* babel-types copy d.ts file for deprecated ast node creators into lib folder
* babel-types use t as alias for ast node types namespace
* babel-types update generateBuilders script to use "t" as alias instead of "types"
* babel-types update deprecated builders generation to have more compact file
* babel-types publish the .d.ts file for `@babel/types`
* Publish the .d.ts file for `@babel/types`
* Fix flowcheck
* Prettier
* No need to lint generated .d.ts files (now they are generated by tsc)
* Run prepublish-prepare-dts from prepublish-build
* Fix Babel 8 tests
* Update codecov config
* babel-types more improvements
- better type for gatherSequenceExpressions
- mark createUnionTypeAnnotation as deprecated
- fix createTSUnionType
- babel-types better type for builder
- other improvements from PR comments
* babel-types lint fix
* babel-types fix createTSUnionType
* Don't commit .d.ts file in lib, and rename "deprecated"->"uppercase" for builders
* Add back types for TS 3.7
* Update packages/babel-types/package.json
* Cleanup converters types
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-12-10 21:22:10 +01:00
Huáng Jùnliàng
e5b2680756
Move some build steps to gulp ( #12127 )
...
* chore: move generate-standalone to gulp tasks
* move build-flow-typings to gulp tasks
* chore: move build-typescript-typings to gulp tasks
* move generate-type-helpers to gulp tasks
* chore: include build-typings and generate-type-helpers in gulp build
* update generate-standalone comments
* address review comments
* chore: revert build-typings refactor
* fix: run build-typings in build-no-bundle
2020-12-10 12:25:16 -05: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
aca5edb339
Use Yarn 2.4.0 ( #12453 )
...
* Use Yarn 2.4.0
* Update the release plugin
* Check yarn bug on CI
* Patch yarn bug
* Update lockfile
2020-12-08 16:21:27 -05:00
Nicolò Ribaudo
208acb1d6c
Use require.resolve instead of the resolve package ( #12439 )
2020-12-04 08:57:09 +01:00
Huáng Jùnliàng
9891c020b1
Bump core-js-compat to version 3.8.0 ( #12399 )
2020-11-25 22:46:07 +01:00
Huáng Jùnliàng
97a71b665b
chore: bump chokidar in glob-watcher to ^3.4.0 ( #12397 )
2020-11-25 13:50:04 -05:00
Nicolò Ribaudo
e334a88884
v7.12.9
2020-11-24 21:59:33 +01:00
Nicolò Ribaudo
16184887ab
v7.12.8
2020-11-23 23:26:07 +01:00
Nicolò Ribaudo
23226d93d4
v7.12.7
2020-11-20 22:02:43 +01:00
Nicolò Ribaudo
e7e0c25d6a
Archive @babel/helper-regex ( #12377 )
...
babel/babel-archive@32d1b8eeaf
2020-11-20 10:40:48 -05:00
Huáng Jùnliàng
2e3eec6646
refactor: use option-validator in preset-typescript ( #12347 )
2020-11-20 15:11:20 +01:00
Huáng Jùnliàng
ab5a90ce47
refactor: remove @babel/helper-regex usage ( #12349 )
2020-11-18 10:06:59 -05:00
Nicolò Ribaudo
6a0e909c13
Don't compile import() in development ( #12288 )
2020-11-18 16:02:02 +01:00
Huáng Jùnliàng
2db500451b
Bump caniuse-lite resolutions ( #12368 )
2020-11-17 16:38:02 +01:00
Huáng Jùnliàng
f54f1ee492
Fix: correctly transform this.#m?.(...arguments) ( #12350 )
...
* add tests on @babel/helper-optimise-call-expression
* fix: correctly optimise `a.b?.(...arguments)`
* add integration test with properties transform
2020-11-16 10:16:46 -05:00
Nicolò Ribaudo
3e0fa927c0
Final configuration changes in preparation for TS ( #12351 )
2020-11-12 16:09:29 +01:00
Nicolò Ribaudo
40727ab5f6
Use chokidar@2 without fsevents@1 ( #12322 )
2020-11-10 09:12:16 +01:00
Nicolò Ribaudo
f80478c06d
Prepare repository for gradual flow->ts migration ( #12317 )
...
Co-authored-by: Bogdan Savluk <savluk.bogdan@gmail.com>
2020-11-09 23:17:24 +01:00
Nicolò Ribaudo
32279147e6
Update core-js-compat ( #12323 )
...
* Update `core-js-compat`
* Update lockfile
2020-11-06 18:19:57 +01:00
Nicolò Ribaudo
a41da05ce9
v7.12.5
2020-11-03 23:30:17 +01:00
Huáng Jùnliàng
09c0ee0a8b
chore: bump Jest to v26 ( #12190 )
2020-10-30 12:06:14 +01:00
Huáng Jùnliàng
750d869db9
chore: bump compat-table and electron-to-chromium ( #12244 )
2020-10-27 13:03:07 -04:00
Huáng Jùnliàng
ea2892fefc
add declare to class properties type annotations ( #12257 )
...
* add declare to class properties type annotations
* chore: use preset-flow
2020-10-27 10:05:01 -04:00
Nicolò Ribaudo
b4ae7b7893
Update to Browserslist 4.14.5 ( #12241 )
2020-10-23 21:15:49 -04:00
Nicolò Ribaudo
f31a3a6cc6
v7.12.4
2020-10-19 21:04:23 +02:00
Nicolò Ribaudo
2562c8d8fa
v7.12.3
2020-10-16 23:11:14 +02:00
Nicolò Ribaudo
7f4b83833f
v7.12.1
2020-10-16 00:36:30 +02:00
Nicolò Ribaudo
b877726a89
Don't force chokidar@2 to be downloaded from registry.npmjs.org ( #12182 )
2020-10-16 00:30:20 +02:00