@codedrifters/configulator 0.0.444 → 0.0.445

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/lib/index.d.mts CHANGED
@@ -14556,8 +14556,11 @@ interface StarlightProjectOptions extends AstroProjectOptions {
14556
14556
  */
14557
14557
  readonly sharpVersion?: string;
14558
14558
  /**
14559
- * Emit sample Starlight content (`src/content/docs/index.mdx`,
14560
- * `src/content.config.ts`).
14559
+ * Emit the sample Starlight landing page (`src/content/docs/index.mdx`).
14560
+ *
14561
+ * Does not gate `src/content.config.ts` — that file declares the `docs`
14562
+ * collection and is always emitted, since Starlight's content layer is
14563
+ * non-functional without it.
14561
14564
  *
14562
14565
  * @default false
14563
14566
  */
package/lib/index.d.ts CHANGED
@@ -14605,8 +14605,11 @@ interface StarlightProjectOptions extends AstroProjectOptions {
14605
14605
  */
14606
14606
  readonly sharpVersion?: string;
14607
14607
  /**
14608
- * Emit sample Starlight content (`src/content/docs/index.mdx`,
14609
- * `src/content.config.ts`).
14608
+ * Emit the sample Starlight landing page (`src/content/docs/index.mdx`).
14609
+ *
14610
+ * Does not gate `src/content.config.ts` — that file declares the `docs`
14611
+ * collection and is always emitted, since Starlight's content layer is
14612
+ * non-functional without it.
14610
14613
  *
14611
14614
  * @default false
14612
14615
  */
package/lib/index.js CHANGED
@@ -44574,13 +44574,13 @@ var StarlightProject = class extends AstroProject {
44574
44574
  if (turbo?.compileTask) {
44575
44575
  turbo.compileTask.inputs.push("src/content/**");
44576
44576
  }
44577
+ new import_projen33.SampleFile(this, "src/content.config.ts", {
44578
+ contents: DEFAULT_CONTENT_CONFIG_TS
44579
+ });
44577
44580
  if (userOptions.sampleContent === true) {
44578
44581
  new import_projen33.SampleFile(this, "src/content/docs/index.mdx", {
44579
44582
  contents: DEFAULT_INDEX_MDX
44580
44583
  });
44581
- new import_projen33.SampleFile(this, "src/content.config.ts", {
44582
- contents: DEFAULT_CONTENT_CONFIG_TS
44583
- });
44584
44584
  }
44585
44585
  }
44586
44586
  };