1015 Commits

Author SHA1 Message Date
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
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
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
Nicolò Ribaudo
e901454096 v7.12.10 2020-12-09 23:44:59 +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
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
Nicolò Ribaudo
3e0fa927c0
Final configuration changes in preparation for TS (#12351) 2020-11-12 16:09:29 +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
4a6fed1335 v7.12.6 2020-11-04 12:05:56 +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
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
a534d8746e v7.12.2 2020-10-16 08:47:05 +02:00
Nicolò Ribaudo
7f4b83833f v7.12.1 2020-10-16 00:36:30 +02:00
Nicolò Ribaudo
6cb0056519
Remove unused dependencies and devDependencies (#12175) 2020-10-15 10:01:30 +02:00
Nicolò Ribaudo
2d43341019
Update @babel/* deps (#12174) 2020-10-15 01:08:18 +02:00
Nicolò Ribaudo
726154c78e v7.12.0 2020-10-14 21:48:45 +02:00
Nicolò Ribaudo
02975b9ae1
Use a yarn plugin to manage releases (#12138) 2020-10-14 21:43:53 +02:00
Huáng Jùnliàng
4e66b8eb6b
Specify runtime exports (#10853) 2020-10-14 20:06:56 +02:00
Brian Ng
37a02dfc0e
Bump Babel deps (#12078) 2020-09-18 13:07:48 -05:00
Huáng Jùnliàng
44f8287d7a
chore: pin browserslist version to 4.12.0 (#12070) 2020-09-17 21:46:38 +02:00
Huáng Jùnliàng
2026a42497
Run prepublish build after versioning (#12028)
* test: run prepublish-build after versioning in publish test

* chore: run yarn install when lerna version is invoked
2020-09-03 08:25:44 -04:00
Huáng Jùnliàng
ce6a7f1d98
Remove unused enhanced-resolve and normalize lock resolutions (#12013)
* chore: remove enhanced-resolve

It was introduced as a peer dependency of `webpack-dependency-suite`, see https://github.com/babel/babel/pull/7453 and https://travis-ci.org/github/babel/babel/jobs/347175454#L545

* chore: remove custom @lerna/collect-updates resolution

The forked @lerna/collect-updates are meant to update runtime-corejs2 when helpers
are updated. However they are now always force published. So we don't need the fork
anymore
2020-08-27 20:12:41 -04:00
Huáng Jùnliàng
8d59ff658d
chore: use Rollup 2 (#12010)
* chore: use Rollup 2

* chore: downupgrade @rollup/plugin-commonjs to 13.0.2

* nit: restore extraPlugins move

* chore: remove unused rollup-plugin-babel

* chore: bump rollup-plugin-terser to 7.0.0

* chore: remove invalid terser options
2020-08-26 18:20:14 -04: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
ad60153a98
Update @babel/* deps (#11899)
* chore: remove extra install step for eslint packages

* chore: update babel deps
2020-07-31 20:35:19 -04:00
Kai Cataldo
4ac9c7afe2
Upgrade to ESLint v7 (#11857)
* Upgrade to ESLint v7

* Upgrade eslint-plugin-import

* Update peer deps

* Remove max-len from ESLint config

* Update tests

* Only test babel-eslint-* packages in Node >=10

* Remove babel-eslint

* Fix linking in dev

* Add comment to Makefile

* Fix e2e tests

* Add --ignore-engines flag when installing in ESLint packages

* fix: convert tt.questionDot to Punctuator

* chore: update lockfile

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-07-29 19:11:48 -04:00
Brian Ng
ffb42488ba
Bump some deps for audit (#11818) 2020-07-10 21:42:18 +02:00
Kai Cataldo
75c2300c28
Add @babel/eslint-plugin-development-internal (#11376)
* Add @babel/eslint-plugin-internal

* Add dry-error-messages rule

* Address feedback

* Enable new rule

* fix author field

* Fix errors

* Add readme

* Add example configuration

* Handle directories

* run make bootstrap

* More updates!

* Fix errors

* Update tests

* Fix CI race condition
2020-06-22 19:43:29 -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
Brian Ng
3874470841
Bump @babel/* deps (#11677) 2020-06-04 20:09:19 -05:00
Nicolò Ribaudo
07347544fd
Downgrade rollup to 1.27.9 (#11538)
* Downgrade rollup to 1.27.9

* Add test
2020-05-11 23:53:04 -04:00
Huáng Jùnliàng
bdd5621ecd
chore: update babel deps (#11504) 2020-04-30 08:52:18 -05:00
Nicolò Ribaudo
90a9103e55
Update Flow to 0.123.0 (#11500) 2020-04-30 15:26:03 +02:00
Henry Zhu
e010db84aa
Canary build of packages using CodeSandbox CI + mini repl link per PR (#11479)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-04-24 18:19:57 -04:00
Huáng Jùnliàng
d18d465cf3
remove < x.y.z engines specification (#11456)
* chore: remove lt engines specification

* remove unecessary yarn update
2020-04-21 21:02:27 +02:00
Huáng Jùnliàng
0aa5a47196
chore: remove included proposal plugins (#11433) 2020-04-16 21:14:46 +02:00
Huáng Jùnliàng
c85aafdff6
chore: upgrade @babel/* deps (#11422)
* chore: upgrade @babel/* deps

* chore: run build-bundle-ci before check-compat-data
2020-04-15 16:57:22 +02:00
Huáng Jùnliàng
a901bd50b1
chore: remove unused graceful-fs (#11329) 2020-03-25 09:13:44 -05:00
Brian Ng
b85d9f57f6
Remove unused gulp-rename (#11259) 2020-03-14 12:02:00 +01:00