@kubb/core 3.0.6 → 3.0.7
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/{chunk-RMW5K6FV.cjs → chunk-4HBT5USX.cjs} +10 -10
- package/dist/{chunk-RMW5K6FV.cjs.map → chunk-4HBT5USX.cjs.map} +1 -1
- package/dist/{chunk-NYBIP7YZ.cjs → chunk-4VMYG6EI.cjs} +33 -33
- package/dist/{chunk-NYBIP7YZ.cjs.map → chunk-4VMYG6EI.cjs.map} +1 -1
- package/dist/{chunk-2EP2SOAU.cjs → chunk-JH2VVKQW.cjs} +4 -4
- package/dist/{chunk-2EP2SOAU.cjs.map → chunk-JH2VVKQW.cjs.map} +1 -1
- package/dist/{chunk-JBLWRZHM.cjs → chunk-MBE2SGPK.cjs} +8 -8
- package/dist/{chunk-JBLWRZHM.cjs.map → chunk-MBE2SGPK.cjs.map} +1 -1
- package/dist/{chunk-FKRLS3J5.cjs → chunk-MFXET3T6.cjs} +4 -4
- package/dist/{chunk-FKRLS3J5.cjs.map → chunk-MFXET3T6.cjs.map} +1 -1
- package/dist/{chunk-3AQ6VTKH.cjs → chunk-QJ7OV5AX.cjs} +6 -6
- package/dist/{chunk-3AQ6VTKH.cjs.map → chunk-QJ7OV5AX.cjs.map} +1 -1
- package/dist/index.cjs +34 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/logger.cjs +7 -7
- package/dist/mocks.cjs +9 -9
- package/dist/{prompt-5K2IZSUK.cjs → prompt-DCBAXKBT.cjs} +62 -62
- package/dist/{prompt-5K2IZSUK.cjs.map → prompt-DCBAXKBT.cjs.map} +1 -1
- package/dist/transformers.cjs +23 -23
- package/dist/utils.cjs +17 -17
- package/package.json +7 -7
- package/src/build.ts +1 -4
package/dist/utils.cjs
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunk4VMYG6EI_cjs = require('./chunk-4VMYG6EI.cjs');
|
|
4
|
+
require('./chunk-QJ7OV5AX.cjs');
|
|
5
|
+
require('./chunk-JH2VVKQW.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "FunctionParams", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk4VMYG6EI_cjs.FunctionParams; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "URLPath", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk4VMYG6EI_cjs.URLPath; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createFile", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk4VMYG6EI_cjs.createFile; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "createFileExport", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk4VMYG6EI_cjs.createFileExport; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createFileImport", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk4VMYG6EI_cjs.createFileImport; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "createFileParser", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk4VMYG6EI_cjs.createFileParser; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "getFileParser", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk4VMYG6EI_cjs.getFileParser; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "getUniqueName", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk4VMYG6EI_cjs.getUniqueName; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "isPromise", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk4VMYG6EI_cjs.isPromise; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "isPromiseFulfilledResult", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk4VMYG6EI_cjs.isPromiseFulfilledResult; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "isPromiseRejectedResult", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk4VMYG6EI_cjs.isPromiseRejectedResult; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "renderTemplate", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk4VMYG6EI_cjs.renderTemplate; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "setUniqueName", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk4VMYG6EI_cjs.setUniqueName; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "timeout", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk4VMYG6EI_cjs.timeout; }
|
|
64
64
|
});
|
|
65
65
|
//# sourceMappingURL=utils.cjs.map
|
|
66
66
|
//# sourceMappingURL=utils.cjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"description": "Generator core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"natural-orderby": "^4.0.0",
|
|
81
81
|
"object-hash": "^3.0.0",
|
|
82
82
|
"p-queue": "^8.0.1",
|
|
83
|
-
"remeda": "^2.17.
|
|
83
|
+
"remeda": "^2.17.3",
|
|
84
84
|
"seedrandom": "^3.0.5",
|
|
85
85
|
"semver": "^7.6.3",
|
|
86
|
-
"@kubb/fs": "3.0.
|
|
87
|
-
"@kubb/parser-ts": "3.0.
|
|
88
|
-
"@kubb/types": "3.0.
|
|
86
|
+
"@kubb/fs": "3.0.7",
|
|
87
|
+
"@kubb/parser-ts": "3.0.7",
|
|
88
|
+
"@kubb/types": "3.0.7"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/object-hash": "^3.0.6",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"tinyrainbow": "^1.2.0",
|
|
97
97
|
"tsup": "^8.3.5",
|
|
98
98
|
"typescript": "^5.6.3",
|
|
99
|
-
"@kubb/config-ts": "3.0.
|
|
100
|
-
"@kubb/config-tsup": "3.0.
|
|
99
|
+
"@kubb/config-ts": "3.0.7",
|
|
100
|
+
"@kubb/config-tsup": "3.0.7"
|
|
101
101
|
},
|
|
102
102
|
"engines": {
|
|
103
103
|
"node": ">=20"
|
package/src/build.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clean, read } from '@kubb/fs'
|
|
2
2
|
import type * as KubbFile from '@kubb/fs/types'
|
|
3
|
-
import { FileManager, processFiles } from './FileManager.ts'
|
|
3
|
+
import { type FileManager, processFiles } from './FileManager.ts'
|
|
4
4
|
import { PluginManager } from './PluginManager.ts'
|
|
5
5
|
import { isInputPath } from './config.ts'
|
|
6
6
|
import { createLogger } from './logger.ts'
|
|
@@ -114,9 +114,6 @@ export async function safeBuild(options: BuildOptions): Promise<BuildOutput> {
|
|
|
114
114
|
return undefined
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
if (FileManager.getMode(pluginOptions.output?.path) === 'single') {
|
|
118
|
-
return undefined
|
|
119
|
-
}
|
|
120
117
|
return {
|
|
121
118
|
name: pluginOptions.output?.barrelType === 'all' ? undefined : [source.name],
|
|
122
119
|
path: getRelativePath(rootPath, file.path),
|