@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.
- package/dist/generators/example/hello/templates/README.md.ejs +1 -1
- package/dist/generators/example/webapp/templates/ARCHITECTURE.md.ejs +1 -1
- package/dist/generators/example/webapp/templates/README.md.ejs +1 -1
- package/dist/src/components/App.d.ts +1 -1
- package/dist/src/components/FileTreePreview.d.ts +1 -1
- package/dist/src/components/PromptSequence.d.ts +1 -1
- package/dist/src/components/Spinner.d.ts +1 -1
- package/package.json +13 -13
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
56
|
-
"@canonical/task": "^0.
|
|
57
|
-
"@canonical/utils": "^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": "^
|
|
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.
|
|
65
|
+
"react": "^19.3.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@biomejs/biome": "2.
|
|
69
|
-
"@canonical/biome-config": "^0.
|
|
70
|
-
"@canonical/typescript-config": "^0.
|
|
71
|
-
"@canonical/webarchitect": "^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.
|
|
75
|
+
"@types/react": "^19.3.0",
|
|
76
76
|
"ink-testing-library": "^4.0.0",
|
|
77
77
|
"typescript": "^7.0.2",
|
|
78
|
-
"vitest": "^
|
|
78
|
+
"vitest": "^5.0.0"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=22.18 <23 || >=23.6"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "7a4c4cee18e814e78e71fe62e4679a3e07db4735"
|
|
84
84
|
}
|