@stardeck-customer-apps/compose 0.1.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/SKILL.md +59 -0
- package/dist/cli.js +5285 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +5267 -0
- package/dist/index.mjs +5232 -0
- package/dist/runtime.d.mts +24 -0
- package/dist/runtime.d.ts +24 -0
- package/dist/runtime.js +37 -0
- package/dist/runtime.mjs +10 -0
- package/package.json +65 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface ComposeOptions {
|
|
2
|
+
/** Repo root of the customer app (the directory holding `apps/web`). */
|
|
3
|
+
cwd: string;
|
|
4
|
+
/**
|
|
5
|
+
* Raw comma-separated feature Module names. Undefined composes every
|
|
6
|
+
* installed Module, which is what an unset selection means everywhere else.
|
|
7
|
+
*/
|
|
8
|
+
enabled?: string;
|
|
9
|
+
/** Delete the source of every excluded Module after composing. */
|
|
10
|
+
prune?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ComposeResult {
|
|
13
|
+
composedModules: string[];
|
|
14
|
+
excludedModules: string[];
|
|
15
|
+
writes: number;
|
|
16
|
+
deletes: number;
|
|
17
|
+
/** Directories removed by `prune` (excluded Modules + orphaned enhancements). */
|
|
18
|
+
pruned: number;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Regenerate the Module-rail artifacts (the five `src/*.gen.ts` files and every
|
|
22
|
+
* route/endpoint stub under `src/app`) for the app rooted at `options.cwd`.
|
|
23
|
+
*/
|
|
24
|
+
declare function compose(options: ComposeOptions): Promise<ComposeResult>;
|
|
25
|
+
|
|
26
|
+
export { type ComposeOptions, type ComposeResult, compose };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface ComposeOptions {
|
|
2
|
+
/** Repo root of the customer app (the directory holding `apps/web`). */
|
|
3
|
+
cwd: string;
|
|
4
|
+
/**
|
|
5
|
+
* Raw comma-separated feature Module names. Undefined composes every
|
|
6
|
+
* installed Module, which is what an unset selection means everywhere else.
|
|
7
|
+
*/
|
|
8
|
+
enabled?: string;
|
|
9
|
+
/** Delete the source of every excluded Module after composing. */
|
|
10
|
+
prune?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ComposeResult {
|
|
13
|
+
composedModules: string[];
|
|
14
|
+
excludedModules: string[];
|
|
15
|
+
writes: number;
|
|
16
|
+
deletes: number;
|
|
17
|
+
/** Directories removed by `prune` (excluded Modules + orphaned enhancements). */
|
|
18
|
+
pruned: number;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Regenerate the Module-rail artifacts (the five `src/*.gen.ts` files and every
|
|
22
|
+
* route/endpoint stub under `src/app`) for the app rooted at `options.cwd`.
|
|
23
|
+
*/
|
|
24
|
+
declare function compose(options: ComposeOptions): Promise<ComposeResult>;
|
|
25
|
+
|
|
26
|
+
export { type ComposeOptions, type ComposeResult, compose };
|