Huáng Jùnliàng and GitHub
ec97fffd3a
[Babel 8] Bump nodejs requirements to ^20.19.0 || >= 22.12.0 ( #17204 )
...
* bump node.js requirements to ^20.19.0 || >= 22.12.0
* update package.json
* update babel.config.js
* update CI config
2025-03-27 10:42:17 +01:00
liuxingbaoyu and GitHub
e20a12d698
chore: Update TS 5.7 ( #17053 )
2025-01-09 17:36:20 +01:00
Babel Bot
5f016466a3
v7.25.9
2024-10-22 14:56:14 +00:00
liuxingbaoyu and GitHub
78125495a9
fix: Accidentally publishing useless files ( #16917 )
2024-10-22 15:30:01 +02:00
Babel Bot
11c9f5a91a
v7.25.7
2024-10-02 15:04:31 +00:00
Nicolò Ribaudo and GitHub
3833aacd7b
[babel 8] Require Node.js ^18.20.0 || ^20.17.0 || >=22.8.0 ( #16800 )
2024-09-04 15:49:27 +02:00
Nicolò Ribaudo and GitHub
0e423477d9
Ignore devDependencies when generating tsconfig.json ( #16659 )
2024-07-31 18:20:06 +02:00
Babel Bot
7f306ed185
v7.24.7
2024-06-05 13:06:14 +00:00
Nicolò Ribaudo and GitHub
1255a2af9a
Use type: module in all package.jsons ( #16535 )
...
* Use `type: module` in all `package.json`s
* Remove now unnecessary `{ "type": "module" }` package.jsons
* Use `type: commonjs` where needed
2024-05-30 09:27:35 +02:00
Babel Bot
af9c7f337f
v7.24.6
2024-05-24 12:15:51 +00:00
Nicolò Ribaudo and GitHub
9532c506bb
[babel 8] Publish .d.ts files for every package ( #16416 )
2024-05-15 12:41:52 +02:00
Huáng Jùnliàng and GitHub
67639c5e79
[babel 8] Require Node.js ^18.20.0 || ^20.10.0 || >=21.0.0 ( #16457 )
...
* bump node requirements to ^18.18.0 || >=20.0.0
* update ci configs
* bump to ^18.20.0 || ^20.10.0 || >= 21.0.0
2024-04-30 10:25:22 -04:00
33c611bdaa
Use multiple TypeScript projects ( #16430 )
...
Co-authored-by: Babel Bot <[email protected] >
2024-04-24 15:11:45 +02:00
Babel Bot
a5485d8ec3
v7.24.1
2024-03-19 09:41:34 +00:00
Nicolò Ribaudo and GitHub
73c771c624
Test Babel 7 plugins compatibility with Babel 8 core ( #16332 )
...
* Allow configuring monorepo root in helper-fixtures
* Do not `require()` old syntax plugins when loading with Babel 8
* Add `REQUIRED_VERSION` macro
* Add test utils for Babel 7 plugins with Babel 8 core
* Run on CI
* babel.config.js runs in node 6
* chmod
* external-helpers doesn't work with Babel 8
* Discard changes to packages/babel-helper-fixtures/src/index.ts
* Use `yarn constraints` to update package.json
2024-03-07 13:45:11 +01:00
Babel Bot
96c9c652ed
v7.23.3
2023-11-09 06:53:25 +00:00
Nicolò Ribaudo and GitHub
cdcc041d03
Require exact Babel 8 version in assertVersion ( #15955 )
2023-10-13 17:41:10 +09:00
Nicolò Ribaudo and GitHub
3c210ed5b3
Inline exports.XXX = update in simple variable declarations ( #15984 )
2023-09-19 16:25:14 +02:00
liuxingbaoyu and GitHub
e5f27d7466
chore: Run readmes.js in CI ( #15690 )
2023-06-13 15:51:13 +02:00
Babel Bot
2a83a5c669
v7.22.5
2023-06-08 18:10:27 +00:00
Nicolò Ribaudo and GitHub
52720bacc4
[babel 8] Require Node.js ^16.20.0 || ^18.16.0 || >=20.0.0 ( #15585 )
2023-06-01 16:56:01 +02:00
Nicolò Ribaudo
42ab41c5c0
v7.21.0
2023-02-20 15:53:18 +01:00
5b3fe3a993
docs: fix typos ( #15432 )
...
Co-authored-by: Huáng Jùnliàng <[email protected] >
2023-02-18 18:12:31 +01:00
b70f712746
Reverts "Re-use common JSX element transform for <>...</>" ( #15355 )
...
* Reverts "Re-use common JSX element transform for <>...</>"
* add a regression test
* fix Babel 8 test error
* Update fixtures (Windows)
* disable the regression test on Babel 8
Co-authored-by: Babel Bot <[email protected] >
2023-01-20 13:24:35 -05:00
26092a188f
Re-use common JSX element transform for <>...</> ( #15047 )
...
* Re-use common JSX element transform for `<>...</>`
* Avoid trailing `void 0` params
* Update fixtures (Windows)
Co-authored-by: Babel Bot <[email protected] >
2022-12-13 21:43:52 +01:00
65b1f4e89e
Improve comments generation ( #14979 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
2022-10-09 17:21:02 +02:00
Babel Bot
ad546db9e4
v7.18.6
2022-06-27 19:42:32 +00:00
318d66005b
enable TS compiler option: noImplicitAny ( #14601 )
...
* enable noImplicitAny
* codemod (#14602 )
* Improve preset/plugin-typescript typings (#14603 )
* preset-typescript
* transform-typescript
* Update packages/babel-plugin-transform-typescript/src/enum.ts
Co-authored-by: Nicolò Ribaudo <[email protected] >
* prettier
Co-authored-by: Nicolò Ribaudo <[email protected] >
* Improve transform-runtime typings (#14605 )
* enable noImplicitAny
* codemod (#14602 )
* Improve preset/plugin-typescript typings (#14603 )
* preset-typescript
* transform-typescript
* Update packages/babel-plugin-transform-typescript/src/enum.ts
Co-authored-by: Nicolò Ribaudo <[email protected] >
* prettier
Co-authored-by: Nicolò Ribaudo <[email protected] >
* improve transform-runtime typings
Co-authored-by: Nicolò Ribaudo <[email protected] >
* jsx (#14607 )
* Improve module transform packages typings (#14608 )
* improve babel-template typings (#14621 )
* Improve @babel/helper-* typings (#14620 )
* improve helper-function-name typings
* helper hoist variables
* helper-member-expression-to-functions
* helper-simple-access
* remap-async-to-generator
* helper-annotate-as-pure
* helper-builder-binary-assignment-operator-visitor
* helper-check-duplicate-nodes
* early return when export declaration is export all
* split-export-declaration
* helper-define-map
* define-map
* Update packages/babel-helper-builder-binary-assignment-operator-visitor/src/index.ts
Co-authored-by: Nicolò Ribaudo <[email protected] >
* review comments
Co-authored-by: Nicolò Ribaudo <[email protected] >
* improve helper-module-imports typings (#14623 )
* refactor: simplify ImportInjector._applyDefaults
* helper-module-imports
* map globals to the one used in Babel 8
* Improve fixture-test-runner typings (#14625 )
* plugin-test-runner
* fixture-test-runner
* Update packages/babel-helper-fixtures/src/index.ts
Co-authored-by: Nicolò Ribaudo <[email protected] >
Co-authored-by: Nicolò Ribaudo <[email protected] >
* Improve preset-env typings (#14606 )
* refactor: move shipped-proposals to ts
* preset-env
* address review comments
* Improve pipeline-operator typings (#14629 )
* refactor: simplify buildOptimizedSequenceExpression
* proposal-pipeline-operator
* address review comments
* improve standalone typings (#14630 )
* babel-standalone
* address review comment
* Improve plugins typings (Part 1) (#14633 )
* change AssumptionFunction return type
* helper-create-regexp-features-plugin
* create-class-features-plugin
* transform-for-of
* improve unicode-escapes typings
* transform-object-super
* transform-react-constant-elements
* proto-to-assign
* function-name
* flow-comments
TS cannot infer Flow visitor type because we have both Flow type and Flow virtual type.
* Improve code-frame/hightlight typings (#14643 )
* code-frame
* map js-tokens to Babel 8
* highlight
* Improve `@babel/types` typings (#14645 )
* bump to-fast-properties to v4
* types
* mark node comments as mutable
* Improve babel-core typings (#14622 )
Co-authored-by: Nicolò Ribaudo <[email protected] >
* improve transform-classes typings (#14624 )
* Improve `@babel/generator` typings (#14644 )
* generator
* refactor: merge {start,end}Terminatorless to printTerminatorless
* inline buildYieldAwait
* inline ExportDeclaration
* also export Pos
* let getPossibleRaw return string | void
* Apply suggestions from code review
Co-authored-by: Nicolò Ribaudo <[email protected] >
Co-authored-by: liuxingbaoyu <[email protected] >
* address review comments
* do not export internal printer method
* simplify needsWhitespace
Co-authored-by: Nicolò Ribaudo <[email protected] >
Co-authored-by: liuxingbaoyu <[email protected] >
* Improve plugins typings (Part 2) (#14639 )
* exponentiation-operator
* duplicate-keys
* computed-properties
* replace-supers
* block-scoping
* block-scoped-functions
* syntax-typescript
* record-and-tuple
* private-property-in-object
* partial-application
* json-strings
* function-sent
* function-bind
* class-static-block
* async-generator-functions
* Update packages/babel-plugin-transform-block-scoping/src/index.ts
* address review comments
* helper-replace-supers
* Improve plugins typings (Part 3) (#14642 )
* external-helpers
* bugfix
* transform-parameters
* object-rest-spread
* destructuring-private
* transform-destructuring
* proposal-decorators
* optional-chaining
* helper-wrap-function
* explode-assignable-expression
* helper-compilation-targets
* helper-plugin-utils
* helpers
* helper-validator-option
* fix: allow "+" and "-" in MappedType .readonly/.optional
* fixture-test-runner
* remove charcodes from dependencies
the charcodes transform will inline charCodes.* so we can remove it from dependencies
* Improve traverse typings (#14648 )
* export removeProperties options
* traverse
* fix other packages typings
* fix gatherNodeParts
* downgrade to-fast-properties to v3
* fix typo
* babel-core/normalize-file
* add ignore comment property used by flow plugin
* refine getLastStatement typings
* fix babel-standalone rebase typing error
* fix assert.rejects polyfill
* simplify _param typings
* supress Babel 7 AST errors
* loosen defineType typings
The AST typings are generated from defineType calls, so defineType should accept a string as type.
* restore legacy code
* Suppress data/core-js-compat importing errors
Co-authored-by: Nicolò Ribaudo <[email protected] >
Co-authored-by: liuxingbaoyu <[email protected] >
2022-06-21 16:03:37 -04:00
Nicolò Ribaudo and GitHub
e8c855c093
Enforce setting type in package.json ( #14675 )
2022-06-20 18:43:28 +02:00
Babel Bot
501320bff5
v7.16.7
2021-12-31 00:13:43 +00:00
Nicolò Ribaudo and GitHub
f7e968586c
[babel 8] Add "exports" to every package ( #14013 )
2021-12-29 16:29:10 +01:00
Babel Bot
1551b9078d
v7.16.5
2021-12-13 22:12:58 +00:00
Nicolò Ribaudo and GitHub
df22d9da48
Run tests in a native Node.js ESM environment ( #13966 )
2021-12-03 15:32:58 +01:00
7ef1045060
Migrate Babel from Flow to TypeScript (except Babel parser) ( #11578 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
2021-11-25 23:09:13 +01:00
Nicolò Ribaudo
0a306b267b
v7.16.0
2021-10-30 01:26:04 +02:00
Nicolò Ribaudo and GitHub
d25fb58924
Use workspace:^ to specify @babel/ dependencies ( #13772 )
...
* Enforce `workspace:^` to specify `@babel/` dependencies
* `yarn constraints --fix`
* Update lockfile
2021-10-25 07:22:08 +02:00
Babel Bot
d6b07f01e0
v7.14.5
2021-06-09 23:03:30 +00:00
Kristoffer K and GitHub
8416abe56e
chore: setup Yarn constraints ( #13363 )
2021-05-31 18:46:03 +02:00
Nicolò Ribaudo and GitHub
ad0dd901a2
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
360e501253
Enable external-helpers by default in tests ( #12911 )
...
Co-authored-by: Huáng Jùnliàng <[email protected] >
Co-authored-by: Babel Bot <[email protected] >
2021-02-26 23:33:26 +01:00
Nicolò Ribaudo
c749dad7d2
v7.12.13
2021-02-03 01:59:31 +01:00
3df22f4ed7
[babel 8] Use the JSX automatic runtime by default ( #12630 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
Co-authored-by: Arun Kumar Mohan <[email protected] >
2021-01-19 01:41:07 +01:00
Daniel Arthur Gallagher and GitHub
9186b309d7
docs: add package-specific documentation links ( #12531 )
...
[skip ci]
2021-01-06 14:11:53 +01:00
Álvaro Mondéjar and GitHub
5149e3f8ba
Fix packages documentation README links. ( #12289 )
2020-10-30 21:19:21 +01:00
c964da5681
Use workspace:* for devDependencies (again) ( #12217 )
...
Co-authored-by: Huáng Jùnliàng <[email protected] >
2020-10-19 18:32:06 +02:00
Nicolò Ribaudo
af25782992
v7.12.1
2020-10-16 00:36:30 +02:00
Huáng Jùnliàng and GitHub
0b81b0c316
chore: use workspace:* for dev deps ( #12186 )
2020-10-15 14:03:50 -04:00
8d85af7a12
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. <[email protected] >
* chore: use workspace protocol for eslint packages in the root
Co-Authored-By: merceyz <[email protected] >
* 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. <[email protected] >
2020-08-25 14:37:30 -04:00
Huáng Jùnliàng
e86635fd1a
v7.10.4
2020-06-30 09:04:22 -04:00
Nicolò Ribaudo
2905bbb04d
v7.10.1
2020-05-27 21:56:37 +00:00