@kubb/core 4.29.1 → 4.31.1
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/dist/fs.js +1 -1
- package/dist/index.cjs +14 -13
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/{getBarrelFiles-BBDOJ2lV.js → packageManager-B6NiaZeW.js} +41 -3
- package/dist/packageManager-B6NiaZeW.js.map +1 -0
- package/dist/{getBarrelFiles-DAhlPFXC.d.ts → packageManager-B7KCmp2R.d.ts} +11 -2
- package/dist/{getBarrelFiles-BttXy8Sp.cjs → packageManager-BGUS6_Pq.cjs} +46 -1
- package/dist/packageManager-BGUS6_Pq.cjs.map +1 -0
- package/dist/utils.cjs +10 -9
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +2 -2
- package/dist/utils.js.map +1 -1
- package/dist/{write-DiGboRXI.js → write-pEo2oQGI.js} +2 -2
- package/dist/{write-DiGboRXI.js.map → write-pEo2oQGI.js.map} +1 -1
- package/package.json +5 -4
- package/src/index.ts +2 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/packageManager.ts +58 -0
- package/src/utils/serializePluginOptions.ts +5 -4
- package/dist/getBarrelFiles-BBDOJ2lV.js.map +0 -1
- package/dist/getBarrelFiles-BttXy8Sp.cjs.map +0 -1
- package/dist/getBarrelFiles-C7gz90HF.d.ts +0 -73
- package/dist/types-Ciz0gIX7.d.ts +0 -706
- package/src/__snapshots__/barrel.json +0 -147
- package/src/__snapshots__/grouped.json +0 -120
- package/src/__snapshots__/ordered.json +0 -68
- package/src/gen/mocks/excluded.ts +0 -1
- package/src/utils/__snapshots__/barrel.json +0 -135
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"path": "src/test.ts",
|
|
4
|
-
"baseName": "test.ts",
|
|
5
|
-
"sources": [
|
|
6
|
-
{
|
|
7
|
-
"name": "test",
|
|
8
|
-
"value": "export const test = 2;",
|
|
9
|
-
"isExportable": true,
|
|
10
|
-
"isIndexable": true
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"id": "24be171099f802b26a7c97f02b0017ea44a6f9147e7fbe8c3ad6bc45283d4903",
|
|
14
|
-
"name": "test",
|
|
15
|
-
"extname": ".ts",
|
|
16
|
-
"imports": [],
|
|
17
|
-
"exports": [],
|
|
18
|
-
"meta": {}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"path": "src/index.ts",
|
|
22
|
-
"baseName": "index.ts",
|
|
23
|
-
"exports": [
|
|
24
|
-
{
|
|
25
|
-
"path": "./sub/hello.ts"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"path": "./sub/world.ts"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"path": "./test.ts"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"sources": [
|
|
35
|
-
{
|
|
36
|
-
"name": "test",
|
|
37
|
-
"value": "",
|
|
38
|
-
"isExportable": false,
|
|
39
|
-
"isIndexable": false
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "hello",
|
|
43
|
-
"value": "",
|
|
44
|
-
"isExportable": false,
|
|
45
|
-
"isIndexable": false
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "world",
|
|
49
|
-
"value": "",
|
|
50
|
-
"isExportable": false,
|
|
51
|
-
"isIndexable": false
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"id": "be25f3f85c5b85e95514080872ba0bca69acd8e1cec464b632945e79fed1d5b6",
|
|
55
|
-
"name": "index",
|
|
56
|
-
"extname": ".ts",
|
|
57
|
-
"imports": [],
|
|
58
|
-
"meta": {}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"path": "src/sub/hello.ts",
|
|
62
|
-
"baseName": "hello.ts",
|
|
63
|
-
"sources": [
|
|
64
|
-
{
|
|
65
|
-
"name": "hello",
|
|
66
|
-
"value": "export const hello = 2;",
|
|
67
|
-
"isExportable": true,
|
|
68
|
-
"isIndexable": true
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"id": "2605e7687b17f9a3fbc22bb108d789832b4d51be66f9250e1b08baffec006a71",
|
|
72
|
-
"name": "hello",
|
|
73
|
-
"extname": ".ts",
|
|
74
|
-
"imports": [],
|
|
75
|
-
"exports": [],
|
|
76
|
-
"meta": {}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"path": "src/sub/world.ts",
|
|
80
|
-
"baseName": "world.ts",
|
|
81
|
-
"sources": [
|
|
82
|
-
{
|
|
83
|
-
"name": "world",
|
|
84
|
-
"value": "export const world = 2;",
|
|
85
|
-
"isExportable": true,
|
|
86
|
-
"isIndexable": true
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"id": "9522fa0378a8d8ecb5a5c54aac78b9a8644518860de49cf71ced4e6fe9c6e940",
|
|
90
|
-
"name": "world",
|
|
91
|
-
"extname": ".ts",
|
|
92
|
-
"imports": [],
|
|
93
|
-
"exports": [],
|
|
94
|
-
"meta": {}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"path": "src/sub/index.ts",
|
|
98
|
-
"baseName": "index.ts",
|
|
99
|
-
"sources": [
|
|
100
|
-
{
|
|
101
|
-
"name": "hello",
|
|
102
|
-
"value": ""
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "world",
|
|
106
|
-
"value": ""
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "hello",
|
|
110
|
-
"value": "",
|
|
111
|
-
"isExportable": false,
|
|
112
|
-
"isIndexable": false
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "world",
|
|
116
|
-
"value": "",
|
|
117
|
-
"isExportable": false,
|
|
118
|
-
"isIndexable": false
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"exports": [
|
|
122
|
-
{
|
|
123
|
-
"path": "./hello.ts"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"path": "./world.ts"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"name": [
|
|
130
|
-
"hello"
|
|
131
|
-
],
|
|
132
|
-
"path": "./sub/hello.ts"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"name": [
|
|
136
|
-
"world"
|
|
137
|
-
],
|
|
138
|
-
"path": "./sub/world.ts"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"id": "216ca4d733d9d347d0ef4ec8865f8209e6ebab829cde4bbfef25e7a40e839b9f",
|
|
142
|
-
"name": "index",
|
|
143
|
-
"extname": ".ts",
|
|
144
|
-
"imports": [],
|
|
145
|
-
"meta": {}
|
|
146
|
-
}
|
|
147
|
-
]
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "",
|
|
3
|
-
"path": "",
|
|
4
|
-
"children": [
|
|
5
|
-
{
|
|
6
|
-
"name": "src",
|
|
7
|
-
"path": "src",
|
|
8
|
-
"children": [
|
|
9
|
-
{
|
|
10
|
-
"name": "axios",
|
|
11
|
-
"path": "src/axios",
|
|
12
|
-
"children": [
|
|
13
|
-
{
|
|
14
|
-
"name": "file2.ts",
|
|
15
|
-
"file": {
|
|
16
|
-
"path": "src/axios/file2.ts",
|
|
17
|
-
"baseName": "file2.ts",
|
|
18
|
-
"sources": [],
|
|
19
|
-
"id": "6af477de6b602aafbb2e1ce0011b1f411a7ab3a5",
|
|
20
|
-
"name": "file2",
|
|
21
|
-
"extname": ".ts",
|
|
22
|
-
"imports": [],
|
|
23
|
-
"exports": [],
|
|
24
|
-
"meta": {}
|
|
25
|
-
},
|
|
26
|
-
"path": "src/axios/file2.ts"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "file1.ts",
|
|
30
|
-
"file": {
|
|
31
|
-
"path": "src/axios/file1.ts",
|
|
32
|
-
"baseName": "file2.ts",
|
|
33
|
-
"sources": [],
|
|
34
|
-
"id": "a9679944d24c174b2f2fd5b1f19c9861f1d35d0e",
|
|
35
|
-
"name": "file2",
|
|
36
|
-
"extname": ".ts",
|
|
37
|
-
"imports": [],
|
|
38
|
-
"exports": [],
|
|
39
|
-
"meta": {}
|
|
40
|
-
},
|
|
41
|
-
"path": "src/axios/file1.ts"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "controller",
|
|
45
|
-
"path": "src/axios/controller",
|
|
46
|
-
"children": [
|
|
47
|
-
{
|
|
48
|
-
"name": "pet.ts",
|
|
49
|
-
"file": {
|
|
50
|
-
"path": "src/axios/controller/pet.ts",
|
|
51
|
-
"baseName": "pet.ts",
|
|
52
|
-
"sources": [],
|
|
53
|
-
"id": "8beaaf5e1b1a6b89a11589c2e3dc5fd7f5eb5e8c",
|
|
54
|
-
"name": "pet",
|
|
55
|
-
"extname": ".ts",
|
|
56
|
-
"imports": [],
|
|
57
|
-
"exports": [],
|
|
58
|
-
"meta": {}
|
|
59
|
-
},
|
|
60
|
-
"path": "src/axios/controller/pet.ts"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "index.ts",
|
|
66
|
-
"file": {
|
|
67
|
-
"path": "src/axios/index.ts",
|
|
68
|
-
"baseName": "index.ts",
|
|
69
|
-
"sources": [],
|
|
70
|
-
"id": "b077038b83c1ef4050649be406937a73c1f41ad3",
|
|
71
|
-
"name": "index",
|
|
72
|
-
"extname": ".ts",
|
|
73
|
-
"imports": [],
|
|
74
|
-
"exports": [],
|
|
75
|
-
"meta": {}
|
|
76
|
-
},
|
|
77
|
-
"path": "src/axios/index.ts"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "controller",
|
|
83
|
-
"path": "src/controller",
|
|
84
|
-
"children": [
|
|
85
|
-
{
|
|
86
|
-
"name": "test.ts",
|
|
87
|
-
"file": {
|
|
88
|
-
"path": "src/controller/test.ts",
|
|
89
|
-
"baseName": "test.ts",
|
|
90
|
-
"sources": [],
|
|
91
|
-
"id": "a2d277093a81a74c56c0d094071195302d6bb484",
|
|
92
|
-
"name": "test",
|
|
93
|
-
"extname": ".ts",
|
|
94
|
-
"imports": [],
|
|
95
|
-
"exports": [],
|
|
96
|
-
"meta": {}
|
|
97
|
-
},
|
|
98
|
-
"path": "src/controller/test.ts"
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "test.ts",
|
|
104
|
-
"file": {
|
|
105
|
-
"path": "src/test.ts",
|
|
106
|
-
"baseName": "test.ts",
|
|
107
|
-
"sources": [],
|
|
108
|
-
"id": "f8e2d98f76d6e33f21aa686d674544b5c7d6fa3e",
|
|
109
|
-
"name": "test",
|
|
110
|
-
"extname": ".ts",
|
|
111
|
-
"imports": [],
|
|
112
|
-
"exports": [],
|
|
113
|
-
"meta": {}
|
|
114
|
-
},
|
|
115
|
-
"path": "src/test.ts"
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"path": "src/test.ts",
|
|
4
|
-
"baseName": "test.ts",
|
|
5
|
-
"sources": [],
|
|
6
|
-
"id": "f8e2d98f76d6e33f21aa686d674544b5c7d6fa3e",
|
|
7
|
-
"name": "test",
|
|
8
|
-
"extname": ".ts",
|
|
9
|
-
"imports": [],
|
|
10
|
-
"exports": [],
|
|
11
|
-
"meta": {}
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"path": "src/axios/file2.ts",
|
|
15
|
-
"baseName": "file2.ts",
|
|
16
|
-
"sources": [],
|
|
17
|
-
"id": "6af477de6b602aafbb2e1ce0011b1f411a7ab3a5",
|
|
18
|
-
"name": "file2",
|
|
19
|
-
"extname": ".ts",
|
|
20
|
-
"imports": [],
|
|
21
|
-
"exports": [],
|
|
22
|
-
"meta": {}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"path": "src/axios/file1.ts",
|
|
26
|
-
"baseName": "file2.ts",
|
|
27
|
-
"sources": [],
|
|
28
|
-
"id": "a9679944d24c174b2f2fd5b1f19c9861f1d35d0e",
|
|
29
|
-
"name": "file2",
|
|
30
|
-
"extname": ".ts",
|
|
31
|
-
"imports": [],
|
|
32
|
-
"exports": [],
|
|
33
|
-
"meta": {}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "src/axios/index.ts",
|
|
37
|
-
"baseName": "index.ts",
|
|
38
|
-
"sources": [],
|
|
39
|
-
"id": "b077038b83c1ef4050649be406937a73c1f41ad3",
|
|
40
|
-
"name": "index",
|
|
41
|
-
"extname": ".ts",
|
|
42
|
-
"imports": [],
|
|
43
|
-
"exports": [],
|
|
44
|
-
"meta": {}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"path": "src/controller/test.ts",
|
|
48
|
-
"baseName": "test.ts",
|
|
49
|
-
"sources": [],
|
|
50
|
-
"id": "a2d277093a81a74c56c0d094071195302d6bb484",
|
|
51
|
-
"name": "test",
|
|
52
|
-
"extname": ".ts",
|
|
53
|
-
"imports": [],
|
|
54
|
-
"exports": [],
|
|
55
|
-
"meta": {}
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"path": "src/axios/controller/pet.ts",
|
|
59
|
-
"baseName": "pet.ts",
|
|
60
|
-
"sources": [],
|
|
61
|
-
"id": "8beaaf5e1b1a6b89a11589c2e3dc5fd7f5eb5e8c",
|
|
62
|
-
"name": "pet",
|
|
63
|
-
"extname": ".ts",
|
|
64
|
-
"imports": [],
|
|
65
|
-
"exports": [],
|
|
66
|
-
"meta": {}
|
|
67
|
-
}
|
|
68
|
-
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const excluded = 'excluded'
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"path": "src/test.ts",
|
|
4
|
-
"baseName": "test.ts",
|
|
5
|
-
"sources": [
|
|
6
|
-
{
|
|
7
|
-
"name": "test",
|
|
8
|
-
"value": "export const test = 2;",
|
|
9
|
-
"isExportable": true,
|
|
10
|
-
"isIndexable": true
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"imports": [],
|
|
14
|
-
"exports": [],
|
|
15
|
-
"id": "81188fa6e8155e286766a6f3ca74e3eaf1e65e4aca7c0c2788e588b32c591288",
|
|
16
|
-
"name": "test",
|
|
17
|
-
"extname": ".ts",
|
|
18
|
-
"meta": {}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"path": "src/index.ts",
|
|
22
|
-
"baseName": "index.ts",
|
|
23
|
-
"exports": [
|
|
24
|
-
{
|
|
25
|
-
"path": "./sub/hello.ts"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"path": "./sub/world.ts"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"path": "./test.ts"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"imports": [],
|
|
35
|
-
"sources": [
|
|
36
|
-
{
|
|
37
|
-
"name": "test",
|
|
38
|
-
"value": "",
|
|
39
|
-
"isExportable": false,
|
|
40
|
-
"isIndexable": false
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "hello",
|
|
44
|
-
"value": "",
|
|
45
|
-
"isExportable": false,
|
|
46
|
-
"isIndexable": false
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "world",
|
|
50
|
-
"value": "",
|
|
51
|
-
"isExportable": false,
|
|
52
|
-
"isIndexable": false
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"id": "a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80",
|
|
56
|
-
"name": "index",
|
|
57
|
-
"extname": ".ts",
|
|
58
|
-
"meta": {}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"path": "src/sub/hello.ts",
|
|
62
|
-
"baseName": "hello.ts",
|
|
63
|
-
"sources": [
|
|
64
|
-
{
|
|
65
|
-
"name": "hello",
|
|
66
|
-
"value": "export const hello = 2;",
|
|
67
|
-
"isExportable": true,
|
|
68
|
-
"isIndexable": true
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"imports": [],
|
|
72
|
-
"exports": [],
|
|
73
|
-
"id": "9e2eb758d04ed285d5eb44154f8ce82fafc1a45f3454ec50e776a6ad2923bdbc",
|
|
74
|
-
"name": "hello",
|
|
75
|
-
"extname": ".ts",
|
|
76
|
-
"meta": {}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"path": "src/sub/world.ts",
|
|
80
|
-
"baseName": "world.ts",
|
|
81
|
-
"sources": [
|
|
82
|
-
{
|
|
83
|
-
"name": "world",
|
|
84
|
-
"value": "export const world = 2;",
|
|
85
|
-
"isExportable": true,
|
|
86
|
-
"isIndexable": true
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"imports": [],
|
|
90
|
-
"exports": [],
|
|
91
|
-
"id": "8875e1f9f216417bf0cd05cf4a1a49f430094b0700574b1db6e4e2406feeb850",
|
|
92
|
-
"name": "world",
|
|
93
|
-
"extname": ".ts",
|
|
94
|
-
"meta": {}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"path": "src/sub/index.ts",
|
|
98
|
-
"baseName": "index.ts",
|
|
99
|
-
"sources": [
|
|
100
|
-
{
|
|
101
|
-
"name": "hello",
|
|
102
|
-
"value": ""
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "world",
|
|
106
|
-
"value": ""
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"imports": [],
|
|
110
|
-
"exports": [
|
|
111
|
-
{
|
|
112
|
-
"path": "./hello.ts"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"path": "./world.ts"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"name": [
|
|
119
|
-
"hello"
|
|
120
|
-
],
|
|
121
|
-
"path": "./sub/hello.ts"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": [
|
|
125
|
-
"world"
|
|
126
|
-
],
|
|
127
|
-
"path": "./sub/world.ts"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"id": "00d9bb747968e55db50fa82465b2f0678d957e9befeaff84a70e431486a8a132",
|
|
131
|
-
"name": "index",
|
|
132
|
-
"extname": ".ts",
|
|
133
|
-
"meta": {}
|
|
134
|
-
}
|
|
135
|
-
]
|