create-better-fullstack 1.3.3 → 1.3.4

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/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { o as createBtsCli } from "./src-BsG0rAVT.mjs";
2
+ import { o as createBtsCli } from "./src-ktRnMdaa.mjs";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { a as create, c as docs, d as sponsors, i as builder, l as generateVirtualProject, n as TEMPLATE_COUNT, o as createBtsCli, r as VirtualFileSystem, s as createVirtual, t as EMBEDDED_TEMPLATES, u as router } from "./src-BsG0rAVT.mjs";
2
+ import { a as create, c as docs, d as sponsors, i as builder, l as generateVirtualProject, n as TEMPLATE_COUNT, o as createBtsCli, r as VirtualFileSystem, s as createVirtual, t as EMBEDDED_TEMPLATES, u as router } from "./src-ktRnMdaa.mjs";
3
3
 
4
4
  export { EMBEDDED_TEMPLATES, TEMPLATE_COUNT, VirtualFileSystem, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };
@@ -7041,6 +7041,24 @@ async function initializeGit(projectDir, useGit) {
7041
7041
  stderr: "pipe"
7042
7042
  })`git init`;
7043
7043
  if (result.exitCode !== 0) throw new Error(`Git initialization failed: ${result.stderr}`);
7044
+ if (!(await $({
7045
+ cwd: projectDir,
7046
+ env: gitEnv,
7047
+ reject: false,
7048
+ stderr: "pipe"
7049
+ })`git config user.name`).stdout.trim()) await $({
7050
+ cwd: projectDir,
7051
+ env: gitEnv
7052
+ })`git config user.name ${"Better Fullstack"}`;
7053
+ if (!(await $({
7054
+ cwd: projectDir,
7055
+ env: gitEnv,
7056
+ reject: false,
7057
+ stderr: "pipe"
7058
+ })`git config user.email`).stdout.trim()) await $({
7059
+ cwd: projectDir,
7060
+ env: gitEnv
7061
+ })`git config user.email ${"scaffold@better-fullstack.dev"}`;
7044
7062
  await $({
7045
7063
  cwd: projectDir,
7046
7064
  env: gitEnv
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-fullstack",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "A CLI-first toolkit for building Full Stack applications. Skip the configuration. Ship the code.",
5
5
  "keywords": [
6
6
  "better-auth",
@@ -76,8 +76,8 @@
76
76
  "prepublishOnly": "npm run build"
77
77
  },
78
78
  "dependencies": {
79
- "@better-fullstack/template-generator": "^1.3.3",
80
- "@better-fullstack/types": "^1.3.3",
79
+ "@better-fullstack/template-generator": "^1.3.4",
80
+ "@better-fullstack/types": "^1.3.4",
81
81
  "@clack/core": "^0.5.0",
82
82
  "@clack/prompts": "^1.0.0-alpha.8",
83
83
  "@orpc/server": "^1.13.0",