@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/utils.cjs CHANGED
@@ -1,66 +1,66 @@
1
1
  'use strict';
2
2
 
3
- var chunkNYBIP7YZ_cjs = require('./chunk-NYBIP7YZ.cjs');
4
- require('./chunk-3AQ6VTKH.cjs');
5
- require('./chunk-2EP2SOAU.cjs');
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 chunkNYBIP7YZ_cjs.FunctionParams; }
11
+ get: function () { return chunk4VMYG6EI_cjs.FunctionParams; }
12
12
  });
13
13
  Object.defineProperty(exports, "URLPath", {
14
14
  enumerable: true,
15
- get: function () { return chunkNYBIP7YZ_cjs.URLPath; }
15
+ get: function () { return chunk4VMYG6EI_cjs.URLPath; }
16
16
  });
17
17
  Object.defineProperty(exports, "createFile", {
18
18
  enumerable: true,
19
- get: function () { return chunkNYBIP7YZ_cjs.createFile; }
19
+ get: function () { return chunk4VMYG6EI_cjs.createFile; }
20
20
  });
21
21
  Object.defineProperty(exports, "createFileExport", {
22
22
  enumerable: true,
23
- get: function () { return chunkNYBIP7YZ_cjs.createFileExport; }
23
+ get: function () { return chunk4VMYG6EI_cjs.createFileExport; }
24
24
  });
25
25
  Object.defineProperty(exports, "createFileImport", {
26
26
  enumerable: true,
27
- get: function () { return chunkNYBIP7YZ_cjs.createFileImport; }
27
+ get: function () { return chunk4VMYG6EI_cjs.createFileImport; }
28
28
  });
29
29
  Object.defineProperty(exports, "createFileParser", {
30
30
  enumerable: true,
31
- get: function () { return chunkNYBIP7YZ_cjs.createFileParser; }
31
+ get: function () { return chunk4VMYG6EI_cjs.createFileParser; }
32
32
  });
33
33
  Object.defineProperty(exports, "getFileParser", {
34
34
  enumerable: true,
35
- get: function () { return chunkNYBIP7YZ_cjs.getFileParser; }
35
+ get: function () { return chunk4VMYG6EI_cjs.getFileParser; }
36
36
  });
37
37
  Object.defineProperty(exports, "getUniqueName", {
38
38
  enumerable: true,
39
- get: function () { return chunkNYBIP7YZ_cjs.getUniqueName; }
39
+ get: function () { return chunk4VMYG6EI_cjs.getUniqueName; }
40
40
  });
41
41
  Object.defineProperty(exports, "isPromise", {
42
42
  enumerable: true,
43
- get: function () { return chunkNYBIP7YZ_cjs.isPromise; }
43
+ get: function () { return chunk4VMYG6EI_cjs.isPromise; }
44
44
  });
45
45
  Object.defineProperty(exports, "isPromiseFulfilledResult", {
46
46
  enumerable: true,
47
- get: function () { return chunkNYBIP7YZ_cjs.isPromiseFulfilledResult; }
47
+ get: function () { return chunk4VMYG6EI_cjs.isPromiseFulfilledResult; }
48
48
  });
49
49
  Object.defineProperty(exports, "isPromiseRejectedResult", {
50
50
  enumerable: true,
51
- get: function () { return chunkNYBIP7YZ_cjs.isPromiseRejectedResult; }
51
+ get: function () { return chunk4VMYG6EI_cjs.isPromiseRejectedResult; }
52
52
  });
53
53
  Object.defineProperty(exports, "renderTemplate", {
54
54
  enumerable: true,
55
- get: function () { return chunkNYBIP7YZ_cjs.renderTemplate; }
55
+ get: function () { return chunk4VMYG6EI_cjs.renderTemplate; }
56
56
  });
57
57
  Object.defineProperty(exports, "setUniqueName", {
58
58
  enumerable: true,
59
- get: function () { return chunkNYBIP7YZ_cjs.setUniqueName; }
59
+ get: function () { return chunk4VMYG6EI_cjs.setUniqueName; }
60
60
  });
61
61
  Object.defineProperty(exports, "timeout", {
62
62
  enumerable: true,
63
- get: function () { return chunkNYBIP7YZ_cjs.timeout; }
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.6",
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.0",
83
+ "remeda": "^2.17.3",
84
84
  "seedrandom": "^3.0.5",
85
85
  "semver": "^7.6.3",
86
- "@kubb/fs": "3.0.6",
87
- "@kubb/parser-ts": "3.0.6",
88
- "@kubb/types": "3.0.6"
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.6",
100
- "@kubb/config-tsup": "3.0.6"
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),