genomic 5.4.0 → 5.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.
- package/package.json +2 -2
- package/scaffolder/types.d.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genomic",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Clone and customize template repositories with variable replacement",
|
|
6
6
|
"main": "index.js",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"makage": "0.1.10"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [],
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "81b358062cb7aaeaa82df514f440e8a40e4ed4a6"
|
|
40
40
|
}
|
package/scaffolder/types.d.ts
CHANGED
|
@@ -117,6 +117,16 @@ export interface BoilerplatesConfig {
|
|
|
117
117
|
*/
|
|
118
118
|
dir?: string;
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Declares a skill to install after scaffolding completes.
|
|
122
|
+
* Used with the agentskills.io CLI (`npx skills add <source> --skill <name>`).
|
|
123
|
+
*/
|
|
124
|
+
export interface BoilerplateSkill {
|
|
125
|
+
/** GitHub repository in org/repo format, or a full URL */
|
|
126
|
+
source: string;
|
|
127
|
+
/** Skill name(s) to install from the source */
|
|
128
|
+
skills: string[];
|
|
129
|
+
}
|
|
120
130
|
/**
|
|
121
131
|
* Configuration for a single boilerplate template.
|
|
122
132
|
* Stored in `.boilerplate.json` within each template directory.
|
|
@@ -130,6 +140,12 @@ export interface BoilerplateConfig {
|
|
|
130
140
|
* Questions to prompt the user during scaffolding
|
|
131
141
|
*/
|
|
132
142
|
questions?: Question[];
|
|
143
|
+
/**
|
|
144
|
+
* Skills to install after scaffolding completes.
|
|
145
|
+
* Each entry specifies a source repository and skill names to install.
|
|
146
|
+
* Non-fatal: callers should handle install failures gracefully.
|
|
147
|
+
*/
|
|
148
|
+
skills?: BoilerplateSkill[];
|
|
133
149
|
}
|
|
134
150
|
/**
|
|
135
151
|
* Options for inspecting a template without scaffolding.
|