@modern-js/babel-compiler 2.0.0-beta.6 → 2.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 +27 -0
- package/dist/types/type.d.ts +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @modern-js/babel-compiler
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- dda38c9c3e: chore: v2
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [edd1cfb1af]
|
|
12
|
+
- Updated dependencies [dda38c9c3e]
|
|
13
|
+
- Updated dependencies [ffb2ed4]
|
|
14
|
+
- Updated dependencies [bbe4c4ab64]
|
|
15
|
+
- @modern-js/utils@2.0.0
|
|
16
|
+
|
|
17
|
+
## 2.0.0-beta.7
|
|
18
|
+
|
|
19
|
+
### Major Changes
|
|
20
|
+
|
|
21
|
+
- dda38c9c3e: chore: v2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [edd1cfb1af]
|
|
26
|
+
- Updated dependencies [dda38c9c3e]
|
|
27
|
+
- Updated dependencies [bbe4c4ab64]
|
|
28
|
+
- @modern-js/utils@2.0.0-beta.7
|
|
29
|
+
|
|
3
30
|
## 2.0.0-beta.6
|
|
4
31
|
|
|
5
32
|
### Major Changes
|
package/dist/types/type.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { TransformOptions } from '@babel/core';
|
|
2
2
|
import type { GlobOptions } from '@modern-js/utils';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
export type BabelOptions = TransformOptions;
|
|
4
|
+
export type Extensions = string[];
|
|
5
|
+
export type ExtensionsFunc = (defaultExtensions: Extensions) => Extensions;
|
|
6
6
|
export interface ICompilerOptions {
|
|
7
7
|
rootDir: string;
|
|
8
8
|
distDir: string;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.0.0
|
|
14
|
+
"version": "2.0.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/core": "^7.18.0",
|
|
32
32
|
"@babel/runtime": "^7.18.0",
|
|
33
|
-
"@modern-js/utils": "2.0.0
|
|
33
|
+
"@modern-js/utils": "2.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@babel/plugin-transform-classes": "^7.18.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@types/node": "^14",
|
|
42
42
|
"typescript": "^4",
|
|
43
43
|
"jest": "^27",
|
|
44
|
-
"@scripts/build": "2.0.0
|
|
45
|
-
"@scripts/jest-config": "2.0.0
|
|
44
|
+
"@scripts/build": "2.0.0",
|
|
45
|
+
"@scripts/jest-config": "2.0.0"
|
|
46
46
|
},
|
|
47
47
|
"sideEffects": false,
|
|
48
48
|
"modernConfig": {
|