create-cwa 2.0.0-alpha.36 → 2.0.0-alpha.38
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/index.d.ts +1 -0
- package/dist/types.d.ts +36 -0
- package/dist/types.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface ManifestChoice {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
requires?: string[];
|
|
5
|
+
}
|
|
6
|
+
export interface ManifestQuestion {
|
|
7
|
+
id: string;
|
|
8
|
+
type: 'text' | 'select' | 'multiselect' | 'confirm';
|
|
9
|
+
message: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
default?: boolean;
|
|
13
|
+
choices?: ManifestChoice[];
|
|
14
|
+
}
|
|
15
|
+
export interface ManifestFeature {
|
|
16
|
+
requires?: string[];
|
|
17
|
+
exclude: string[];
|
|
18
|
+
}
|
|
19
|
+
export interface ManifestCi {
|
|
20
|
+
exclude: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface Manifest {
|
|
23
|
+
version: string;
|
|
24
|
+
repo: string;
|
|
25
|
+
branch: string;
|
|
26
|
+
alwaysExclude: string[];
|
|
27
|
+
questions: ManifestQuestion[];
|
|
28
|
+
features: Record<string, ManifestFeature>;
|
|
29
|
+
ci: Record<string, ManifestCi>;
|
|
30
|
+
}
|
|
31
|
+
export interface Answers {
|
|
32
|
+
projectName: string;
|
|
33
|
+
ci: string;
|
|
34
|
+
features: string[];
|
|
35
|
+
fixtures: boolean;
|
|
36
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|