create-prisma-php-app 1.6.45 → 1.6.46

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/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ import path from "path";
6
6
  import chalk from "chalk";
7
7
  import prompts from "prompts";
8
8
  import https from "https";
9
+ import { exitCode } from "process";
9
10
  const __filename = fileURLToPath(import.meta.url);
10
11
  const __dirname = path.dirname(__filename);
11
12
  let updateAnswer = null;
@@ -442,6 +443,7 @@ async function main() {
442
443
  answer = await getAnswer(predefinedAnswers);
443
444
  if (answer === null) {
444
445
  console.log(chalk.red("Installation cancelled."));
446
+ exitCode;
445
447
  return;
446
448
  }
447
449
  updateAnswer = {
@@ -457,6 +459,7 @@ async function main() {
457
459
  }
458
460
  if (answer === null) {
459
461
  console.log(chalk.red("Installation cancelled."));
462
+ exitCode;
460
463
  return;
461
464
  }
462
465
  // execSync(`npm install -g create-prisma-php-app`, { stdio: "inherit" }); // TODO: Uncomment this line before publishing the package
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.6.45",
3
+ "version": "1.6.46",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",