@foray1010/babel-preset 13.0.0 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [14.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/babel-preset@13.0.0...@foray1010/babel-preset@14.0.0) (2026-05-17)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - drop node v20 and v25
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ - drop node v20 and v25
15
+
6
16
  ## [13.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/babel-preset@12.0.3...@foray1010/babel-preset@13.0.0) (2025-10-31)
7
17
 
8
18
  ### ⚠ BREAKING CHANGES
package/README.md CHANGED
@@ -4,25 +4,25 @@
4
4
 
5
5
  1. Install peer dependencies
6
6
 
7
- for app (type checking only):
7
+ for app (type checking only):
8
8
 
9
- ```sh
10
- yarn add -E @babel/runtime core-js
11
- ```
9
+ ```sh
10
+ yarn add -E @babel/runtime core-js
11
+ ```
12
12
 
13
- for library (type checking and generate typings):
13
+ for library (type checking and generate typings):
14
14
 
15
- ```sh
16
- yarn add @babel/runtime
17
- ```
15
+ ```sh
16
+ yarn add @babel/runtime
17
+ ```
18
18
 
19
19
  2. `yarn add -DE @babel/core @foray1010/babel-preset`
20
20
 
21
21
  3. Create an `.babelrc.mjs` in the project root
22
22
 
23
- ```js
24
- const config = {
25
- presets: ['@foray1010/babel-preset'],
26
- }
27
- export default config
28
- ```
23
+ ```js
24
+ const config = {
25
+ presets: ['@foray1010/babel-preset'],
26
+ }
27
+ export default config
28
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/babel-preset",
4
- "version": "13.0.0",
4
+ "version": "14.0.0",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/babel-preset#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -20,17 +20,17 @@
20
20
  "type:check": "tsc"
21
21
  },
22
22
  "dependencies": {
23
- "@babel/helper-plugin-utils": "^7.27.1",
23
+ "@babel/helper-plugin-utils": "^7.28.6",
24
24
  "@babel/plugin-transform-react-constant-elements": "^7.27.1",
25
25
  "@babel/plugin-transform-react-inline-elements": "^7.27.1",
26
- "@babel/plugin-transform-runtime": "^7.28.5",
27
- "@babel/preset-env": "^7.28.5",
26
+ "@babel/plugin-transform-runtime": "^7.29.0",
27
+ "@babel/preset-env": "^7.29.5",
28
28
  "@babel/preset-react": "^7.28.5",
29
29
  "@babel/preset-typescript": "^7.28.5",
30
- "@foray1010/common-presets-utils": "^9.0.0",
30
+ "@foray1010/common-presets-utils": "^10.0.0",
31
31
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
32
- "browserslist": "^4.27.0",
33
- "semver": "^7.7.3"
32
+ "browserslist": "^4.28.2",
33
+ "semver": "^7.8.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/semver": "7.7.1"
@@ -40,10 +40,10 @@
40
40
  "@babel/runtime": "^7.28.4"
41
41
  },
42
42
  "engines": {
43
- "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
43
+ "node": "^22.12.0 || ^24.11.0 || >=26"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "f4d31b1d0075b0c77a6ae59e7442a977df4b4d15"
48
+ "gitHead": "b0dcdf4522afb97a5ee7088c20299aad17738056"
49
49
  }
package/tsconfig.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "extends": "@foray1010/tsconfig/tsconfig.base.json",
4
4
  "compilerOptions": {
5
5
  "allowJs": true,
6
- "checkJs": true
7
- }
6
+ "checkJs": true,
7
+ "types": ["node"],
8
+ },
8
9
  }