create-kyro 0.4.2 → 0.5.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 CHANGED
@@ -288,13 +288,6 @@ function generateProjectFiles(answers, projectDir) {
288
288
  const publicDir = join(projectDir, "public");
289
289
  mkdirSync(pagesDir, { recursive: true });
290
290
  mkdirSync(publicDir, { recursive: true });
291
- if (answers.database === "sqlite") {
292
- envDbSection = "# SQLite (local) - no additional config needed";
293
- } else if (answers.database === "postgres") {
294
- envDbSection = "# Database connection (PostgreSQL)\nDATABASE_URL=postgresql://user:password@localhost:5432/kyro_cms";
295
- } else {
296
- envDbSection = "# MongoDB connection\nMONGODB_URI=mongodb://localhost:27017/kyro_cms";
297
- }
298
291
  const tsconfig = `{
299
292
  "extends": "astro/tsconfigs/strict",
300
293
  "compilerOptions": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kyro",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Interactive scaffolding for Kyro CMS projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,4 +44,4 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  }
47
- }
47
+ }
@@ -13,14 +13,6 @@ export function generateProjectFiles(
13
13
  mkdirSync(pagesDir, { recursive: true });
14
14
  mkdirSync(publicDir, { recursive: true });
15
15
 
16
- if (answers.database === "sqlite") {
17
- envDbSection = "# SQLite (local) - no additional config needed";
18
- } else if (answers.database === "postgres") {
19
- envDbSection = "# Database connection (PostgreSQL)\nDATABASE_URL=postgresql://user:password@localhost:5432/kyro_cms";
20
- } else {
21
- envDbSection = "# MongoDB connection\nMONGODB_URI=mongodb://localhost:27017/kyro_cms";
22
- }
23
-
24
16
  const tsconfig = `{
25
17
  "extends": "astro/tsconfigs/strict",
26
18
  "compilerOptions": {