@canonical/summon 0.43.0 → 0.46.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.
@@ -17,4 +17,4 @@ bun run index.ts
17
17
  ## About Summon
18
18
 
19
19
  Summon is a monadic task-centric code generator framework.
20
- Learn more at: https://github.com/canonical/pragma
20
+ Learn more at: https://github.com/canonical/pragma-core/tree/main/packages/cli/summon
@@ -177,4 +177,4 @@ Custom logging utility:
177
177
 
178
178
  ---
179
179
 
180
- Generated by [Summon](https://github.com/canonical/pragma)
180
+ Generated by [Summon](https://github.com/canonical/pragma-core/tree/main/packages/cli/summon)
@@ -151,4 +151,4 @@ const history = logger.getHistory();
151
151
  <% } -%>
152
152
  ---
153
153
 
154
- Generated by [Summon](https://github.com/canonical/pragma) - A Monadic Task-Centric Code Generator Framework
154
+ Generated by [Summon](https://github.com/canonical/pragma-core/tree/main/packages/cli/summon) - A Monadic Task-Centric Code Generator Framework
@@ -66,4 +66,4 @@ export interface AppProps {
66
66
  /** Stamp configuration for generated files (undefined = no stamps) */
67
67
  stamp?: StampConfig;
68
68
  }
69
- export declare const App: ({ generator, preview, dryRunOnly, undo, verbose, answers: prefilledAnswers, askMissing, yes, stamp, }: AppProps) => import("react/jsx-runtime").JSX.Element;
69
+ export declare const App: ({ generator, preview, dryRunOnly, undo, verbose, answers: prefilledAnswers, askMissing, yes, stamp, }: AppProps) => import("react").JSX.Element;
@@ -10,4 +10,4 @@ export interface FileTreePreviewProps {
10
10
  /** Title for the preview */
11
11
  title?: string;
12
12
  }
13
- export declare const FileTreePreview: ({ effects, title, }: FileTreePreviewProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const FileTreePreview: ({ effects, title, }: FileTreePreviewProps) => import("react").JSX.Element;
@@ -27,4 +27,4 @@ export interface PromptSequenceProps {
27
27
  */
28
28
  provided?: Record<string, unknown>;
29
29
  }
30
- export declare const PromptSequence: ({ prompts, onComplete, onCancel, initialAnswers, provided, }: PromptSequenceProps) => import("react/jsx-runtime").JSX.Element | null;
30
+ export declare const PromptSequence: ({ prompts, onComplete, onCancel, initialAnswers, provided, }: PromptSequenceProps) => import("react").JSX.Element | null;
@@ -9,4 +9,4 @@ export interface SpinnerProps {
9
9
  /** Label to show next to the spinner */
10
10
  label?: string;
11
11
  }
12
- export declare const Spinner: ({ color, label }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const Spinner: ({ color, label }: SpinnerProps) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@canonical/summon",
3
3
  "description": "Summon CLI binary: interactive code generator with Ink UI, shell completion, and Commander registration.",
4
- "version": "0.43.0",
4
+ "version": "0.46.0",
5
5
  "type": "module",
6
6
  "module": "src/index.ts",
7
7
  "types": "src/index.ts",
@@ -52,33 +52,33 @@
52
52
  "test:watch": "vitest"
53
53
  },
54
54
  "dependencies": {
55
- "@canonical/summon-core": "^0.43.0",
56
- "@canonical/task": "^0.43.0",
57
- "@canonical/utils": "^0.43.0",
55
+ "@canonical/summon-core": "^0.46.0",
56
+ "@canonical/task": "^0.46.0",
57
+ "@canonical/utils": "^0.46.0",
58
58
  "chalk": "^6.0.0",
59
59
  "commander": "^15.0.0",
60
- "ink": "^6.8.0",
60
+ "ink": "^8.0.0",
61
61
  "ink-select-input": "^6.2.0",
62
62
  "ink-spinner": "^5.0.0",
63
63
  "ink-text-input": "^6.0.0",
64
64
  "omelette": "^0.4.17",
65
- "react": "^19.2.4"
65
+ "react": "^19.3.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@biomejs/biome": "2.5.14",
69
- "@canonical/biome-config": "^0.43.0",
70
- "@canonical/typescript-config": "^0.43.0",
71
- "@canonical/webarchitect": "^0.43.0",
68
+ "@biomejs/biome": "2.6.6",
69
+ "@canonical/biome-config": "^0.46.0",
70
+ "@canonical/typescript-config": "^0.46.0",
71
+ "@canonical/webarchitect": "^0.46.0",
72
72
  "@types/bun": "^1.3.10",
73
73
  "@types/node": "^26.0.0",
74
74
  "@types/omelette": "^0.4.5",
75
- "@types/react": "^19.2.14",
75
+ "@types/react": "^19.3.0",
76
76
  "ink-testing-library": "^4.0.0",
77
77
  "typescript": "^7.0.2",
78
- "vitest": "^4.0.18"
78
+ "vitest": "^5.0.0"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=22.18 <23 || >=23.6"
82
82
  },
83
- "gitHead": "79f70779057238803359b820183de972b4a1220c"
83
+ "gitHead": "7a4c4cee18e814e78e71fe62e4679a3e07db4735"
84
84
  }