@lumerahq/cli 0.34.4 → 0.34.5
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/index.js
CHANGED
|
@@ -242,25 +242,25 @@ async function main() {
|
|
|
242
242
|
switch (command) {
|
|
243
243
|
// Resource commands
|
|
244
244
|
case "plan":
|
|
245
|
-
await import("./resources-
|
|
245
|
+
await import("./resources-55CTS5MT.js").then((m) => m.plan(args.slice(1)));
|
|
246
246
|
break;
|
|
247
247
|
case "apply":
|
|
248
|
-
await import("./resources-
|
|
248
|
+
await import("./resources-55CTS5MT.js").then((m) => m.apply(args.slice(1)));
|
|
249
249
|
break;
|
|
250
250
|
case "pull":
|
|
251
|
-
await import("./resources-
|
|
251
|
+
await import("./resources-55CTS5MT.js").then((m) => m.pull(args.slice(1)));
|
|
252
252
|
break;
|
|
253
253
|
case "destroy":
|
|
254
|
-
await import("./resources-
|
|
254
|
+
await import("./resources-55CTS5MT.js").then((m) => m.destroy(args.slice(1)));
|
|
255
255
|
break;
|
|
256
256
|
case "list":
|
|
257
|
-
await import("./resources-
|
|
257
|
+
await import("./resources-55CTS5MT.js").then((m) => m.list(args.slice(1)));
|
|
258
258
|
break;
|
|
259
259
|
case "show":
|
|
260
|
-
await import("./resources-
|
|
260
|
+
await import("./resources-55CTS5MT.js").then((m) => m.show(args.slice(1)));
|
|
261
261
|
break;
|
|
262
262
|
case "diff":
|
|
263
|
-
await import("./resources-
|
|
263
|
+
await import("./resources-55CTS5MT.js").then((m) => m.diff(args.slice(1)));
|
|
264
264
|
break;
|
|
265
265
|
// Development
|
|
266
266
|
case "dev":
|
|
@@ -762,7 +762,7 @@ function messageForIssue(issue) {
|
|
|
762
762
|
}
|
|
763
763
|
var hookVerifyRule = {
|
|
764
764
|
id: "hook-verify",
|
|
765
|
-
description: "Validates hook file structure (config export, trigger, known keys, default handler) and
|
|
765
|
+
description: "Validates hook file structure (config export, trigger, known keys, default handler) and checks on the backend that the script compiles and uses only what the hook runtime provides.",
|
|
766
766
|
appliesTo: ["hook"],
|
|
767
767
|
async check(target, ctx) {
|
|
768
768
|
if (target.filePath.endsWith(".ts")) {
|
|
@@ -835,7 +835,7 @@ var hookVerifyRule = {
|
|
|
835
835
|
const position = line ? ` at line ${line}${diagnostic.column ? `, column ${diagnostic.column}` : ""}` : "";
|
|
836
836
|
return error2(
|
|
837
837
|
target,
|
|
838
|
-
`Hook
|
|
838
|
+
`Hook script is invalid${position}: ${diagnostic.message}`,
|
|
839
839
|
line
|
|
840
840
|
);
|
|
841
841
|
})
|