This repository was archived by the owner on Jan 28, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwizard.json
More file actions
75 lines (75 loc) · 2.13 KB
/
wizard.json
File metadata and controls
75 lines (75 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"$schema": "https://package-wizard.com/schemas/schema-v2.json",
"wizard": {
"manager": {
"composer": false,
"npm": false,
"yarn": false
}
},
"variables": [
{
"type": "year",
"replace": "%year%"
}
],
"removes": [
"composer.json"
],
"questions": [
{
"type": "ask",
"prompt": "text",
"question": "Which name of your project?",
"placeholder": "E.g. Package Wizard",
"replace": [
"The Dragon Code",
"The Best Documentation",
"The Best Documentation Template"
]
},
{
"type": "ask",
"prompt": "text",
"question": "What domain name will the documentation have?",
"replace": "package-wizard.com",
"required": false,
"regex": "#^[a-zA-Z0-9-_]+\\.[a-z]{2,}$#"
},
{
"type": "ask",
"prompt": "text",
"question": "Which is repository URL? (without schema)",
"placeholder": "E.g. github.com/package-wizard/writerside-template",
"replace": "github.com/package-wizard/writerside-template",
"required": false
},
{
"type": "ask",
"prompt": "text",
"question": "Which is ALGOLIA key?",
"placeholder": "E.g. 1830e628...",
"replace": ":algolia-api-key:"
},
{
"type": "ask",
"prompt": "text",
"question": "Which is ALGOLIA project ID?",
"placeholder": "E.g. K2N8...",
"replace": ":algolia-id:"
},
{
"type": "ask",
"prompt": "text",
"question": "Which is ALGOLIA index name?",
"placeholder": "E.g. documentation-index",
"replace": ":algolia-index:"
},
{
"id": "license",
"type": "license",
"replace": [":license:", "MIT License"],
"default": "MIT License"
}
]
}