create-stardrive 1.2.2 → 1.2.3

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.
Files changed (2) hide show
  1. package/bin/index.js +6 -0
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -449,6 +449,12 @@ function calibratePackageJson(targetDir2, projectName2, pm2) {
449
449
  if (pkg.scripts) {
450
450
  delete pkg.scripts["sync-version"];
451
451
  delete pkg.scripts["prebuild"];
452
+ if (pkg.scripts["fix"]) {
453
+ pkg.scripts["fix"] = pkg.scripts["fix"].replace(
454
+ "npm run sync-version && ",
455
+ ""
456
+ );
457
+ }
452
458
  }
453
459
  if (pm2 === "pnpm") {
454
460
  pkg.packageManager = `pnpm@${execSync2("pnpm --version").toString().trim()}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-stardrive",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "This is the launchpad application to create the Astro Stardrive boilerplate.",
5
5
  "bin": {
6
6
  "create-stardrive": "bin/index.js"