create-tamagui 1.29.0 → 1.29.2

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
@@ -45273,7 +45273,7 @@ var globby2 = Object.assign(function globby3(patterns, options) {
45273
45273
  // package.json
45274
45274
  var package_default = {
45275
45275
  name: "create-tamagui",
45276
- version: "1.28.3",
45276
+ version: "1.29.1",
45277
45277
  bin: "./run.js",
45278
45278
  main: "dist",
45279
45279
  files: [
@@ -45307,7 +45307,7 @@ var package_default = {
45307
45307
  },
45308
45308
  devDependencies: {
45309
45309
  "@playwright/test": "^1.29.0",
45310
- "@tamagui/build": "1.28.3",
45310
+ "@tamagui/build": "1.29.1",
45311
45311
  "@types/async-retry": "1.4.2",
45312
45312
  "@types/cross-spawn": "^6.0.2",
45313
45313
  "@types/node": "^16.11.9",
@@ -45565,6 +45565,17 @@ ${err.stack}` : "trying from fresh."}`
45565
45565
  console.error("[tamagui] error installing with " + packageManager + "\n", e == null ? void 0 : e.message);
45566
45566
  process.exit(1);
45567
45567
  }
45568
+ if (shouldGitInit) {
45569
+ try {
45570
+ (0, import_child_process.execSync)("git checkout -b main", { stdio: "ignore" });
45571
+ (0, import_child_process.execSync)("git add -A", { stdio: "ignore" });
45572
+ (0, import_child_process.execSync)('git commit -m "Initial commit from create-tamagui"', {
45573
+ stdio: "ignore"
45574
+ });
45575
+ } catch (e) {
45576
+ console.error("[tamagui] Failed to create initial commit.\n\n", e.message);
45577
+ }
45578
+ }
45568
45579
  console.log(`${import_chalk5.default.green("Success!")} Created ${projectName} at ${projectPath}`);
45569
45580
  console.log("Inside that directory, you can run several commands:");
45570
45581
  console.log();