create-bodhi-js 0.2.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.d.ts CHANGED
@@ -1 +1,2 @@
1
- #!/usr/bin/env node
1
+
2
+ export { }
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- #!/usr/bin/env node
3
2
 
4
3
  // src/index.ts
5
4
  import { Command } from "commander";
@@ -23,7 +22,11 @@ var TEMPLATE_FILES = [
23
22
  "index.html",
24
23
  "public/404.html",
25
24
  "README.md",
26
- "playwright.config.ts"
25
+ "playwright.config.ts",
26
+ "CONTRIBUTING.md",
27
+ "src/App.tsx",
28
+ ".github/SECURITY.md",
29
+ ".github/ISSUE_TEMPLATE/config.yml"
27
30
  ];
28
31
  async function processTemplates(targetDir, vars) {
29
32
  for (const file of TEMPLATE_FILES) {
@@ -197,8 +200,8 @@ async function create(projectName, options) {
197
200
  let pathSegmentsToKeep = 0;
198
201
  if (enableGithubPages) {
199
202
  const orgResult = await p.text({
200
- message: "GitHub organization/username:",
201
- placeholder: "my-org"
203
+ message: "Github Repo Owner (User/Org):",
204
+ placeholder: "<gh-user>"
202
205
  });
203
206
  if (p.isCancel(orgResult)) {
204
207
  p.cancel("Operation cancelled");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bodhi-js",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Scaffold Bodhi-powered applications with React, TypeScript, Vite, and more",
5
5
  "type": "module",
6
6
  "bin": {