pepr 1.3.0-nightly.9 → 2.0.0
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/init/templates.d.ts +11 -1
- package/dist/cli/init/templates.d.ts.map +1 -1
- package/dist/cli.js +89 -54
- package/dist/controller.js +16 -12
- package/dist/lib/assets/assets.d.ts.map +1 -1
- package/dist/lib/helpers.d.ts.map +1 -1
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +2 -2
- package/package.json +16 -12
- package/src/cli/build/index.ts +2 -2
- package/src/cli/init/templates.ts +12 -0
- package/src/cli/init/utils.ts +1 -1
- package/src/lib/assets/assets.ts +2 -1
- package/src/lib/controller/migrateStore.ts +1 -1
- package/src/lib/helpers.ts +1 -2
- package/src/runtime/controller.ts +1 -1
|
@@ -22,10 +22,13 @@ export declare const dependencies: {
|
|
|
22
22
|
}, devDependencies: {
|
|
23
23
|
"@commitlint/cli": string;
|
|
24
24
|
"@commitlint/config-conventional": string;
|
|
25
|
+
"@eslint/eslintrc": string;
|
|
26
|
+
"@eslint/js": string;
|
|
25
27
|
"@types/command-line-args": string;
|
|
26
28
|
"@types/express": string;
|
|
27
29
|
"@types/json-pointer": string;
|
|
28
30
|
"@types/json-schema": string;
|
|
31
|
+
"@types/ms": string;
|
|
29
32
|
"@types/node": string;
|
|
30
33
|
"@types/node-forge": string;
|
|
31
34
|
"@types/readable-stream": string;
|
|
@@ -34,8 +37,9 @@ export declare const dependencies: {
|
|
|
34
37
|
"@vitest/coverage-v8": string;
|
|
35
38
|
"fast-check": string;
|
|
36
39
|
husky: string;
|
|
37
|
-
prettier: string;
|
|
38
40
|
"js-yaml": string;
|
|
41
|
+
ms: string;
|
|
42
|
+
prettier: string;
|
|
39
43
|
selfsigned: string;
|
|
40
44
|
shellcheck: string;
|
|
41
45
|
tsx: string;
|
|
@@ -117,7 +121,13 @@ export type peprPackageJSON = {
|
|
|
117
121
|
undici: string;
|
|
118
122
|
};
|
|
119
123
|
devDependencies: {
|
|
124
|
+
"@eslint/eslintrc": string;
|
|
125
|
+
"@eslint/js": string;
|
|
126
|
+
"@typescript-eslint/eslint-plugin": string;
|
|
127
|
+
"@typescript-eslint/parser": string;
|
|
120
128
|
"@types/node": string;
|
|
129
|
+
eslint: string;
|
|
130
|
+
globals: string;
|
|
121
131
|
typescript: string;
|
|
122
132
|
};
|
|
123
133
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/cli/init/templates.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrE,eAAO,MAAQ,YAAY;;;;;;;;;;;;;;;;;GAAE,eAAe
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/cli/init/templates.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrE,eAAO,MAAQ,YAAY;;;;;;;;;;;;;;;;;GAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,gBAAgB;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO,QAAgB,CAAC;AAEjG,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,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,IAAI,EAAE,WAAW,GAAG,eAAe,CAmE7D;AAED,eAAO,MAAM,cAAc;;;CAG1B,CAAC;AAEF,eAAO,MAAM,MAAM;;;CAGlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CAGnB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;CAGxB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;CAGpB,CAAC;AAEF,eAAO,MAAM,MAAM;;;CAgBlB,CAAC"}
|
package/dist/cli.js
CHANGED
|
@@ -630,6 +630,8 @@ var require_Alias = __commonJS({
|
|
|
630
630
|
* instance of the `source` anchor before this node.
|
|
631
631
|
*/
|
|
632
632
|
resolve(doc, ctx) {
|
|
633
|
+
if (ctx?.maxAliasCount === 0)
|
|
634
|
+
throw new ReferenceError("Alias resolution is disabled");
|
|
633
635
|
let nodes;
|
|
634
636
|
if (ctx?.aliasResolveCache) {
|
|
635
637
|
nodes = ctx.aliasResolveCache;
|
|
@@ -1702,18 +1704,18 @@ var require_merge = __commonJS({
|
|
|
1702
1704
|
};
|
|
1703
1705
|
var isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
|
|
1704
1706
|
function addMergeToJSMap(ctx, map, value) {
|
|
1705
|
-
|
|
1706
|
-
if (identity.isSeq(
|
|
1707
|
-
for (const it of
|
|
1707
|
+
const source = resolveAliasValue(ctx, value);
|
|
1708
|
+
if (identity.isSeq(source))
|
|
1709
|
+
for (const it of source.items)
|
|
1708
1710
|
mergeValue(ctx, map, it);
|
|
1709
|
-
else if (Array.isArray(
|
|
1710
|
-
for (const it of
|
|
1711
|
+
else if (Array.isArray(source))
|
|
1712
|
+
for (const it of source)
|
|
1711
1713
|
mergeValue(ctx, map, it);
|
|
1712
1714
|
else
|
|
1713
|
-
mergeValue(ctx, map,
|
|
1715
|
+
mergeValue(ctx, map, source);
|
|
1714
1716
|
}
|
|
1715
1717
|
function mergeValue(ctx, map, value) {
|
|
1716
|
-
const source = ctx
|
|
1718
|
+
const source = resolveAliasValue(ctx, value);
|
|
1717
1719
|
if (!identity.isMap(source))
|
|
1718
1720
|
throw new Error("Merge sources must be maps or map aliases");
|
|
1719
1721
|
const srcMap = source.toJSON(null, ctx, Map);
|
|
@@ -1734,6 +1736,9 @@ var require_merge = __commonJS({
|
|
|
1734
1736
|
}
|
|
1735
1737
|
return map;
|
|
1736
1738
|
}
|
|
1739
|
+
function resolveAliasValue(ctx, value) {
|
|
1740
|
+
return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
|
1741
|
+
}
|
|
1737
1742
|
exports2.addMergeToJSMap = addMergeToJSMap;
|
|
1738
1743
|
exports2.isMergeKey = isMergeKey;
|
|
1739
1744
|
exports2.merge = merge;
|
|
@@ -2371,7 +2376,7 @@ var require_stringifyNumber = __commonJS({
|
|
|
2371
2376
|
if (!isFinite(num))
|
|
2372
2377
|
return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
|
|
2373
2378
|
let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
|
|
2374
|
-
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") &&
|
|
2379
|
+
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
|
|
2375
2380
|
let i = n.indexOf(".");
|
|
2376
2381
|
if (i < 0) {
|
|
2377
2382
|
i = n.length;
|
|
@@ -4743,7 +4748,7 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
4743
4748
|
while (next === " " || next === " ")
|
|
4744
4749
|
next = source[++i + 1];
|
|
4745
4750
|
} else if (next === "x" || next === "u" || next === "U") {
|
|
4746
|
-
const length =
|
|
4751
|
+
const length = next === "x" ? 2 : next === "u" ? 4 : 8;
|
|
4747
4752
|
res += parseCharCode(source, i + 1, length, onError);
|
|
4748
4753
|
i += length;
|
|
4749
4754
|
} else {
|
|
@@ -4818,12 +4823,13 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
4818
4823
|
const cc = source.substr(offset, length);
|
|
4819
4824
|
const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
|
|
4820
4825
|
const code = ok ? parseInt(cc, 16) : NaN;
|
|
4821
|
-
|
|
4826
|
+
try {
|
|
4827
|
+
return String.fromCodePoint(code);
|
|
4828
|
+
} catch {
|
|
4822
4829
|
const raw = source.substr(offset - 2, length + 2);
|
|
4823
4830
|
onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
|
|
4824
4831
|
return raw;
|
|
4825
4832
|
}
|
|
4826
|
-
return String.fromCodePoint(code);
|
|
4827
4833
|
}
|
|
4828
4834
|
exports2.resolveFlowScalar = resolveFlowScalar;
|
|
4829
4835
|
}
|
|
@@ -5173,8 +5179,10 @@ ${cb}` : comment;
|
|
|
5173
5179
|
}
|
|
5174
5180
|
}
|
|
5175
5181
|
if (afterDoc) {
|
|
5176
|
-
|
|
5177
|
-
|
|
5182
|
+
for (let i = 0; i < this.errors.length; ++i)
|
|
5183
|
+
doc.errors.push(this.errors[i]);
|
|
5184
|
+
for (let i = 0; i < this.warnings.length; ++i)
|
|
5185
|
+
doc.warnings.push(this.warnings[i]);
|
|
5178
5186
|
} else {
|
|
5179
5187
|
doc.errors = this.errors;
|
|
5180
5188
|
doc.warnings = this.warnings;
|
|
@@ -5907,7 +5915,7 @@ var require_lexer = __commonJS({
|
|
|
5907
5915
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
5908
5916
|
this.indentNext = this.indentValue + 1;
|
|
5909
5917
|
this.indentValue += n;
|
|
5910
|
-
return
|
|
5918
|
+
return "block-start";
|
|
5911
5919
|
}
|
|
5912
5920
|
return "doc";
|
|
5913
5921
|
}
|
|
@@ -6206,28 +6214,38 @@ var require_lexer = __commonJS({
|
|
|
6206
6214
|
return 0;
|
|
6207
6215
|
}
|
|
6208
6216
|
*pushIndicators() {
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6217
|
+
let n = 0;
|
|
6218
|
+
loop: while (true) {
|
|
6219
|
+
switch (this.charAt(0)) {
|
|
6220
|
+
case "!":
|
|
6221
|
+
n += yield* this.pushTag();
|
|
6222
|
+
n += yield* this.pushSpaces(true);
|
|
6223
|
+
continue loop;
|
|
6224
|
+
case "&":
|
|
6225
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
6226
|
+
n += yield* this.pushSpaces(true);
|
|
6227
|
+
continue loop;
|
|
6228
|
+
case "-":
|
|
6229
|
+
// this is an error
|
|
6230
|
+
case "?":
|
|
6231
|
+
// this is an error outside flow collections
|
|
6232
|
+
case ":": {
|
|
6233
|
+
const inFlow = this.flowLevel > 0;
|
|
6234
|
+
const ch1 = this.charAt(1);
|
|
6235
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
6236
|
+
if (!inFlow)
|
|
6237
|
+
this.indentNext = this.indentValue + 1;
|
|
6238
|
+
else if (this.flowKey)
|
|
6239
|
+
this.flowKey = false;
|
|
6240
|
+
n += yield* this.pushCount(1);
|
|
6241
|
+
n += yield* this.pushSpaces(true);
|
|
6242
|
+
continue loop;
|
|
6243
|
+
}
|
|
6227
6244
|
}
|
|
6228
6245
|
}
|
|
6246
|
+
break loop;
|
|
6229
6247
|
}
|
|
6230
|
-
return
|
|
6248
|
+
return n;
|
|
6231
6249
|
}
|
|
6232
6250
|
*pushTag() {
|
|
6233
6251
|
if (this.charAt(1) === "<") {
|
|
@@ -6386,6 +6404,13 @@ var require_parser = __commonJS({
|
|
|
6386
6404
|
}
|
|
6387
6405
|
return prev.splice(i, prev.length);
|
|
6388
6406
|
}
|
|
6407
|
+
function arrayPushArray(target, source) {
|
|
6408
|
+
if (source.length < 1e5)
|
|
6409
|
+
Array.prototype.push.apply(target, source);
|
|
6410
|
+
else
|
|
6411
|
+
for (let i = 0; i < source.length; ++i)
|
|
6412
|
+
target.push(source[i]);
|
|
6413
|
+
}
|
|
6389
6414
|
function fixFlowSeqItems(fc) {
|
|
6390
6415
|
if (fc.start.type === "flow-seq-start") {
|
|
6391
6416
|
for (const it of fc.items) {
|
|
@@ -6395,11 +6420,11 @@ var require_parser = __commonJS({
|
|
|
6395
6420
|
delete it.key;
|
|
6396
6421
|
if (isFlowToken(it.value)) {
|
|
6397
6422
|
if (it.value.end)
|
|
6398
|
-
|
|
6423
|
+
arrayPushArray(it.value.end, it.sep);
|
|
6399
6424
|
else
|
|
6400
6425
|
it.value.end = it.sep;
|
|
6401
6426
|
} else
|
|
6402
|
-
|
|
6427
|
+
arrayPushArray(it.start, it.sep);
|
|
6403
6428
|
delete it.sep;
|
|
6404
6429
|
}
|
|
6405
6430
|
}
|
|
@@ -6754,7 +6779,7 @@ var require_parser = __commonJS({
|
|
|
6754
6779
|
const prev = map.items[map.items.length - 2];
|
|
6755
6780
|
const end = prev?.value?.end;
|
|
6756
6781
|
if (Array.isArray(end)) {
|
|
6757
|
-
|
|
6782
|
+
arrayPushArray(end, it.start);
|
|
6758
6783
|
end.push(this.sourceToken);
|
|
6759
6784
|
map.items.pop();
|
|
6760
6785
|
return;
|
|
@@ -6942,7 +6967,7 @@ var require_parser = __commonJS({
|
|
|
6942
6967
|
const prev = seq.items[seq.items.length - 2];
|
|
6943
6968
|
const end = prev?.value?.end;
|
|
6944
6969
|
if (Array.isArray(end)) {
|
|
6945
|
-
|
|
6970
|
+
arrayPushArray(end, it.start);
|
|
6946
6971
|
end.push(this.sourceToken);
|
|
6947
6972
|
seq.items.pop();
|
|
6948
6973
|
return;
|
|
@@ -7926,8 +7951,7 @@ function namespaceComplianceValidator(capability, ignoredNamespaces, watch) {
|
|
|
7926
7951
|
var matchRegexToCapababilityNamespace = (bindingRegexNamespaces, capabilityNamespaces) => {
|
|
7927
7952
|
if (bindingRegexNamespaces.length > 0 && capabilityNamespaces && capabilityNamespaces.length > 0) {
|
|
7928
7953
|
for (const regexNamespace of bindingRegexNamespaces) {
|
|
7929
|
-
|
|
7930
|
-
matches = regexNamespace !== "" && capabilityNamespaces.some(
|
|
7954
|
+
const matches = regexNamespace !== "" && capabilityNamespaces.some(
|
|
7931
7955
|
(capabilityNamespace) => matchesRegex(regexNamespace, capabilityNamespace)
|
|
7932
7956
|
);
|
|
7933
7957
|
if (!matches) {
|
|
@@ -8643,7 +8667,8 @@ var Assets = class {
|
|
|
8643
8667
|
);
|
|
8644
8668
|
}
|
|
8645
8669
|
} catch (err) {
|
|
8646
|
-
|
|
8670
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
8671
|
+
throw new Error(`Error generating helm chart: ${message}`, { cause: err });
|
|
8647
8672
|
}
|
|
8648
8673
|
};
|
|
8649
8674
|
};
|
|
@@ -9646,7 +9671,7 @@ var packageJSON = {
|
|
|
9646
9671
|
"!src/fixtures/**",
|
|
9647
9672
|
"!dist/**/*.test.d.ts*"
|
|
9648
9673
|
],
|
|
9649
|
-
version: "
|
|
9674
|
+
version: "2.0.0",
|
|
9650
9675
|
main: "dist/lib.js",
|
|
9651
9676
|
types: "dist/lib.d.ts",
|
|
9652
9677
|
scripts: {
|
|
@@ -9680,29 +9705,32 @@ var packageJSON = {
|
|
|
9680
9705
|
},
|
|
9681
9706
|
dependencies: {
|
|
9682
9707
|
"@types/ramda": "0.32.0",
|
|
9683
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
9684
|
-
"@typescript-eslint/parser": "8.
|
|
9708
|
+
"@typescript-eslint/eslint-plugin": "8.66.0",
|
|
9709
|
+
"@typescript-eslint/parser": "8.66.0",
|
|
9685
9710
|
commander: "15.0.0",
|
|
9686
|
-
eslint: "
|
|
9711
|
+
eslint: "^10.8.0",
|
|
9687
9712
|
express: "5.2.1",
|
|
9688
9713
|
"fast-json-patch": "3.1.1",
|
|
9689
|
-
globals: "17.
|
|
9714
|
+
globals: "17.9.0",
|
|
9690
9715
|
"http-status-codes": "^2.3.0",
|
|
9691
9716
|
"json-pointer": "^0.6.2",
|
|
9692
|
-
"kubernetes-fluent-client": "3.11.
|
|
9717
|
+
"kubernetes-fluent-client": "3.11.11",
|
|
9693
9718
|
pino: "10.3.1",
|
|
9694
9719
|
"pino-pretty": "13.1.3",
|
|
9695
9720
|
"prom-client": "15.1.3",
|
|
9696
|
-
"quicktype-core": "^
|
|
9721
|
+
"quicktype-core": "^26.0.0",
|
|
9697
9722
|
ramda: "0.32.0"
|
|
9698
9723
|
},
|
|
9699
9724
|
devDependencies: {
|
|
9700
9725
|
"@commitlint/cli": "21.2.1",
|
|
9701
9726
|
"@commitlint/config-conventional": "21.2.0",
|
|
9727
|
+
"@eslint/eslintrc": "^3.3.6",
|
|
9728
|
+
"@eslint/js": "^10.0.1",
|
|
9702
9729
|
"@types/command-line-args": "^5.2.3",
|
|
9703
9730
|
"@types/express": "5.0.6",
|
|
9704
9731
|
"@types/json-pointer": "^1.0.34",
|
|
9705
9732
|
"@types/json-schema": "^7.0.15",
|
|
9733
|
+
"@types/ms": "^2.1.0",
|
|
9706
9734
|
"@types/node": "^24.13.3",
|
|
9707
9735
|
"@types/node-forge": "1.3.14",
|
|
9708
9736
|
"@types/readable-stream": "^4.0.21",
|
|
@@ -9711,19 +9739,20 @@ var packageJSON = {
|
|
|
9711
9739
|
"@vitest/coverage-v8": "^4.0.4",
|
|
9712
9740
|
"fast-check": "^4.0.0",
|
|
9713
9741
|
husky: "^9.1.6",
|
|
9714
|
-
prettier: "^3.6.2",
|
|
9715
9742
|
"js-yaml": "^5.2.1",
|
|
9743
|
+
ms: "^2.1.3",
|
|
9744
|
+
prettier: "^3.6.2",
|
|
9716
9745
|
selfsigned: "^5.5.0",
|
|
9717
9746
|
shellcheck: "^4.1.0",
|
|
9718
9747
|
tsx: "^4.20.3",
|
|
9719
|
-
undici: "8.
|
|
9748
|
+
undici: "8.10.0",
|
|
9720
9749
|
vitest: "^4.0.4"
|
|
9721
9750
|
},
|
|
9722
9751
|
overrides: {
|
|
9723
9752
|
"brace-expansion": "^5.0.9",
|
|
9724
|
-
"ip-address": "^10.
|
|
9753
|
+
"ip-address": "^10.5.0",
|
|
9725
9754
|
tar: "^7.5.16",
|
|
9726
|
-
"fast-uri": "^3.1.
|
|
9755
|
+
"fast-uri": "^3.1.5"
|
|
9727
9756
|
},
|
|
9728
9757
|
peerDependencies: {
|
|
9729
9758
|
"@types/prompts": "^2.4.9",
|
|
@@ -9753,7 +9782,7 @@ async function createDir(dir) {
|
|
|
9753
9782
|
await import_fs7.promises.mkdir(dir);
|
|
9754
9783
|
} catch (err) {
|
|
9755
9784
|
if (err && err.code === "EEXIST") {
|
|
9756
|
-
throw new Error(`Directory ${dir} already exists
|
|
9785
|
+
throw new Error(`Directory ${dir} already exists`, { cause: err });
|
|
9757
9786
|
} else {
|
|
9758
9787
|
throw err;
|
|
9759
9788
|
}
|
|
@@ -9813,7 +9842,13 @@ function genPkgJSON(opts) {
|
|
|
9813
9842
|
undici: "^7.0.1"
|
|
9814
9843
|
},
|
|
9815
9844
|
devDependencies: {
|
|
9845
|
+
"@eslint/eslintrc": devDependencies["@eslint/eslintrc"],
|
|
9846
|
+
"@eslint/js": devDependencies["@eslint/js"],
|
|
9847
|
+
"@typescript-eslint/eslint-plugin": dependencies["@typescript-eslint/eslint-plugin"],
|
|
9848
|
+
"@typescript-eslint/parser": dependencies["@typescript-eslint/parser"],
|
|
9816
9849
|
"@types/node": devDependencies["@types/node"],
|
|
9850
|
+
eslint: dependencies.eslint,
|
|
9851
|
+
globals: dependencies.globals,
|
|
9817
9852
|
typescript
|
|
9818
9853
|
},
|
|
9819
9854
|
overrides: {
|
|
@@ -10072,8 +10107,8 @@ function build_default(program2) {
|
|
|
10072
10107
|
])
|
|
10073
10108
|
).addOption(
|
|
10074
10109
|
new import_commander.Option(
|
|
10075
|
-
"-I, --registry-info <registry/
|
|
10076
|
-
"Provide the image registry and
|
|
10110
|
+
"-I, --registry-info <registry[/namespace]>",
|
|
10111
|
+
"Provide the image registry (and optional namespace) for building and pushing a custom WASM container. Requires authentication. Conflicts with --custom-image and --registry. Builds and pushes `'<registry[/namespace]>/custom-pepr-controller:<current-version>'` (e.g. docker.io/myuser, localhost:5000)."
|
|
10077
10112
|
).conflicts(["customImage", "registry"])
|
|
10078
10113
|
).option("-P, --with-pull-secret <name>", "Use image pull secret for controller Deployment.", "").addOption(
|
|
10079
10114
|
new import_commander.Option(
|
package/dist/controller.js
CHANGED
|
@@ -78,7 +78,7 @@ var packageJSON = {
|
|
|
78
78
|
"!src/fixtures/**",
|
|
79
79
|
"!dist/**/*.test.d.ts*"
|
|
80
80
|
],
|
|
81
|
-
version: "
|
|
81
|
+
version: "2.0.0",
|
|
82
82
|
main: "dist/lib.js",
|
|
83
83
|
types: "dist/lib.d.ts",
|
|
84
84
|
scripts: {
|
|
@@ -112,29 +112,32 @@ var packageJSON = {
|
|
|
112
112
|
},
|
|
113
113
|
dependencies: {
|
|
114
114
|
"@types/ramda": "0.32.0",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
116
|
-
"@typescript-eslint/parser": "8.
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "8.66.0",
|
|
116
|
+
"@typescript-eslint/parser": "8.66.0",
|
|
117
117
|
commander: "15.0.0",
|
|
118
|
-
eslint: "
|
|
118
|
+
eslint: "^10.8.0",
|
|
119
119
|
express: "5.2.1",
|
|
120
120
|
"fast-json-patch": "3.1.1",
|
|
121
|
-
globals: "17.
|
|
121
|
+
globals: "17.9.0",
|
|
122
122
|
"http-status-codes": "^2.3.0",
|
|
123
123
|
"json-pointer": "^0.6.2",
|
|
124
|
-
"kubernetes-fluent-client": "3.11.
|
|
124
|
+
"kubernetes-fluent-client": "3.11.11",
|
|
125
125
|
pino: "10.3.1",
|
|
126
126
|
"pino-pretty": "13.1.3",
|
|
127
127
|
"prom-client": "15.1.3",
|
|
128
|
-
"quicktype-core": "^
|
|
128
|
+
"quicktype-core": "^26.0.0",
|
|
129
129
|
ramda: "0.32.0"
|
|
130
130
|
},
|
|
131
131
|
devDependencies: {
|
|
132
132
|
"@commitlint/cli": "21.2.1",
|
|
133
133
|
"@commitlint/config-conventional": "21.2.0",
|
|
134
|
+
"@eslint/eslintrc": "^3.3.6",
|
|
135
|
+
"@eslint/js": "^10.0.1",
|
|
134
136
|
"@types/command-line-args": "^5.2.3",
|
|
135
137
|
"@types/express": "5.0.6",
|
|
136
138
|
"@types/json-pointer": "^1.0.34",
|
|
137
139
|
"@types/json-schema": "^7.0.15",
|
|
140
|
+
"@types/ms": "^2.1.0",
|
|
138
141
|
"@types/node": "^24.13.3",
|
|
139
142
|
"@types/node-forge": "1.3.14",
|
|
140
143
|
"@types/readable-stream": "^4.0.21",
|
|
@@ -143,19 +146,20 @@ var packageJSON = {
|
|
|
143
146
|
"@vitest/coverage-v8": "^4.0.4",
|
|
144
147
|
"fast-check": "^4.0.0",
|
|
145
148
|
husky: "^9.1.6",
|
|
146
|
-
prettier: "^3.6.2",
|
|
147
149
|
"js-yaml": "^5.2.1",
|
|
150
|
+
ms: "^2.1.3",
|
|
151
|
+
prettier: "^3.6.2",
|
|
148
152
|
selfsigned: "^5.5.0",
|
|
149
153
|
shellcheck: "^4.1.0",
|
|
150
154
|
tsx: "^4.20.3",
|
|
151
|
-
undici: "8.
|
|
155
|
+
undici: "8.10.0",
|
|
152
156
|
vitest: "^4.0.4"
|
|
153
157
|
},
|
|
154
158
|
overrides: {
|
|
155
159
|
"brace-expansion": "^5.0.9",
|
|
156
|
-
"ip-address": "^10.
|
|
160
|
+
"ip-address": "^10.5.0",
|
|
157
161
|
tar: "^7.5.16",
|
|
158
|
-
"fast-uri": "^3.1.
|
|
162
|
+
"fast-uri": "^3.1.5"
|
|
159
163
|
},
|
|
160
164
|
peerDependencies: {
|
|
161
165
|
"@types/prompts": "^2.4.9",
|
|
@@ -255,7 +259,7 @@ function runModule(expectedHash) {
|
|
|
255
259
|
import_fs.default.writeFileSync(jsPath, code);
|
|
256
260
|
(0, import_child_process.fork)(jsPath);
|
|
257
261
|
} catch (e) {
|
|
258
|
-
throw new Error(`Failed to decompress module: ${e}
|
|
262
|
+
throw new Error(`Failed to decompress module: ${e}`, { cause: e });
|
|
259
263
|
}
|
|
260
264
|
}
|
|
261
265
|
var startup = async (hash2) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../src/lib/assets/assets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAUvC,OAAO,EACL,YAAY,EACZ,8BAA8B,EAC9B,gCAAgC,EACjC,MAAM,kCAAkC,CAAC;AAS1C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEhD,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAE7E;AACD,wBAAgB,WAAW,CAAC,YAAY,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAUrE;AACD,wBAAgB,SAAS,CAAC,YAAY,EAAE,gB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CAET;AAED,wBAAgB,8BAA8B,CAC5C,iBAAiB,EAAE,MAAM,EAAE,EAC3B,oBAAoB,EAAE,MAAM,EAAE,GAC7B,OAAO,CAOT;AAED,wBAAgB,2BAA2B,CACzC,iBAAiB,EAAE,MAAM,EAAE,EAC3B,iBAAiB,EAAE,MAAM,EAAE,EAC3B,oBAAoB,EAAE,MAAM,EAAE,GAC7B,MAAM,CAmBR;AAGD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,gBAAgB,EAC5B,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAC5B,KAAK,CAAC,EAAE,OAAO,GACd,IAAI,CAiCN;AA6CD,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAMpD;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MAY5C,CAAC;AAGF,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAe3C;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAKnF"}
|
package/dist/lib.js
CHANGED
|
@@ -1820,7 +1820,7 @@ async function migrateAndSetupWatch(storeData) {
|
|
|
1820
1820
|
}
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
|
-
|
|
1823
|
+
await sendUpdatesAndFlushCache(storeCache, namespace2, name);
|
|
1824
1824
|
setupWatch2();
|
|
1825
1825
|
}
|
|
1826
1826
|
|