kalup 0.3.0 → 0.5.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.
Files changed (41) hide show
  1. package/README.md +4 -4
  2. package/dist/{commands-T4j_GVBD.mjs → commands-D_Q8-jc5.mjs} +7123 -2131
  3. package/dist/commands.d.mts +1 -1
  4. package/dist/commands.mjs +1 -1
  5. package/dist/{context-C1tH5K0x.d.mts → context-0mrva_6H.d.mts} +84 -0
  6. package/dist/{host-CDDeLV5T.mjs → host-BkBYlh_7.mjs} +1 -1
  7. package/dist/host.d.mts +1 -1
  8. package/dist/host.mjs +1 -1
  9. package/dist/index.mjs +1 -1
  10. package/dist/schemas/ir-1.schema.json +681 -116
  11. package/dist/schemas/plan-1.schema.json +18 -0
  12. package/dist/schemas/state-1.schema.json +80 -18
  13. package/docs/apply.md +10 -5
  14. package/docs/config.md +64 -9
  15. package/docs/dictionary.md +3 -3
  16. package/docs/errors/E_ASSOCIATION_FIELD.md +21 -0
  17. package/docs/errors/E_ASSOCIATION_NAME.md +17 -0
  18. package/docs/errors/E_BLUEPRINT_REQUIRES.md +3 -3
  19. package/docs/errors/E_DUPLICATE_LABEL.md +24 -0
  20. package/docs/errors/E_MISSING_EXPORT.md +2 -2
  21. package/docs/errors/E_PIPELINE_FIELD.md +23 -0
  22. package/docs/errors/E_PIPELINE_ID.md +17 -0
  23. package/docs/errors/E_PIPELINE_STAGES.md +17 -0
  24. package/docs/errors/E_PLAN_DELETE.md +1 -1
  25. package/docs/errors/E_PLAN_INVALID.md +1 -1
  26. package/docs/errors/E_PLAN_RISK.md +1 -1
  27. package/docs/errors/E_PREVENT_DESTROY.md +1 -1
  28. package/docs/errors/E_TOMBSTONE_ADDRESS.md +3 -3
  29. package/docs/errors/E_TOMBSTONE_CONFLICT.md +1 -1
  30. package/docs/errors/E_UNKNOWN_OBJECT.md +1 -1
  31. package/docs/errors/E_UNSUPPORTED_FILE.md +3 -3
  32. package/docs/errors/E_WRITE_IN_READ_MODE.md +1 -1
  33. package/docs/errors/E_WRITE_NOT_ALLOWED.md +1 -1
  34. package/docs/errors/W_OBJECT_FIELD.md +25 -0
  35. package/docs/errors/W_OBJECT_PROPERTY.md +17 -0
  36. package/docs/plan.md +40 -8
  37. package/docs/pull.md +14 -7
  38. package/docs/rm.md +8 -5
  39. package/docs/snapshot.md +3 -3
  40. package/docs/targets.md +2 -2
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { n as Prompter, r as Result, t as Handler } from "./context-C1tH5K0x.mjs";
1
+ import { n as Prompter, r as Result, t as Handler } from "./context-0mrva_6H.mjs";
2
2
  import { Command } from "@oclif/core";
3
3
  //#region src/host/commands.d.ts
4
4
  /**
package/dist/commands.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as TargetRebindCommand, a as CompareCommand, c as InitCommand, d as PlanCommand, f as PullCommand, g as StatusCommand, h as StateRebuildCommand, i as COMMANDS, l as IrCommand, m as SnapshotCommand, n as ApplyCommand, o as DocsCommand, p as RmCommand, r as BlueprintUpgradeCommand, s as FmtCommand, t as AddCommand, u as KalupCommand, v as ValidateCommand } from "./commands-T4j_GVBD.mjs";
1
+ import { _ as TargetRebindCommand, a as CompareCommand, c as InitCommand, d as PlanCommand, f as PullCommand, g as StatusCommand, h as StateRebuildCommand, i as COMMANDS, l as IrCommand, m as SnapshotCommand, n as ApplyCommand, o as DocsCommand, p as RmCommand, r as BlueprintUpgradeCommand, s as FmtCommand, t as AddCommand, u as KalupCommand, v as ValidateCommand } from "./commands-D_Q8-jc5.mjs";
2
2
  export { AddCommand, ApplyCommand, BlueprintUpgradeCommand, COMMANDS, CompareCommand, DocsCommand, FmtCommand, InitCommand, IrCommand, KalupCommand, PlanCommand, PullCommand, RmCommand, SnapshotCommand, StateRebuildCommand, StatusCommand, TargetRebindCommand, ValidateCommand };
@@ -43,6 +43,27 @@ declare const issues: {
43
43
  output: string[];
44
44
  };
45
45
  };
46
+ E_ASSOCIATION_FIELD: {
47
+ exit: string;
48
+ title: string;
49
+ summary: string;
50
+ when: string[];
51
+ fix: string[];
52
+ example: {
53
+ config: string[];
54
+ output: string[];
55
+ };
56
+ };
57
+ E_ASSOCIATION_NAME: {
58
+ exit: string;
59
+ title: string;
60
+ summary: string;
61
+ when: string[];
62
+ fix: string[];
63
+ example: {
64
+ output: string[];
65
+ };
66
+ };
46
67
  E_AUTH: {
47
68
  exit: string;
48
69
  title: string;
@@ -297,6 +318,17 @@ declare const issues: {
297
318
  output: string[];
298
319
  };
299
320
  };
321
+ E_DUPLICATE_LABEL: {
322
+ exit: string;
323
+ title: string;
324
+ summary: string;
325
+ when: string[];
326
+ fix: string[];
327
+ example: {
328
+ config: string[];
329
+ output: string[];
330
+ };
331
+ };
300
332
  E_DUPLICATE_OPTION: {
301
333
  exit: string;
302
334
  title: string;
@@ -516,6 +548,37 @@ declare const issues: {
516
548
  output: string[];
517
549
  };
518
550
  };
551
+ E_PIPELINE_FIELD: {
552
+ exit: string;
553
+ title: string;
554
+ summary: string;
555
+ when: string[];
556
+ fix: string[];
557
+ example: {
558
+ config: string[];
559
+ output: string[];
560
+ };
561
+ };
562
+ E_PIPELINE_ID: {
563
+ exit: string;
564
+ title: string;
565
+ summary: string;
566
+ when: string[];
567
+ fix: string[];
568
+ example: {
569
+ output: string[];
570
+ };
571
+ };
572
+ E_PIPELINE_STAGES: {
573
+ exit: string;
574
+ title: string;
575
+ summary: string;
576
+ when: string[];
577
+ fix: string[];
578
+ example: {
579
+ output: string[];
580
+ };
581
+ };
519
582
  E_PLAN_DELETE: {
520
583
  exit: string;
521
584
  title: string;
@@ -1116,6 +1179,27 @@ declare const issues: {
1116
1179
  output: string[];
1117
1180
  };
1118
1181
  };
1182
+ W_OBJECT_FIELD: {
1183
+ exit: string;
1184
+ title: string;
1185
+ summary: string;
1186
+ when: string[];
1187
+ fix: string[];
1188
+ example: {
1189
+ config: string[];
1190
+ output: string[];
1191
+ };
1192
+ };
1193
+ W_OBJECT_PROPERTY: {
1194
+ exit: string;
1195
+ title: string;
1196
+ summary: string;
1197
+ when: string[];
1198
+ fix: string[];
1199
+ example: {
1200
+ output: string[];
1201
+ };
1202
+ };
1119
1203
  W_OVERRIDE_OPTION: {
1120
1204
  exit: string;
1121
1205
  title: string;
@@ -1,4 +1,4 @@
1
- import { A as sanitize, C as usageError, D as disclaimer, E as bin, O as escapeJson, S as versionText, T as KalupError, b as formats, k as exitCodes, u as KalupCommand, w as IssueError, x as version, y as PATH_MAX } from "./commands-T4j_GVBD.mjs";
1
+ import { A as sanitize, C as usageError, D as disclaimer, E as bin, O as escapeJson, S as versionText, T as KalupError, b as formats, k as exitCodes, u as KalupCommand, w as IssueError, x as version, y as PATH_MAX } from "./commands-D_Q8-jc5.mjs";
2
2
  import { existsSync, readFileSync } from "node:fs";
3
3
  import { dirname, join } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
package/dist/host.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as ExitCode, n as Prompter, r as Result } from "./context-C1tH5K0x.mjs";
1
+ import { i as ExitCode, n as Prompter, r as Result } from "./context-0mrva_6H.mjs";
2
2
  //#region src/host/host.d.ts
3
3
  interface Out {
4
4
  write: (text: string) => unknown;
package/dist/host.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as isInteractive, r as run, t as execute } from "./host-CDDeLV5T.mjs";
1
+ import { n as isInteractive, r as run, t as execute } from "./host-BkBYlh_7.mjs";
2
2
  export { execute, isInteractive, run };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as isInteractive, r as run } from "./host-CDDeLV5T.mjs";
2
+ import { n as isInteractive, r as run } from "./host-BkBYlh_7.mjs";
3
3
  //#region src/index.ts
4
4
  process.exitCode = await run(process.argv.slice(2), {
5
5
  cwd: process.cwd(),