create-lacspace-app 2.9.0 → 2.11.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/lib.d.cts CHANGED
@@ -26,6 +26,12 @@ interface FeatureDef {
26
26
  deps: Record<string, string>;
27
27
  /** The files this feature drops in, given the resolved {@link Ctx}. */
28
28
  files: (ctx: Ctx) => Record<string, string>;
29
+ /**
30
+ * Files placed at the PROJECT ROOT — in static mode that's the app root; in
31
+ * dynamic mode it's the monorepo root (not `frontend/`). Use it for things a
32
+ * repo needs at the top, like a CI workflow.
33
+ */
34
+ rootFiles?: (ctx: Ctx) => Record<string, string>;
29
35
  /** Optional `.env.example` entries — `NAME: "explanatory comment"`. */
30
36
  env?: Record<string, string>;
31
37
  /** Optional `package.json` scripts, merged in. */
package/dist/lib.d.ts CHANGED
@@ -26,6 +26,12 @@ interface FeatureDef {
26
26
  deps: Record<string, string>;
27
27
  /** The files this feature drops in, given the resolved {@link Ctx}. */
28
28
  files: (ctx: Ctx) => Record<string, string>;
29
+ /**
30
+ * Files placed at the PROJECT ROOT — in static mode that's the app root; in
31
+ * dynamic mode it's the monorepo root (not `frontend/`). Use it for things a
32
+ * repo needs at the top, like a CI workflow.
33
+ */
34
+ rootFiles?: (ctx: Ctx) => Record<string, string>;
29
35
  /** Optional `.env.example` entries — `NAME: "explanatory comment"`. */
30
36
  env?: Record<string, string>;
31
37
  /** Optional `package.json` scripts, merged in. */