@savvy-web/templates 1.2.12 → 1.2.14

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 CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Schema } from "effect";
2
- //#region src/lib/types.d.ts
3
2
  /**
4
3
  * A generated content entry from a template.
5
4
  *
@@ -28,8 +27,6 @@ type Template<O> = (options: O) => TemplateEntry[];
28
27
  * @public
29
28
  */
30
29
  type UpdateTemplate<O> = (existing: string, options: Partial<O>) => TemplateEntry[];
31
- //#endregion
32
- //#region src/lib/biome/index.d.ts
33
30
  /**
34
31
  * Options for generating a Biome configuration file.
35
32
  *
@@ -54,8 +51,6 @@ type BiomeOptionsType = typeof BiomeOptions.Type;
54
51
  * @public
55
52
  */
56
53
  export declare function createBiome(options: unknown): TemplateEntry[];
57
- //#endregion
58
- //#region src/lib/changeset/index.d.ts
59
54
  /**
60
55
  * Options for generating a Changesets configuration file.
61
56
  *
@@ -81,8 +76,6 @@ type ChangesetOptionsType = typeof ChangesetOptions.Type;
81
76
  * @public
82
77
  */
83
78
  export declare function createChangeset(options: unknown): TemplateEntry[];
84
- //#endregion
85
- //#region src/lib/gitignore/index.d.ts
86
79
  /**
87
80
  * Options for generating a `.gitignore` file.
88
81
  *
@@ -112,8 +105,6 @@ type GitignoreOptionsType = typeof GitignoreOptions.Type;
112
105
  * @public
113
106
  */
114
107
  export declare function createGitignore(options: unknown): TemplateEntry[];
115
- //#endregion
116
- //#region src/lib/package-json/index.d.ts
117
108
  /**
118
109
  * Options for generating a `package.json` file.
119
110
  *
@@ -174,8 +165,6 @@ type PackageJsonOptionsType = typeof PackageJsonOptions.Type;
174
165
  * @public
175
166
  */
176
167
  export declare function createPackageJson(options: unknown): TemplateEntry[];
177
- //#endregion
178
- //#region src/lib/pnpm/index.d.ts
179
168
  /**
180
169
  * Options for generating a `pnpm-workspace.yaml` file.
181
170
  *
@@ -201,8 +190,6 @@ type PnpmWorkspaceOptionsType = typeof PnpmWorkspaceOptions.Type;
201
190
  * @public
202
191
  */
203
192
  export declare function createPnpmWorkspace(options: unknown): TemplateEntry[];
204
- //#endregion
205
- //#region src/lib/readme/index.d.ts
206
193
  /**
207
194
  * Options for generating a `README.md` file.
208
195
  *
@@ -226,8 +213,6 @@ type ReadmeOptionsType = typeof ReadmeOptions.Type;
226
213
  * @public
227
214
  */
228
215
  export declare function createReadme(options: unknown): TemplateEntry[];
229
- //#endregion
230
- //#region src/lib/tsconfig/index.d.ts
231
216
  /**
232
217
  * Options for generating a `tsconfig.json` file.
233
218
  *
@@ -256,8 +241,6 @@ type TsConfigOptionsType = typeof TsConfigOptions.Type;
256
241
  * @public
257
242
  */
258
243
  export declare function createTsConfig(options: unknown): TemplateEntry[];
259
- //#endregion
260
- //#region src/lib/turbo/index.d.ts
261
244
  /**
262
245
  * Options for generating a root `turbo.json` file.
263
246
  *
@@ -307,8 +290,6 @@ export declare function createTurboRoot(options: unknown): TemplateEntry[];
307
290
  * @public
308
291
  */
309
292
  export declare function createTurboWorkspace(options: unknown): TemplateEntry[];
310
- //#endregion
311
- //#region src/lib/vscode/index.d.ts
312
293
  /**
313
294
  * Options for generating VS Code configuration files.
314
295
  *
@@ -336,8 +317,6 @@ type VsCodeOptionsType = typeof VsCodeOptions.Type;
336
317
  * @public
337
318
  */
338
319
  export declare function createVsCode(options: unknown): TemplateEntry[];
339
- //#endregion
340
- //#region src/lib/workspace/index.d.ts
341
320
  /**
342
321
  * Options for generating a complete workspace scaffold.
343
322
  *
@@ -371,6 +350,5 @@ type WorkspaceOptionsType = typeof WorkspaceOptions.Type;
371
350
  * @public
372
351
  */
373
352
  export declare function createWorkspace(options: unknown): TemplateEntry[];
374
- //#endregion
375
353
  export type { BiomeOptionsType, ChangesetOptionsType, GitignoreOptionsType, PackageJsonOptionsType, PnpmWorkspaceOptionsType, ReadmeOptionsType, Template, TemplateEntry, TsConfigOptionsType, TurboRootOptionsType, TurboWorkspaceOptionsType, UpdateTemplate, VsCodeOptionsType, WorkspaceOptionsType };
376
354
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/lib/biome/index.ts
3
+ // src/lib/biome/index.ts
4
4
  /**
5
5
  * Options for generating a Biome configuration file.
6
6
  *
@@ -30,5 +30,4 @@ function createBiome(options) {
30
30
  }];
31
31
  }
32
32
 
33
- //#endregion
34
33
  export { BiomeOptions, createBiome };
@@ -1,6 +1,6 @@
1
1
  import { Effect, Schema } from "effect";
2
2
 
3
- //#region src/lib/changeset/index.ts
3
+ // src/lib/changeset/index.ts
4
4
  const RepoPattern = Schema.String.check(Schema.isPattern(/^[^/\s]+\/[^/\s]+$/u));
5
5
  /**
6
6
  * Options for generating a Changesets configuration file.
@@ -44,5 +44,4 @@ function createChangeset(options) {
44
44
  }];
45
45
  }
46
46
 
47
- //#endregion
48
47
  export { ChangesetOptions, createChangeset };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/lib/gitignore/index.ts
3
+ // src/lib/gitignore/index.ts
4
4
  /**
5
5
  * Options for generating a `.gitignore` file.
6
6
  *
@@ -46,5 +46,4 @@ function createGitignore(options) {
46
46
  }];
47
47
  }
48
48
 
49
- //#endregion
50
49
  export { GitignoreOptions, createGitignore };
@@ -1,7 +1,7 @@
1
1
  import { Effect, Schema } from "effect";
2
2
  import { PackageJsonFormat } from "@effected/package-json";
3
3
 
4
- //#region src/lib/package-json/index.ts
4
+ // src/lib/package-json/index.ts
5
5
  const Author = Schema.Struct({
6
6
  name: Schema.String,
7
7
  email: Schema.optional(Schema.String),
@@ -90,5 +90,4 @@ function createPackageJson(options) {
90
90
  }];
91
91
  }
92
92
 
93
- //#endregion
94
93
  export { PackageJsonOptions, createPackageJson };
package/lib/pnpm/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Effect, Schema } from "effect";
2
2
  import { Yaml } from "@effected/yaml";
3
3
 
4
- //#region src/lib/pnpm/index.ts
4
+ // src/lib/pnpm/index.ts
5
5
  /**
6
6
  * Options for generating a `pnpm-workspace.yaml` file.
7
7
  *
@@ -37,5 +37,4 @@ function createPnpmWorkspace(options) {
37
37
  }];
38
38
  }
39
39
 
40
- //#endregion
41
40
  export { PnpmWorkspaceOptions, createPnpmWorkspace };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/lib/readme/index.ts
3
+ // src/lib/readme/index.ts
4
4
  /**
5
5
  * Options for generating a `README.md` file.
6
6
  *
@@ -29,5 +29,4 @@ function createReadme(options) {
29
29
  }];
30
30
  }
31
31
 
32
- //#endregion
33
32
  export { ReadmeOptions, createReadme };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/lib/tsconfig/index.ts
3
+ // src/lib/tsconfig/index.ts
4
4
  /**
5
5
  * Options for generating a `tsconfig.json` file.
6
6
  *
@@ -35,5 +35,4 @@ function createTsConfig(options) {
35
35
  }];
36
36
  }
37
37
 
38
- //#endregion
39
38
  export { TsConfigOptions, createTsConfig };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/lib/turbo/index.ts
3
+ // src/lib/turbo/index.ts
4
4
  /**
5
5
  * Options for generating a root `turbo.json` file.
6
6
  *
@@ -62,5 +62,4 @@ function createTurboWorkspace(options) {
62
62
  }];
63
63
  }
64
64
 
65
- //#endregion
66
65
  export { TurboRootOptions, TurboWorkspaceOptions, createTurboRoot, createTurboWorkspace };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/lib/vscode/index.ts
3
+ // src/lib/vscode/index.ts
4
4
  const Settings = Schema.Struct({
5
5
  biome: Schema.optional(Schema.Boolean),
6
6
  turbo: Schema.optional(Schema.Boolean),
@@ -74,5 +74,4 @@ function createVsCode(options) {
74
74
  }];
75
75
  }
76
76
 
77
- //#endregion
78
77
  export { VsCodeOptions, createVsCode };
@@ -9,7 +9,7 @@ import { createTurboRoot } from "../turbo/index.js";
9
9
  import { createVsCode } from "../vscode/index.js";
10
10
  import { Effect, Schema } from "effect";
11
11
 
12
- //#region src/lib/workspace/index.ts
12
+ // src/lib/workspace/index.ts
13
13
  const Features = Schema.Struct({
14
14
  biome: Schema.optional(Schema.Boolean),
15
15
  vitest: Schema.optional(Schema.Boolean),
@@ -93,5 +93,4 @@ function createWorkspace(options) {
93
93
  return entries;
94
94
  }
95
95
 
96
- //#endregion
97
96
  export { WorkspaceOptions, createWorkspace };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/templates",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
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,8 +29,8 @@
29
29
  "./package.json": "./package.json"
30
30
  },
31
31
  "dependencies": {
32
- "@effected/package-json": "^0.22.0",
33
- "@effected/yaml": "^0.21.0"
32
+ "@effected/package-json": "^0.24.1",
33
+ "@effected/yaml": "^0.23.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "effect": "^4.0.0"