@shepherdjerred/helm-types 1.6.0-dev.9990 → 1.7.0-dev.12041
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/cli.js +1019 -1019
- package/package.json +8 -6
- package/src/chart-info-parser.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shepherdjerred/helm-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-dev.12041",
|
|
4
4
|
"description": "Generate TypeScript types from Helm chart values.yaml and values.schema.json",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "bun build src/index.ts src/cli.ts --outdir dist --target node",
|
|
25
|
-
"test": "bun
|
|
26
|
-
"test:helm-types": "bun
|
|
27
|
-
"test:cli": "bun
|
|
25
|
+
"test": "bun --no-install --bun vitest --config ../../../../vitest.config.ts run",
|
|
26
|
+
"test:helm-types": "bun --no-install --bun vitest --config ../../../../vitest.config.ts run src/helm-types.test.ts",
|
|
27
|
+
"test:cli": "bun --no-install --bun vitest --config ../../../../vitest.config.ts run src/cli.test.ts",
|
|
28
28
|
"lint": "bunx eslint .",
|
|
29
29
|
"lint:fix": "bunx eslint . --fix",
|
|
30
30
|
"typecheck": "PATH=node_modules/@typescript/native/bin:$PATH tsc --noEmit",
|
|
@@ -65,9 +65,11 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@shepherdjerred/eslint-config": "0.3.0",
|
|
68
|
-
"@types/bun": "
|
|
68
|
+
"@types/bun": "1.4.0",
|
|
69
69
|
"eslint": "^10.3.0",
|
|
70
70
|
"jiti": "^2.7.0",
|
|
71
|
-
"@typescript/native": "npm:typescript@7.0.2"
|
|
71
|
+
"@typescript/native": "npm:typescript@7.0.2",
|
|
72
|
+
"vitest": "4.1.10",
|
|
73
|
+
"@vitest/coverage-istanbul": "4.1.10"
|
|
72
74
|
}
|
|
73
75
|
}
|
package/src/chart-info-parser.ts
CHANGED
|
@@ -16,10 +16,10 @@ export async function parseChartInfoFromVersions(
|
|
|
16
16
|
|
|
17
17
|
// Look for renovate comments that indicate Helm charts
|
|
18
18
|
if (
|
|
19
|
-
nextLine === "" ||
|
|
20
19
|
line == null ||
|
|
21
|
-
|
|
22
|
-
nextLine
|
|
20
|
+
nextLine == null ||
|
|
21
|
+
nextLine === "" ||
|
|
22
|
+
!line.includes("renovate: datasource=helm")
|
|
23
23
|
) {
|
|
24
24
|
continue;
|
|
25
25
|
}
|