pepr 0.50.0 → 0.51.0-nightly.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/README.md +1 -1
- package/dist/cli/crd/create.d.ts.map +1 -1
- package/dist/cli/deploy.d.ts +3 -0
- package/dist/cli/deploy.d.ts.map +1 -1
- package/dist/cli/docs/cli.helper.d.ts.map +1 -1
- package/dist/cli/docs/markdown.helper.d.ts.map +1 -1
- package/dist/cli/init/templates.d.ts +2 -19
- package/dist/cli/init/templates.d.ts.map +1 -1
- package/dist/cli/update/index.d.ts.map +1 -1
- package/dist/cli.js +232 -248
- package/dist/controller.js +1 -1
- package/dist/lib/assets/assets.d.ts.map +1 -1
- package/dist/lib/assets/defaultTestObjects.d.ts.map +1 -1
- package/dist/lib/assets/webhooks.d.ts.map +1 -1
- package/dist/lib/controller/index.d.ts.map +1 -1
- package/dist/lib/controller/storeCache.d.ts.map +1 -1
- package/dist/lib/core/capability.d.ts.map +1 -1
- package/dist/lib/core/module.d.ts.map +1 -1
- package/dist/lib/core/storage.d.ts.map +1 -1
- package/dist/lib/deploymentChecks.d.ts +9 -0
- package/dist/lib/deploymentChecks.d.ts.map +1 -1
- package/dist/lib/filter/adjudicators/binding.d.ts.map +1 -1
- package/dist/lib/helpers.d.ts.map +1 -1
- package/dist/lib/mutate-request.d.ts.map +1 -1
- package/dist/lib/telemetry/metrics.d.ts.map +1 -1
- package/dist/lib/validate-request.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/cli/deploy.ts +12 -8
- package/src/cli/init/templates.ts +18 -4
- package/src/cli/update/index.ts +4 -29
- package/src/lib/deploymentChecks.ts +21 -12
- package/src/templates/capabilities/hello-pepr.ts +1 -1
- package/src/templates/eslint.config.mjs +45 -0
- package/src/templates/.eslintrc.json +0 -6
- package/src/templates/.eslintrc.template.json +0 -18
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ When(a.ConfigMap)
|
|
|
89
89
|
|
|
90
90
|
## Prerequisites
|
|
91
91
|
|
|
92
|
-
- [Node.js](https://nodejs.org/en/)
|
|
92
|
+
- [Node.js](https://nodejs.org/en/) v20.0.0+ (even-numbered releases only)
|
|
93
93
|
- To ensure compatability and optimal performance, it is recommended to use even-numbered releases of Node.js as they are stable releases and receive long-term support for three years. Odd-numbered releases are experimental and may not be supported by certain libraries utilized in Pepr.
|
|
94
94
|
|
|
95
95
|
- [npm](https://www.npmjs.com/) v10.1.0+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cli/crd/create.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,QAAA,MAAM,MAAM,SAyBR,CAAC;AAEL,eAAe,MAAM,CAAC;AAEtB,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cli/crd/create.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,QAAA,MAAM,MAAM,SAyBR,CAAC;AAEL,eAAe,MAAM,CAAC;AAEtB,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,EACb,SAAS,MAAM,EACf,MAAM,MAAM,EACZ,MAAM;IACJ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,KACA,MA8EF,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAKrE"}
|
package/dist/cli/deploy.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CapabilityExport } from "../lib/types";
|
|
2
|
+
import { Assets } from "../lib/assets/assets";
|
|
1
3
|
import { RootCmd } from "./root";
|
|
2
4
|
export interface ImagePullSecretDetails {
|
|
3
5
|
pullSecret?: string;
|
|
@@ -15,4 +17,5 @@ export declare function getUserConfirmation(opts: {
|
|
|
15
17
|
confirm: boolean;
|
|
16
18
|
}): Promise<boolean>;
|
|
17
19
|
export default function (program: RootCmd): void;
|
|
20
|
+
export declare function validateNamespaces(capability: CapabilityExport, webhook: Assets): void;
|
|
18
21
|
//# sourceMappingURL=deploy.d.ts.map
|
package/dist/cli/deploy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/cli/deploy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/cli/deploy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAQjC,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,sBAAsB,GAAG;IAC/E,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAmCA;AAED,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAC;AAkB/E,wBAAsB,mBAAmB,CAAC,IAAI,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAatF;AAkCD,MAAM,CAAC,OAAO,WAAW,OAAO,EAAE,OAAO,GAAG,IAAI,CA8B/C;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAQtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.helper.d.ts","sourceRoot":"","sources":["../../../src/cli/docs/cli.helper.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"cli.helper.d.ts","sourceRoot":"","sources":["../../../src/cli/docs/cli.helper.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,KAAG;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CASzF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,QAAQ,MAAM,KAAG,MAW1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.helper.d.ts","sourceRoot":"","sources":["../../../src/cli/docs/markdown.helper.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"markdown.helper.d.ts","sourceRoot":"","sources":["../../../src/cli/docs/markdown.helper.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAK,MAAW,KAAG;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAoB3F,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { OnError, RbacMode } from "./enums";
|
|
|
4
4
|
import { V1PolicyRule as PolicyRule } from "@kubernetes/client-node";
|
|
5
5
|
export declare const dependencies: {
|
|
6
6
|
"@types/ramda": string;
|
|
7
|
+
commander: string;
|
|
7
8
|
express: string;
|
|
8
9
|
"fast-json-patch": string;
|
|
9
10
|
heredoc: string;
|
|
@@ -39,7 +40,6 @@ export declare const dependencies: {
|
|
|
39
40
|
"@types/prompts": string;
|
|
40
41
|
"@typescript-eslint/eslint-plugin": string;
|
|
41
42
|
"@typescript-eslint/parser": string;
|
|
42
|
-
commander: string;
|
|
43
43
|
esbuild: string;
|
|
44
44
|
eslint: string;
|
|
45
45
|
"node-forge": string;
|
|
@@ -203,23 +203,6 @@ export declare const prettier: {
|
|
|
203
203
|
};
|
|
204
204
|
export declare const eslint: {
|
|
205
205
|
path: string;
|
|
206
|
-
data:
|
|
207
|
-
env: {
|
|
208
|
-
browser: boolean;
|
|
209
|
-
es2021: boolean;
|
|
210
|
-
};
|
|
211
|
-
extends: string[];
|
|
212
|
-
parser: string;
|
|
213
|
-
parserOptions: {
|
|
214
|
-
project: string[];
|
|
215
|
-
ecmaVersion: number;
|
|
216
|
-
};
|
|
217
|
-
plugins: string[];
|
|
218
|
-
ignorePatterns: string[];
|
|
219
|
-
root: boolean;
|
|
220
|
-
rules: {
|
|
221
|
-
"@typescript-eslint/no-floating-promises": string[];
|
|
222
|
-
};
|
|
223
|
-
};
|
|
206
|
+
data: string;
|
|
224
207
|
};
|
|
225
208
|
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/cli/init/templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/cli/init/templates.ts"],"names":[],"mappings":"AAcA,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;;;;;;;;;;;;;;;;;;;;;;;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AAM,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/update/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/update/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,MAAM,CAAC,OAAO,WAAW,OAAO,EAAE,OAAO,GAAG,IAAI,CA4E/C"}
|