86 Commits
Author SHA1 Message Date
liuxingbaoyuandGitHub d1a1b1a636 chore: Some minor cleanup (#18148) 2026-07-21 21:46:24 +02:00
Nicolò RibaudoandGitHub 1fc9b08f5c Remove cycles support from tsconfig generator (#18139) 2026-07-17 16:35:36 +02:00
7890c5c779 Add types for @babel/standalone (#18095)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2026-07-16 10:26:59 +02:00
Huáng JùnliàngandGitHub f4acf088c3 refactor: Shrink validator identifier size (#18084) 2026-06-30 11:21:07 +02:00
Huáng JùnliàngandGitHub 25616d4c68 chore: cleanup helper-validator-identifier (#18054) 2026-06-12 10:58:43 +02:00
Huáng JùnliàngandGitHub 4abea18125 Convert babel helpers scripts to TS (#18053) 2026-06-12 10:53:30 +02:00
Huáng JùnliàngandGitHub e2fd7d7bcf Bundle more packages (#17938)
* chore: bundle babel-cli and babel-node

* chore: bundle babel-helper-builder-react-jsx

* refactor: unify extra entrypoints handling

* chore: bundle babel-helper-transform-fixture-test-runner

* chore: bundle babel-helper-fixtures

* build: bundle babel-helpers

* build: bundle babel-build-external-helpers

* refactor: reuse pkgJSON in PackageInfo

* refactor: skip inputs path normalization

* build: bundle babel-eslint-parser

* fixup babel-helpers

* revert babel-cli bin changes

* update npm-ignore generators

* cleanup outdated comments

* test(eslint): avoid private sub imports

* chore: bundle babel-eslint-*

* chore: bundle babel-register

* chore: skip rollup for private packages
2026-04-22 19:47:42 -04:00
Huáng JùnliàngandGitHub 33698c1cd8 Fix TS5055 error when running make tscheck twice (#17802)
* build: include only dts from sub packages

* update artifacts
2026-02-17 11:43:13 +01:00
liuxingbaoyuandGitHub 24fda9baeb chore: Migrate scripts to .ts (#17767) 2026-02-13 15:26:32 +01:00
liuxingbaoyuandGitHub 385a3b893e [Babel 8] Refactor register cache (#17229)
* fix

* fix test

* improve

* fix
2026-01-30 21:15:28 +01:00
65f2df4c14 Improve @babel/parser error types (#17531)
* improve

* `yarn gulp bundle-dts`

* improve

---------

Co-authored-by: Nicolò Ribaudo <[email protected]>
2026-01-30 20:22:03 +01:00
Huáng JùnliàngandGitHub f609d267df [Babel 8] Extract babel-build-external-helpers (#17746)
* breaking: create external-helpers-cli from cli

* chore: cleanup external-helpers in cli

* breaking: make --whitelist --output argument as required

* feat: add allowlist and deprecate whitelist

* add test case for short option name

* polish: add output-type module to usage note

* chore: add .npmignore

* rename package to babel-build-external-helpers

* breaking: remove --whitelist option

* fixup: update lock file

* rename external-helpers-cli
2026-01-30 18:07:58 +01:00
liuxingbaoyuandGitHub 902a220fc5 Use babel.config.mts (#17734) 2026-01-27 18:29:19 +01:00
liuxingbaoyuandGitHub f6f7f4409c [Babel 8] Remove plugin-transform-react-{compat,source,self} (#17620)
remove
2025-12-16 13:13:45 +01:00
Huáng JùnliàngandGitHub c93fe49aa2 chore: add preset-typescript as optional peer dep (#17665) 2025-12-15 23:39:42 -05:00
Nicolò Ribaudo 3a912d1a39 Remove Babel 7 from the codebase (#17618) 2025-12-05 12:33:52 +01:00
e4178c50bd chore: Use Gulpfile.mts (#17579)
* Gulpfile.ts

* fix

* chore: remove ts-node and patch interpret

The patched version now recognizes the gulp config `Gulpfile.mts` and the built in node type stripping will then kick in.

* fix

---------

Co-authored-by: Huáng Jùnliàng <[email protected]>
2025-11-25 22:58:07 +01:00
liuxingbaoyuandGitHub fcea732709 [Babel 8] fix: Improve traverse types (#17574) 2025-11-25 16:58:08 +01:00
2518d1bf7d Use eslint.config.mts (#17573)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2025-10-29 22:26:24 +01:00
Nicolò RibaudoandGitHub 7ac8f87b8f Fully remove Records and Tuples support (#17528) 2025-10-23 17:53:20 +02:00
Huáng JùnliàngandGitHub b6dbecbf9e Type check runtime scripts (#17522) 2025-09-26 18:54:20 -04:00
Huáng JùnliàngandGitHub 0e36b4495f Bump regexpu-core to 6.3.1 (#17507)
* bump regexpu-core to 6.3.1

* migrate to official type definitions

* add more test cases to unicode-property-regex

* update test fixtures per Unicode 17

* improve script unknown test
2025-09-10 13:38:22 -04:00
Huáng JùnliàngandGitHub 65e63de3d5 Type checking babel-types scripts (#17494)
* chore: enbale ts-check on babel-types scripts

* polish: make Validator distributive

* fix: chainOf should not rely on the ["any"] return

* suppress Babel 8 typing errors

* chore: add scripts to babel-types ts project

* migrate babel-types scripts to TS

* refactor: replace toFunctionName by formatBuilderName

* Update packages/babel-types/scripts/generators/ast-types.ts

* misc cleanup

* remove JSDoc param type definitions
2025-09-05 12:12:30 -04:00
Nicolò RibaudoandGitHub 4c1802eff4 Type-check .d.ts file with strict: true (#17461)
TypeCheck `.d.ts` file with `strict: true`
2025-08-01 09:58:47 +02:00
Huáng JùnliàngandGitHub fa73edea15 Enable type checking for scripts and babel-worker.cjs (#17454) 2025-07-29 18:26:27 -04:00
Huáng JùnliàngandGitHub 4d1eb35cf1 Create babel-helper-globals (#17297) 2025-06-30 16:31:18 +02:00
Nicolò RibaudoandGitHub 49fb96c2e0 [Babel 8] Directly export the JSON files from @babel/compat-data (#17267) 2025-05-04 22:20:30 +02:00
Nicolò RibaudoandGitHub 70702baa3b [babel 8] Remove unnecessary CJS ESM wrapper (#17261)
* [babel 8] Remove unnecessary CJS ESM wrapper

* Use latest Node.js for e2e test

* Add snapshot to test
2025-04-25 22:56:58 +02:00
liuxingbaoyuandGitHub 3047a79bc8 Migrate @babel/register to cts (#16844)
cts
2025-04-03 11:41:47 +02:00
Huáng JùnliàngandGitHub 254525d565 Enforce node protocol import (#17207)
* enable prefer-node-protocol rule

* prefer node protocol import

* fix broken scripts

* fix e2e-old-babel error

* strip node: protocol for old node versions

* update Makefile.mjs
2025-03-31 10:49:22 -04:00
Nicolò RibaudoandGitHub 6c570563fb [babel 8] Use @babel/types for parser's return type (#17117) 2025-02-14 12:12:13 +01:00
liuxingbaoyuandGitHub e20a12d698 chore: Update TS 5.7 (#17053) 2025-01-09 17:36:20 +01:00
liuxingbaoyuandGitHub 78125495a9 fix: Accidentally publishing useless files (#16917) 2024-10-22 15:30:01 +02:00
liuxingbaoyuandGitHub bbf3cd8f57 chore: Enable more lint rules (#16827)
rules
2024-09-11 20:58:45 +02:00
Nicolò RibaudoandGitHub a9b2dacf70 Archive syntax-import-reflection and syntax-decimal (#16809) 2024-09-06 23:49:06 +02:00
Nicolò RibaudoandGitHub 0e423477d9 Ignore devDependencies when generating tsconfig.json (#16659) 2024-07-31 18:20:06 +02:00
f99119814d Update to TypeScript 5.5 (#16536)
Co-authored-by: Babel Bot <[email protected]>
2024-06-11 11:02:53 +03:00
Huáng JùnliàngandGitHub 2654c748ba [Babel 8] Bump commander to 12.1.0 (#16517)
* unify cases

* bump commander to 12.0.0

* bump commander to 12.1.0

* review comments

* fix typing errors
2024-05-27 20:40:08 -04:00
Huáng JùnliàngandGitHub 3760b3a00c Migrate import assertions syntax (#16466) 2024-05-03 21:29:50 -04:00
Huáng JùnliàngandGitHub 6332002a8b Bump glob to 10.3.12 (#16450)
* bump glob to 9.3.5

* bump glob to 10.3.12

* remove var usage

* add esm exports

* replace glob imports for Babel 7 + ESM

* simplify Babel 7 ESM imports

* suppress TS errors

* Resolve glob typings to glob 10 used in Babel 8
2024-04-29 19:55:01 -04:00
33c611bdaa Use multiple TypeScript projects (#16430)
Co-authored-by: Babel Bot <[email protected]>
2024-04-24 15:11:45 +02:00
3513ada1d4 Migrate eslint-parser to cts (#16222)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2024-01-25 17:16:24 +01:00
liuxingbaoyuandGitHub e5f27d7466 chore: Run readmes.js in CI (#15690) 2023-06-13 15:51:13 +02:00
Nicolò RibaudoandGitHub b89ccc58d9 Run scripts/generators/readmes.js (#15689)
[skip ci]
2023-06-08 12:51:53 +02:00
147d62164d chore: Improve development experience about global variables (#15646)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2023-05-26 17:42:30 +02:00
3c6d49fef4 Add unicode-sets-regex transform to preset-env (#15636)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2023-05-24 20:10:23 +02:00
liuxingbaoyuandGitHub e3f9ab5e3f chore: Enable eslint rule no-unnecessary-type-assertion (#15260) 2022-12-13 17:24:04 +01:00
Nicolò RibaudoandGitHub 338b75671c Fix tsconfig generation with empty folders (#14875) 2022-08-25 16:46:49 +02:00
liuxingbaoyuandGitHub ca6b915563 chore: expand prettier-e2e test and update typings/deps (#14779)
* chore

* test

* test

* update plugin-transform-typescript
2022-07-26 09:15:28 -04:00
Bogdan SavlukandGitHub 32b74750f6 disable skipLibCheck, fix errors in definitions (#14792) 2022-07-24 23:39:15 +08:00