@kubb/core 5.8.2 → 5.8.4
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/{KubbDriver-DBm4hRKA.js → KubbDriver-DbOEJvzz.js} +2 -2
- package/dist/{KubbDriver-DBm4hRKA.js.map → KubbDriver-DbOEJvzz.js.map} +1 -1
- package/dist/{KubbDriver-DxWuvJWV.cjs → KubbDriver-Iv2StSPa.cjs} +2 -2
- package/dist/{KubbDriver-DxWuvJWV.cjs.map → KubbDriver-Iv2StSPa.cjs.map} +1 -1
- package/dist/index.cjs +18 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +37 -9
- package/dist/index.js +18 -5
- package/dist/index.js.map +1 -1
- package/dist/mocks.cjs +1 -1
- package/dist/mocks.js +1 -1
- package/package.json +2 -2
- package/schemas/kubb-extension.json +19 -1
package/dist/mocks.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_KubbDriver = require("./KubbDriver-
|
|
2
|
+
const require_KubbDriver = require("./KubbDriver-Iv2StSPa.cjs");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_KubbDriver.__toESM(node_path, 1);
|
|
5
5
|
let _kubb_ast = require("@kubb/ast");
|
package/dist/mocks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./rolldown-runtime-CRm0XQPb.js";
|
|
2
|
-
import { i as FileManager, n as pluginNotFoundError, o as Hookable, r as createNodeCache, z as camelCase } from "./KubbDriver-
|
|
2
|
+
import { i as FileManager, n as pluginNotFoundError, o as Hookable, r as createNodeCache, z as camelCase } from "./KubbDriver-DbOEJvzz.js";
|
|
3
3
|
import path, { resolve } from "node:path";
|
|
4
4
|
import { applyMacros, ast } from "@kubb/ast";
|
|
5
5
|
import { expect, vi } from "vitest";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.4",
|
|
4
4
|
"description": "Core engine for Kubb. Provides the plugin driver, file manager and build orchestration used by every Kubb plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generator",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"registry": "https://registry.npmjs.org/"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@kubb/ast": "5.8.
|
|
76
|
+
"@kubb/ast": "5.8.4",
|
|
77
77
|
"tinyexec": "^1.3.1",
|
|
78
78
|
"unstorage": "^1.17.5",
|
|
79
79
|
"verkit": "^0.5.0"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"$id": "https://kubb.dev/schemas/kubb-extension.json",
|
|
4
4
|
"title": "Kubb Extension Manifest",
|
|
5
|
-
"description": "The kubb-extension.json file at the root of a Kubb plugin, adapter, or parser package. It ships on npm, and the Kubb extension registry, the Kubb CLI, and Kubb Studio read it. Readers ignore unknown top-level keys.",
|
|
5
|
+
"description": "The kubb-extension.json file at the root of a Kubb plugin, adapter, or parser package. It ships with the package on npm or GitHub, and the Kubb extension registry, the Kubb CLI, and Kubb Studio read it. Readers ignore unknown top-level keys.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["kind", "name", "export", "displayName", "description"],
|
|
8
8
|
"properties": {
|
|
@@ -63,6 +63,24 @@
|
|
|
63
63
|
"$ref": "#/definitions/httpsUrl",
|
|
64
64
|
"description": "Documentation URL."
|
|
65
65
|
},
|
|
66
|
+
"maintainers": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"description": "People who maintain the extension, shown on its kubb.dev page.",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"required": ["name"],
|
|
72
|
+
"additionalProperties": false,
|
|
73
|
+
"properties": {
|
|
74
|
+
"name": { "type": "string", "minLength": 1, "description": "Display name, e.g. 'Stijn Van Hulle'." },
|
|
75
|
+
"github": { "type": "string", "minLength": 1, "description": "GitHub username, e.g. 'stijnvanhulle'." }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"description": "Names of the extensions that must be in the same config, e.g. ['plugin-ts'].",
|
|
82
|
+
"items": { "type": "string", "maxLength": 214, "pattern": "^(?:@[a-z0-9~][a-z0-9._~-]*/)?[a-z0-9~][a-z0-9._~-]*$" }
|
|
83
|
+
},
|
|
66
84
|
"compatibility": {
|
|
67
85
|
"type": "object",
|
|
68
86
|
"description": "Version ranges the extension supports. Only these two keys are allowed, so a typo cannot skip a check.",
|