@foray1010/babel-preset 12.0.3 → 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 +22 -0
- package/README.md +14 -14
- package/package.json +16 -16
- package/tsconfig.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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
|
+
|
|
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)
|
|
17
|
+
|
|
18
|
+
### ⚠ BREAKING CHANGES
|
|
19
|
+
|
|
20
|
+
- **deps:** bump peer dependencies to current version
|
|
21
|
+
- require nodejs `^20.19.0 || ^22.12.0 || >=24.11.0`
|
|
22
|
+
|
|
23
|
+
### Miscellaneous Chores
|
|
24
|
+
|
|
25
|
+
- **deps:** bump peer dependencies to current version ([a47bc48](https://github.com/foray1010/common-presets/commit/a47bc48f7db8f4a527163ab35448f4eba455496f))
|
|
26
|
+
- require nodejs `^20.19.0 || ^22.12.0 || >=24.11.0` ([aae1835](https://github.com/foray1010/common-presets/commit/aae1835f9517621ddc0d71f31bda39e9163213a1))
|
|
27
|
+
|
|
6
28
|
## [12.0.3](https://github.com/foray1010/common-presets/compare/@foray1010/babel-preset@12.0.2...@foray1010/babel-preset@12.0.3) (2025-08-03)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @foray1010/babel-preset
|
package/README.md
CHANGED
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
1. Install peer dependencies
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
for app (type checking only):
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
```sh
|
|
10
|
+
yarn add -E @babel/runtime core-js
|
|
11
|
+
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
for library (type checking and generate typings):
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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": "
|
|
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,30 +20,30 @@
|
|
|
20
20
|
"type:check": "tsc"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@babel/helper-plugin-utils": "^7.
|
|
24
|
-
"@babel/plugin-transform-react-constant-elements": "^7.
|
|
25
|
-
"@babel/plugin-transform-react-inline-elements": "^7.
|
|
26
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
27
|
-
"@babel/preset-env": "^7.
|
|
28
|
-
"@babel/preset-react": "^7.
|
|
29
|
-
"@babel/preset-typescript": "^7.
|
|
30
|
-
"@foray1010/common-presets-utils": "^
|
|
23
|
+
"@babel/helper-plugin-utils": "^7.28.6",
|
|
24
|
+
"@babel/plugin-transform-react-constant-elements": "^7.27.1",
|
|
25
|
+
"@babel/plugin-transform-react-inline-elements": "^7.27.1",
|
|
26
|
+
"@babel/plugin-transform-runtime": "^7.29.0",
|
|
27
|
+
"@babel/preset-env": "^7.29.5",
|
|
28
|
+
"@babel/preset-react": "^7.28.5",
|
|
29
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
30
|
+
"@foray1010/common-presets-utils": "^10.0.0",
|
|
31
31
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
32
|
-
"browserslist": "^4.
|
|
33
|
-
"semver": "^7.
|
|
32
|
+
"browserslist": "^4.28.2",
|
|
33
|
+
"semver": "^7.8.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/semver": "7.7.
|
|
36
|
+
"@types/semver": "7.7.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@babel/core": "^7.
|
|
40
|
-
"@babel/runtime": "^7.
|
|
39
|
+
"@babel/core": "^7.28.5",
|
|
40
|
+
"@babel/runtime": "^7.28.4"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": "^
|
|
43
|
+
"node": "^22.12.0 || ^24.11.0 || >=26"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "b0dcdf4522afb97a5ee7088c20299aad17738056"
|
|
49
49
|
}
|