kubernetes-fluent-client 3.12.5 → 3.12.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/README.md CHANGED
@@ -49,8 +49,9 @@ await deleteAllByOwnership(kind.ConfigMap, { ...ownership, namespace: "testing"
49
49
  ```
50
50
 
51
51
  Vitest projects can also share the integration-test configuration and register preflight as a
52
- suite hook. Vitest is an optional peer dependency and is only required when this entry point is
53
- used.
52
+ suite hook. Vitest `^4.1.10` or `^5.0.4` is an optional peer dependency, required only by the
53
+ `/test/vitest` and `/test/vitest/setup` entry points. The main API and runner-neutral `/test`
54
+ helpers do not require Vitest.
54
55
 
55
56
  ```typescript
56
57
  // vitest.config.ts
@@ -58,7 +58,7 @@ export declare function generateTypes(inputData: InputData, opts: GenerateOption
58
58
  * @param content - The content to write to the file.
59
59
  * @param language - The programming language of the file.
60
60
  */
61
- export declare function writeGeneratedFile(fileName: string, directory: string, content: string[], language: string | TargetLanguage): void;
61
+ export declare function writeGeneratedFile(fileName: string, directory: string | undefined, content: string[], language?: string | TargetLanguage): void;
62
62
  /**
63
63
  * Reads or fetches a CustomResourceDefinition from a file, URL, or the cluster.
64
64
  *
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../src/generate.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,SAAS,EAET,cAAc,EACd,SAAS,EACV,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAqBvD;AACD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,M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,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB,EAAE,CACJ,CAyCA;AAED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAYvF;AAED;;;;;;GAMG;AACH,wBAAsB,aAAa,CACjC,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,eAAe,GACpB,OAAO,CAAC,MAAM,EAAE,CAAC,CAoBnB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,SAAS,oBAAK,EACd,OAAO,EAAE,MAAM,EAAE,EACjB,QAAQ,GAAE,MAAM,GAAG,cAAqB,GACvC,IAAI,CAON;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,wBAAwB,EAAE,CAAC,CA4B/F;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAMtD;AAED;;;;;GAKG;AACH,wBAAsB,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAC5D;IACE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,wBAAwB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB,EAAE,CACJ,CA8BA"}
package/dist/generate.js CHANGED
@@ -7,6 +7,7 @@ import { FetchingJSONSchemaStore, InputData, JSONSchemaInput, quicktype, } from
7
7
  import { fetch } from "./fetch.js";
8
8
  import { K8s } from "./fluent/index.js";
9
9
  import { CustomResourceDefinition } from "./upstream.js";
10
+ import { CompatibleTypeScriptTargetLanguage } from "./quicktype-compatibility.js";
10
11
  /**
11
12
  * Recursively fixes _enum properties to enum for quicktype compatibility.
12
13
  * The Kubernetes client library converts 'enum' to '_enum' to avoid JS reserved keywords,
@@ -59,13 +60,12 @@ export async function convertCRDtoTS(crd, opts) {
59
60
  continue;
60
61
  }
61
62
  // Fix _enum properties to enum for quicktype compatibility
62
- const fixedSchema = fixEnumProperties(match.schema.openAPIV3Schema);
63
- const schema = JSON.stringify(fixedSchema);
63
+ const schema = JSON.stringify(fixEnumProperties(match.schema.openAPIV3Schema));
64
64
  opts.logFn(`- Generating ${crd.spec.group}/${match.name} types for ${name}`);
65
65
  const inputData = await prepareInputData(name, schema);
66
66
  const generatedTypes = await generateTypes(inputData, opts);
67
67
  const fileName = `${originalKind.toLowerCase()}-${match.name.toLowerCase()}`;
68
- writeGeneratedFile(fileName, opts.directory || "", generatedTypes, opts.language || "ts");
68
+ writeGeneratedFile(fileName, opts.directory, generatedTypes, opts.language);
69
69
  results[fileName] = generatedTypes;
70
70
  output.push({ results, name, crd, version: match.name });
71
71
  }
@@ -99,8 +99,18 @@ export async function generateTypes(inputData, opts) {
99
99
  // Generate the types
100
100
  const out = await quicktype({
101
101
  inputData,
102
- lang: opts.language,
103
- rendererOptions: { "just-types": "true" },
102
+ lang: opts.language === undefined ||
103
+ opts.language === "ts" ||
104
+ opts.language === "typescript" ||
105
+ opts.language === "tsx"
106
+ ? new CompatibleTypeScriptTargetLanguage()
107
+ : opts.language,
108
+ rendererOptions: {
109
+ "just-types": "true",
110
+ // Preserve the generated API while adopting quicktype 26.
111
+ "prefer-unions": false,
112
+ "prefer-unknown": false,
113
+ },
104
114
  });
105
115
  return out.lines;
106
116
  }
@@ -112,7 +122,7 @@ export async function generateTypes(inputData, opts) {
112
122
  * @param content - The content to write to the file.
113
123
  * @param language - The programming language of the file.
114
124
  */
115
- export function writeGeneratedFile(fileName, directory, content, language) {
125
+ export function writeGeneratedFile(fileName, directory = "", content, language = "ts") {
116
126
  language = language || "ts";
117
127
  if (!directory)
118
128
  return;
@@ -0,0 +1,5 @@
1
+ import { TypeScriptRenderer, TypeScriptTargetLanguage, type LanguageName, type RenderContext, type RendererOptions } from "quicktype-core";
2
+ export declare class CompatibleTypeScriptTargetLanguage extends TypeScriptTargetLanguage {
3
+ protected makeRenderer<Lang extends LanguageName = "typescript">(renderContext: RenderContext, untypedOptionValues: RendererOptions<Lang>): TypeScriptRenderer;
4
+ }
5
+ //# sourceMappingURL=quicktype-compatibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quicktype-compatibility.d.ts","sourceRoot":"","sources":["../src/quicktype-compatibility.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,kBAAkB,EAClB,wBAAwB,EAKxB,KAAK,YAAY,EAEjB,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AAiBxB,qBAAa,kCAAmC,SAAQ,wBAAwB;cAC3D,YAAY,CAAC,IAAI,SAAS,YAAY,GAAG,YAAY,EACtE,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,eAAe,CAAC,IAAI,CAAC,GACzC,kBAAkB;CAOtB"}
@@ -0,0 +1,20 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ // SPDX-FileCopyrightText: 2026-Present The Kubernetes Fluent Client Authors
3
+ import { ArrayType, UnionType, TypeScriptRenderer, TypeScriptTargetLanguage, getOptionValues, parenIfNeeded, singleWord, tsFlowOptions, } from "quicktype-core";
4
+ class CompatibleTypeScriptRenderer extends TypeScriptRenderer {
5
+ // Retain quicktype 25 array syntax, including for schemas with minItems.
6
+ // Modern generated types are tracked in https://github.com/defenseunicorns/kubernetes-fluent-client/issues/1335.
7
+ sourceForArrayType(arrayType) {
8
+ const itemType = this.sourceFor(arrayType.items);
9
+ if ((arrayType.items instanceof UnionType && !this._tsFlowOptions.declareUnions) ||
10
+ arrayType.items instanceof ArrayType) {
11
+ return singleWord(["Array<", itemType.source, ">"]);
12
+ }
13
+ return singleWord([parenIfNeeded(itemType), "[]"]);
14
+ }
15
+ }
16
+ export class CompatibleTypeScriptTargetLanguage extends TypeScriptTargetLanguage {
17
+ makeRenderer(renderContext, untypedOptionValues) {
18
+ return new CompatibleTypeScriptRenderer(this, renderContext, getOptionValues(tsFlowOptions, untypedOptionValues));
19
+ }
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubernetes-fluent-client",
3
- "version": "3.12.5",
3
+ "version": "3.12.7",
4
4
  "description": "A @kubernetes/client-node fluent API wrapper that leverages K8s Server Side Apply.",
5
5
  "bin": "./dist/cli.js",
6
6
  "main": "dist/index.js",
@@ -77,7 +77,10 @@
77
77
  "prebuild": "rm -rf dist",
78
78
  "build": "tsc && npm pack",
79
79
  "set-version": "node ./scripts/set-version.cjs",
80
- "test": "vitest run src --coverage --coverage.exclude='dist/**'",
80
+ "test": "npm run test:unit && npm run test:conformance",
81
+ "test:unit": "vitest run src --exclude=src/test/package-conformance.test.ts --exclude=src/test/architecture-conformance.test.ts --exclude=src/generate-compatibility.test.ts --exclude=src/test/vitest-compatibility.test.ts --coverage --coverage.exclude='dist/**' --coverage.reportsDirectory=coverage/unit",
82
+ "test:conformance": "vitest run src/test/package-conformance.test.ts src/test/architecture-conformance.test.ts src/generate-compatibility.test.ts src/test/vitest-compatibility.test.ts --no-file-parallelism --coverage --coverage.exclude='dist/**' --coverage.reportsDirectory=coverage/conformance",
83
+ "test:vitest-compat": "npm run build && vitest run src/test/vitest-compatibility.test.ts",
81
84
  "test:e2e": "vitest run e2e/",
82
85
  "test:e2e:prep-crds": "kubectl apply -f test/ && npx tsx src/cli.ts crd ./test/datastore.crd.yaml e2e && npx tsx src/cli.ts crd https://raw.githubusercontent.com/defenseunicorns/kubernetes-fluent-client/refs/heads/main/test/webapp.crd.yaml e2e && npx tsx src/cli.ts crd https://raw.githubusercontent.com/defenseunicorns/kubernetes-fluent-client/refs/heads/main/test/webapp.crd.yaml -l json-schema e2e/schemas/webapp",
83
86
  "test:e2e:prep-cluster": "k3d cluster create kfc-dev --k3s-arg '--debug@server:0' --wait && kubectl rollout status deployment -n kube-system",
@@ -92,39 +95,39 @@
92
95
  "dependencies": {
93
96
  "@kubernetes/client-node": "1.4.0",
94
97
  "http-status-codes": "2.3.0",
95
- "js-yaml": "5.4.2",
98
+ "js-yaml": "5.5.0",
96
99
  "node-fetch": "2.7.0",
97
- "quicktype-core": "25.0.0",
100
+ "quicktype-core": "26.0.0",
98
101
  "tsx": "4.23.15",
99
- "undici": "8.10.2",
102
+ "undici": "8.12.4",
100
103
  "yargs": "18.2.0"
101
104
  },
102
105
  "devDependencies": {
103
- "@commitlint/cli": "21.2.2",
104
- "@commitlint/config-conventional": "21.2.2",
106
+ "@commitlint/cli": "21.2.4",
107
+ "@commitlint/config-conventional": "21.2.4",
105
108
  "@defenseunicorns/eslint-config": "1.2.0",
106
109
  "@eslint/eslintrc": "3.3.7",
107
110
  "@eslint/js": "10.0.1",
108
111
  "@types/command-line-args": "5.2.3",
109
- "@types/readable-stream": "4.0.24",
112
+ "@types/readable-stream": "4.0.25",
110
113
  "@types/urijs": "1.19.26",
111
- "@types/ws": "8.18.1",
114
+ "@types/ws": "8.18.2",
112
115
  "@types/yargs": "17.0.35",
113
- "@typescript-eslint/eslint-plugin": "8.70.0",
114
- "@typescript-eslint/parser": "8.70.0",
115
- "@vitest/coverage-v8": "4.1.11",
116
+ "@typescript-eslint/eslint-plugin": "8.72.2",
117
+ "@typescript-eslint/parser": "8.72.2",
118
+ "@vitest/coverage-v8": "5.1.0",
116
119
  "command-line-args": "6.0.2",
117
- "eslint": "10.10.0",
118
- "eslint-plugin-jsdoc": "64.5.2",
119
- "globals": "17.12.0",
120
+ "eslint": "10.14.0",
121
+ "eslint-plugin-jsdoc": "65.4.5",
122
+ "globals": "17.14.0",
120
123
  "husky": "9.1.7",
121
- "lint-staged": "17.5.1",
122
- "prettier": "3.9.8",
124
+ "lint-staged": "17.6.0",
125
+ "prettier": "3.10.0",
123
126
  "typescript": "6.0.3",
124
- "vitest": "4.1.11"
127
+ "vitest": "5.1.0"
125
128
  },
126
129
  "peerDependencies": {
127
- "vitest": "^4.1.10"
130
+ "vitest": "^4.1.10 || ^5.0.4"
128
131
  },
129
132
  "peerDependenciesMeta": {
130
133
  "vitest": {
package/src/generate.ts CHANGED
@@ -16,6 +16,7 @@ import { fetch } from "./fetch.js";
16
16
  import { K8s } from "./fluent/index.js";
17
17
  import { CustomResourceDefinition } from "./upstream.js";
18
18
  import { LogFn } from "./types.js";
19
+ import { CompatibleTypeScriptTargetLanguage } from "./quicktype-compatibility.js";
19
20
 
20
21
  /**
21
22
  * Recursively fixes _enum properties to enum for quicktype compatibility.
@@ -103,15 +104,14 @@ export async function convertCRDtoTS(
103
104
  }
104
105
 
105
106
  // Fix _enum properties to enum for quicktype compatibility
106
- const fixedSchema = fixEnumProperties(match.schema.openAPIV3Schema);
107
- const schema = JSON.stringify(fixedSchema);
107
+ const schema = JSON.stringify(fixEnumProperties(match.schema.openAPIV3Schema));
108
108
  opts.logFn(`- Generating ${crd.spec.group}/${match.name} types for ${name}`);
109
109
 
110
110
  const inputData = await prepareInputData(name, schema);
111
111
  const generatedTypes = await generateTypes(inputData, opts);
112
112
 
113
113
  const fileName = `${originalKind.toLowerCase()}-${match.name.toLowerCase()}`;
114
- writeGeneratedFile(fileName, opts.directory || "", generatedTypes, opts.language || "ts");
114
+ writeGeneratedFile(fileName, opts.directory, generatedTypes, opts.language);
115
115
 
116
116
  results[fileName] = generatedTypes;
117
117
  output.push({ results, name, crd, version: match.name });
@@ -155,8 +155,19 @@ export async function generateTypes(
155
155
  // Generate the types
156
156
  const out = await quicktype({
157
157
  inputData,
158
- lang: opts.language,
159
- rendererOptions: { "just-types": "true" },
158
+ lang:
159
+ opts.language === undefined ||
160
+ opts.language === "ts" ||
161
+ opts.language === "typescript" ||
162
+ opts.language === "tsx"
163
+ ? new CompatibleTypeScriptTargetLanguage()
164
+ : opts.language,
165
+ rendererOptions: {
166
+ "just-types": "true",
167
+ // Preserve the generated API while adopting quicktype 26.
168
+ "prefer-unions": false,
169
+ "prefer-unknown": false,
170
+ },
160
171
  });
161
172
 
162
173
  return out.lines;
@@ -172,9 +183,9 @@ export async function generateTypes(
172
183
  */
173
184
  export function writeGeneratedFile(
174
185
  fileName: string,
175
- directory: string,
186
+ directory = "",
176
187
  content: string[],
177
- language: string | TargetLanguage,
188
+ language: string | TargetLanguage = "ts",
178
189
  ): void {
179
190
  language = language || "ts";
180
191
  if (!directory) return;
@@ -0,0 +1,45 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ // SPDX-FileCopyrightText: 2026-Present The Kubernetes Fluent Client Authors
3
+
4
+ import {
5
+ ArrayType,
6
+ UnionType,
7
+ TypeScriptRenderer,
8
+ TypeScriptTargetLanguage,
9
+ getOptionValues,
10
+ parenIfNeeded,
11
+ singleWord,
12
+ tsFlowOptions,
13
+ type LanguageName,
14
+ type MultiWord,
15
+ type RenderContext,
16
+ type RendererOptions,
17
+ } from "quicktype-core";
18
+
19
+ class CompatibleTypeScriptRenderer extends TypeScriptRenderer {
20
+ // Retain quicktype 25 array syntax, including for schemas with minItems.
21
+ // Modern generated types are tracked in https://github.com/defenseunicorns/kubernetes-fluent-client/issues/1335.
22
+ protected override sourceForArrayType(arrayType: ArrayType): MultiWord {
23
+ const itemType = this.sourceFor(arrayType.items);
24
+ if (
25
+ (arrayType.items instanceof UnionType && !this._tsFlowOptions.declareUnions) ||
26
+ arrayType.items instanceof ArrayType
27
+ ) {
28
+ return singleWord(["Array<", itemType.source, ">"]);
29
+ }
30
+ return singleWord([parenIfNeeded(itemType), "[]"]);
31
+ }
32
+ }
33
+
34
+ export class CompatibleTypeScriptTargetLanguage extends TypeScriptTargetLanguage {
35
+ protected override makeRenderer<Lang extends LanguageName = "typescript">(
36
+ renderContext: RenderContext,
37
+ untypedOptionValues: RendererOptions<Lang>,
38
+ ): TypeScriptRenderer {
39
+ return new CompatibleTypeScriptRenderer(
40
+ this,
41
+ renderContext,
42
+ getOptionValues(tsFlowOptions, untypedOptionValues),
43
+ );
44
+ }
45
+ }