create-bodhi-js 0.3.0 → 0.4.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/index.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22,7 +22,11 @@ var TEMPLATE_FILES = [
|
|
|
22
22
|
"index.html",
|
|
23
23
|
"public/404.html",
|
|
24
24
|
"README.md",
|
|
25
|
-
"playwright.config.ts"
|
|
25
|
+
"playwright.config.ts",
|
|
26
|
+
"CONTRIBUTING.md",
|
|
27
|
+
"src/App.tsx",
|
|
28
|
+
".github/SECURITY.md",
|
|
29
|
+
".github/ISSUE_TEMPLATE/config.yml"
|
|
26
30
|
];
|
|
27
31
|
async function processTemplates(targetDir, vars) {
|
|
28
32
|
for (const file of TEMPLATE_FILES) {
|
|
@@ -196,8 +200,8 @@ async function create(projectName, options) {
|
|
|
196
200
|
let pathSegmentsToKeep = 0;
|
|
197
201
|
if (enableGithubPages) {
|
|
198
202
|
const orgResult = await p.text({
|
|
199
|
-
message: "
|
|
200
|
-
placeholder: "
|
|
203
|
+
message: "Github Repo Owner (User/Org):",
|
|
204
|
+
placeholder: "<gh-user>"
|
|
201
205
|
});
|
|
202
206
|
if (p.isCancel(orgResult)) {
|
|
203
207
|
p.cancel("Operation cancelled");
|