@savvy-web/templates 1.1.3 → 1.1.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/index.d.ts +23 -23
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ type UpdateTemplate<O> = (existing: string, options: Partial<O>) => TemplateEntr
|
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
|
-
declare const BiomeOptions: Schema.Struct<{
|
|
38
|
+
export declare const BiomeOptions: Schema.Struct<{
|
|
39
39
|
readonly version: Schema.String;
|
|
40
40
|
readonly extends: Schema.optional<Schema.$Array<Schema.String>>;
|
|
41
41
|
readonly root: Schema.optional<Schema.Boolean>;
|
|
@@ -53,7 +53,7 @@ type BiomeOptionsType = typeof BiomeOptions.Type;
|
|
|
53
53
|
* @returns an array containing the generated `biome.jsonc` entry
|
|
54
54
|
* @public
|
|
55
55
|
*/
|
|
56
|
-
declare function createBiome(options: unknown): TemplateEntry[];
|
|
56
|
+
export declare function createBiome(options: unknown): TemplateEntry[];
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/lib/changeset/index.d.ts
|
|
59
59
|
/**
|
|
@@ -61,7 +61,7 @@ declare function createBiome(options: unknown): TemplateEntry[];
|
|
|
61
61
|
*
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
|
-
declare const ChangesetOptions: Schema.Struct<{
|
|
64
|
+
export declare const ChangesetOptions: Schema.Struct<{
|
|
65
65
|
readonly access: Schema.withDecodingDefaultType<Schema.Literals<readonly ["public", "restricted"]>, never>;
|
|
66
66
|
readonly baseBranch: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
67
67
|
readonly changelog: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
@@ -80,7 +80,7 @@ type ChangesetOptionsType = typeof ChangesetOptions.Type;
|
|
|
80
80
|
* @returns an array containing the generated changeset config entry
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
|
-
declare function createChangeset(options: unknown): TemplateEntry[];
|
|
83
|
+
export declare function createChangeset(options: unknown): TemplateEntry[];
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/lib/gitignore/index.d.ts
|
|
86
86
|
/**
|
|
@@ -88,7 +88,7 @@ declare function createChangeset(options: unknown): TemplateEntry[];
|
|
|
88
88
|
*
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
|
-
declare const GitignoreOptions: Schema.Struct<{
|
|
91
|
+
export declare const GitignoreOptions: Schema.Struct<{
|
|
92
92
|
readonly sections: Schema.optional<Schema.Struct<{
|
|
93
93
|
readonly node: Schema.optional<Schema.Boolean>;
|
|
94
94
|
readonly build: Schema.optional<Schema.Boolean>;
|
|
@@ -111,7 +111,7 @@ type GitignoreOptionsType = typeof GitignoreOptions.Type;
|
|
|
111
111
|
* @returns an array containing the generated `.gitignore` entry
|
|
112
112
|
* @public
|
|
113
113
|
*/
|
|
114
|
-
declare function createGitignore(options: unknown): TemplateEntry[];
|
|
114
|
+
export declare function createGitignore(options: unknown): TemplateEntry[];
|
|
115
115
|
//#endregion
|
|
116
116
|
//#region src/lib/package-json/index.d.ts
|
|
117
117
|
/**
|
|
@@ -119,7 +119,7 @@ declare function createGitignore(options: unknown): TemplateEntry[];
|
|
|
119
119
|
*
|
|
120
120
|
* @public
|
|
121
121
|
*/
|
|
122
|
-
declare const PackageJsonOptions: Schema.Struct<{
|
|
122
|
+
export declare const PackageJsonOptions: Schema.Struct<{
|
|
123
123
|
readonly name: Schema.String;
|
|
124
124
|
readonly version: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
125
125
|
readonly private: Schema.optional<Schema.Boolean>;
|
|
@@ -173,7 +173,7 @@ type PackageJsonOptionsType = typeof PackageJsonOptions.Type;
|
|
|
173
173
|
* @returns an array containing the generated `package.json` entry
|
|
174
174
|
* @public
|
|
175
175
|
*/
|
|
176
|
-
declare function createPackageJson(options: unknown): TemplateEntry[];
|
|
176
|
+
export declare function createPackageJson(options: unknown): TemplateEntry[];
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/lib/pnpm/index.d.ts
|
|
179
179
|
/**
|
|
@@ -181,7 +181,7 @@ declare function createPackageJson(options: unknown): TemplateEntry[];
|
|
|
181
181
|
*
|
|
182
182
|
* @public
|
|
183
183
|
*/
|
|
184
|
-
declare const PnpmWorkspaceOptions: Schema.Struct<{
|
|
184
|
+
export declare const PnpmWorkspaceOptions: Schema.Struct<{
|
|
185
185
|
readonly packages: Schema.$Array<Schema.String>;
|
|
186
186
|
readonly autoInstallPeers: Schema.optional<Schema.Boolean>;
|
|
187
187
|
readonly catalogMode: Schema.optional<Schema.Literals<readonly ["strict", "prefer", "manual"]>>;
|
|
@@ -200,7 +200,7 @@ type PnpmWorkspaceOptionsType = typeof PnpmWorkspaceOptions.Type;
|
|
|
200
200
|
* @returns an array containing the generated `pnpm-workspace.yaml` entry
|
|
201
201
|
* @public
|
|
202
202
|
*/
|
|
203
|
-
declare function createPnpmWorkspace(options: unknown): TemplateEntry[];
|
|
203
|
+
export declare function createPnpmWorkspace(options: unknown): TemplateEntry[];
|
|
204
204
|
//#endregion
|
|
205
205
|
//#region src/lib/readme/index.d.ts
|
|
206
206
|
/**
|
|
@@ -208,7 +208,7 @@ declare function createPnpmWorkspace(options: unknown): TemplateEntry[];
|
|
|
208
208
|
*
|
|
209
209
|
* @public
|
|
210
210
|
*/
|
|
211
|
-
declare const ReadmeOptions: Schema.Struct<{
|
|
211
|
+
export declare const ReadmeOptions: Schema.Struct<{
|
|
212
212
|
readonly name: Schema.String;
|
|
213
213
|
readonly description: Schema.optional<Schema.String>;
|
|
214
214
|
}>;
|
|
@@ -225,7 +225,7 @@ type ReadmeOptionsType = typeof ReadmeOptions.Type;
|
|
|
225
225
|
* @returns an array containing the generated `README.md` entry
|
|
226
226
|
* @public
|
|
227
227
|
*/
|
|
228
|
-
declare function createReadme(options: unknown): TemplateEntry[];
|
|
228
|
+
export declare function createReadme(options: unknown): TemplateEntry[];
|
|
229
229
|
//#endregion
|
|
230
230
|
//#region src/lib/tsconfig/index.d.ts
|
|
231
231
|
/**
|
|
@@ -233,7 +233,7 @@ declare function createReadme(options: unknown): TemplateEntry[];
|
|
|
233
233
|
*
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
|
-
declare const TsConfigOptions: Schema.Struct<{
|
|
236
|
+
export declare const TsConfigOptions: Schema.Struct<{
|
|
237
237
|
readonly extends: Schema.optional<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
238
238
|
readonly composite: Schema.optional<Schema.Boolean>;
|
|
239
239
|
readonly include: Schema.optional<Schema.$Array<Schema.String>>;
|
|
@@ -255,7 +255,7 @@ type TsConfigOptionsType = typeof TsConfigOptions.Type;
|
|
|
255
255
|
* @returns an array containing the generated `tsconfig.json` entry
|
|
256
256
|
* @public
|
|
257
257
|
*/
|
|
258
|
-
declare function createTsConfig(options: unknown): TemplateEntry[];
|
|
258
|
+
export declare function createTsConfig(options: unknown): TemplateEntry[];
|
|
259
259
|
//#endregion
|
|
260
260
|
//#region src/lib/turbo/index.d.ts
|
|
261
261
|
/**
|
|
@@ -263,7 +263,7 @@ declare function createTsConfig(options: unknown): TemplateEntry[];
|
|
|
263
263
|
*
|
|
264
264
|
* @public
|
|
265
265
|
*/
|
|
266
|
-
declare const TurboRootOptions: Schema.Struct<{
|
|
266
|
+
export declare const TurboRootOptions: Schema.Struct<{
|
|
267
267
|
readonly tasks: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
268
268
|
readonly globalDependencies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
269
269
|
readonly globalEnv: Schema.optional<Schema.$Array<Schema.String>>;
|
|
@@ -282,7 +282,7 @@ type TurboRootOptionsType = typeof TurboRootOptions.Type;
|
|
|
282
282
|
*
|
|
283
283
|
* @public
|
|
284
284
|
*/
|
|
285
|
-
declare const TurboWorkspaceOptions: Schema.Struct<{
|
|
285
|
+
export declare const TurboWorkspaceOptions: Schema.Struct<{
|
|
286
286
|
readonly tasks: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
287
287
|
}>;
|
|
288
288
|
/**
|
|
@@ -298,7 +298,7 @@ type TurboWorkspaceOptionsType = typeof TurboWorkspaceOptions.Type;
|
|
|
298
298
|
* @returns an array containing the generated root `turbo.json` entry
|
|
299
299
|
* @public
|
|
300
300
|
*/
|
|
301
|
-
declare function createTurboRoot(options: unknown): TemplateEntry[];
|
|
301
|
+
export declare function createTurboRoot(options: unknown): TemplateEntry[];
|
|
302
302
|
/**
|
|
303
303
|
* Generates a workspace-level `turbo.json` file entry.
|
|
304
304
|
*
|
|
@@ -306,7 +306,7 @@ declare function createTurboRoot(options: unknown): TemplateEntry[];
|
|
|
306
306
|
* @returns an array containing the generated workspace `turbo.json` entry
|
|
307
307
|
* @public
|
|
308
308
|
*/
|
|
309
|
-
declare function createTurboWorkspace(options: unknown): TemplateEntry[];
|
|
309
|
+
export declare function createTurboWorkspace(options: unknown): TemplateEntry[];
|
|
310
310
|
//#endregion
|
|
311
311
|
//#region src/lib/vscode/index.d.ts
|
|
312
312
|
/**
|
|
@@ -314,7 +314,7 @@ declare function createTurboWorkspace(options: unknown): TemplateEntry[];
|
|
|
314
314
|
*
|
|
315
315
|
* @public
|
|
316
316
|
*/
|
|
317
|
-
declare const VsCodeOptions: Schema.Struct<{
|
|
317
|
+
export declare const VsCodeOptions: Schema.Struct<{
|
|
318
318
|
readonly settings: Schema.optional<Schema.Struct<{
|
|
319
319
|
readonly biome: Schema.optional<Schema.Boolean>;
|
|
320
320
|
readonly turbo: Schema.optional<Schema.Boolean>;
|
|
@@ -335,7 +335,7 @@ type VsCodeOptionsType = typeof VsCodeOptions.Type;
|
|
|
335
335
|
* @returns an array containing the generated VS Code configuration entries
|
|
336
336
|
* @public
|
|
337
337
|
*/
|
|
338
|
-
declare function createVsCode(options: unknown): TemplateEntry[];
|
|
338
|
+
export declare function createVsCode(options: unknown): TemplateEntry[];
|
|
339
339
|
//#endregion
|
|
340
340
|
//#region src/lib/workspace/index.d.ts
|
|
341
341
|
/**
|
|
@@ -343,7 +343,7 @@ declare function createVsCode(options: unknown): TemplateEntry[];
|
|
|
343
343
|
*
|
|
344
344
|
* @public
|
|
345
345
|
*/
|
|
346
|
-
declare const WorkspaceOptions: Schema.Struct<{
|
|
346
|
+
export declare const WorkspaceOptions: Schema.Struct<{
|
|
347
347
|
readonly name: Schema.String;
|
|
348
348
|
readonly packageManager: Schema.Literals<readonly ["pnpm", "npm", "bun"]>;
|
|
349
349
|
readonly packageManagerVersion: Schema.String;
|
|
@@ -370,7 +370,7 @@ type WorkspaceOptionsType = typeof WorkspaceOptions.Type;
|
|
|
370
370
|
* @returns an array of template entries for the complete workspace
|
|
371
371
|
* @public
|
|
372
372
|
*/
|
|
373
|
-
declare function createWorkspace(options: unknown): TemplateEntry[];
|
|
373
|
+
export declare function createWorkspace(options: unknown): TemplateEntry[];
|
|
374
374
|
//#endregion
|
|
375
|
-
export {
|
|
375
|
+
export type { BiomeOptionsType, ChangesetOptionsType, GitignoreOptionsType, PackageJsonOptionsType, PnpmWorkspaceOptionsType, ReadmeOptionsType, Template, TemplateEntry, TsConfigOptionsType, TurboRootOptionsType, TurboWorkspaceOptionsType, UpdateTemplate, VsCodeOptionsType, WorkspaceOptionsType };
|
|
376
376
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/templates",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Pure TypeScript templates for Silk Suite project scaffolding",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/templates",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@effected/package-json": "^0.
|
|
33
|
-
"@effected/yaml": "^0.
|
|
32
|
+
"@effected/package-json": "^0.14.0",
|
|
33
|
+
"@effected/yaml": "^0.13.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"effect": "4.0.0-rc.
|
|
36
|
+
"effect": "4.0.0-rc.112"
|
|
37
37
|
}
|
|
38
38
|
}
|