@kubb/core 3.10.9 → 3.10.10
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-GGXWIE3Q.cjs → chunk-5ENRRZRW.cjs} +4 -4
- package/dist/{chunk-GGXWIE3Q.cjs.map → chunk-5ENRRZRW.cjs.map} +1 -1
- package/dist/{chunk-4FC3UQ2A.cjs → chunk-CMNPGTBE.cjs} +47 -47
- package/dist/{chunk-4FC3UQ2A.cjs.map → chunk-CMNPGTBE.cjs.map} +1 -1
- package/dist/{chunk-ASNFY2P2.cjs → chunk-GB7SMQO5.cjs} +13 -13
- package/dist/{chunk-ASNFY2P2.cjs.map → chunk-GB7SMQO5.cjs.map} +1 -1
- package/dist/{chunk-XFTBW3ZJ.cjs → chunk-J2EWMA56.cjs} +17 -17
- package/dist/{chunk-XFTBW3ZJ.cjs.map → chunk-J2EWMA56.cjs.map} +1 -1
- package/dist/{chunk-56YJEKS3.cjs → chunk-XMAFJGOG.cjs} +8 -8
- package/dist/{chunk-56YJEKS3.cjs.map → chunk-XMAFJGOG.cjs.map} +1 -1
- package/dist/fs.cjs +9 -9
- package/dist/index.cjs +42 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/logger.cjs +7 -7
- package/dist/mocks.cjs +10 -10
- package/dist/{prompt-SB4H4DMO.cjs → prompt-BPFJQVHQ.cjs} +4 -4
- package/dist/{prompt-SB4H4DMO.cjs.map → prompt-BPFJQVHQ.cjs.map} +1 -1
- package/dist/transformers.cjs +22 -22
- package/dist/utils.cjs +19 -19
- package/package.json +5 -5
- package/src/PluginManager.ts +5 -1
package/dist/transformers.cjs
CHANGED
|
@@ -2,90 +2,90 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkJ2EWMA56_cjs = require('./chunk-J2EWMA56.cjs');
|
|
6
|
+
require('./chunk-5ENRRZRW.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "camelCase", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkJ2EWMA56_cjs.camelCase; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "combineCodes", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkJ2EWMA56_cjs.combineCodes; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createIndent", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkJ2EWMA56_cjs.createIndent; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "createJSDocBlockText", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkJ2EWMA56_cjs.createJSDocBlockText; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "default", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkJ2EWMA56_cjs.transformers_default; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "escape", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkJ2EWMA56_cjs.escape; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "isValidVarName", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkJ2EWMA56_cjs.isValidVarName; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "jsStringEscape", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkJ2EWMA56_cjs.jsStringEscape; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "merge", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkJ2EWMA56_cjs.merge; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "nameSorter", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkJ2EWMA56_cjs.nameSorter; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "orderBy", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkJ2EWMA56_cjs.orderBy; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "pascalCase", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkJ2EWMA56_cjs.pascalCase; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "searchAndReplace", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkJ2EWMA56_cjs.searchAndReplace; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "stringify", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkJ2EWMA56_cjs.stringify; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "stringifyObject", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkJ2EWMA56_cjs.stringifyObject; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "toRegExp", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkJ2EWMA56_cjs.toRegExp; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "toRegExpString", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkJ2EWMA56_cjs.toRegExpString; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "transformReservedWord", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkJ2EWMA56_cjs.transformReservedWord; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "trim", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkJ2EWMA56_cjs.trim; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "trimQuotes", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkJ2EWMA56_cjs.trimQuotes; }
|
|
89
89
|
});
|
|
90
90
|
//# sourceMappingURL=transformers.cjs.map
|
|
91
91
|
//# sourceMappingURL=transformers.cjs.map
|
package/dist/utils.cjs
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkCMNPGTBE_cjs = require('./chunk-CMNPGTBE.cjs');
|
|
4
|
+
require('./chunk-J2EWMA56.cjs');
|
|
5
|
+
require('./chunk-XMAFJGOG.cjs');
|
|
6
|
+
require('./chunk-5ENRRZRW.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FunctionParams", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkCMNPGTBE_cjs.FunctionParams; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "URLPath", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkCMNPGTBE_cjs.URLPath; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createFile", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkCMNPGTBE_cjs.createFile; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "createFileExport", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkCMNPGTBE_cjs.createFileExport; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "createFileImport", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkCMNPGTBE_cjs.createFileImport; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "createFileParser", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkCMNPGTBE_cjs.createFileParser; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "getDefaultBanner", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkCMNPGTBE_cjs.getDefaultBanner; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "getFileParser", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkCMNPGTBE_cjs.getFileParser; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "getUniqueName", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkCMNPGTBE_cjs.getUniqueName; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "isPromise", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkCMNPGTBE_cjs.isPromise; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "isPromiseFulfilledResult", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkCMNPGTBE_cjs.isPromiseFulfilledResult; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "isPromiseRejectedResult", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkCMNPGTBE_cjs.isPromiseRejectedResult; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "renderTemplate", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkCMNPGTBE_cjs.renderTemplate; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "setUniqueName", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkCMNPGTBE_cjs.setUniqueName; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "timeout", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkCMNPGTBE_cjs.timeout; }
|
|
69
69
|
});
|
|
70
70
|
//# sourceMappingURL=utils.cjs.map
|
|
71
71
|
//# sourceMappingURL=utils.cjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.10",
|
|
4
4
|
"description": "Generator core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"remeda": "^2.21.3",
|
|
94
94
|
"seedrandom": "^3.0.5",
|
|
95
95
|
"semver": "^7.7.1",
|
|
96
|
-
"@kubb/parser-ts": "3.10.
|
|
96
|
+
"@kubb/parser-ts": "3.10.10"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"prettier": "^3.5.3",
|
|
105
105
|
"tsup": "^8.4.0",
|
|
106
106
|
"typescript": "^5.8.3",
|
|
107
|
-
"@kubb/config-ts": "3.10.
|
|
108
|
-
"@kubb/config-tsup": "3.10.
|
|
107
|
+
"@kubb/config-ts": "3.10.10",
|
|
108
|
+
"@kubb/config-tsup": "3.10.10"
|
|
109
109
|
},
|
|
110
110
|
"engines": {
|
|
111
111
|
"node": ">=20"
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"build": "tsup",
|
|
119
119
|
"clean": "npx rimraf ./dist",
|
|
120
120
|
"lint": "bun biome lint .",
|
|
121
|
-
"lint:fix": "bun biome lint --
|
|
121
|
+
"lint:fix": "bun biome lint--fix --unsafe .",
|
|
122
122
|
"release": "pnpm publish --no-git-check",
|
|
123
123
|
"release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
|
|
124
124
|
"start": "tsup --watch",
|
package/src/PluginManager.ts
CHANGED
|
@@ -396,7 +396,11 @@ export class PluginManager {
|
|
|
396
396
|
hookName,
|
|
397
397
|
parameters,
|
|
398
398
|
message,
|
|
399
|
-
}: {
|
|
399
|
+
}: {
|
|
400
|
+
hookName: H
|
|
401
|
+
parameters?: PluginParameter<H>
|
|
402
|
+
message: string
|
|
403
|
+
}): Promise<void> {
|
|
400
404
|
const plugins = this.#getSortedPlugins(hookName)
|
|
401
405
|
this.logger.emit('progress_start', { id: hookName, size: plugins.length })
|
|
402
406
|
|