@dolphjs/cli 0.1.0 → 0.1.1

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/new-app.mjs +3 -1
  2. package/package.json +1 -1
package/new-app.mjs CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  const program = new Command();
30
30
 
31
31
  program
32
- .version("0.1.0")
32
+ .version("0.1.1")
33
33
  .command("create-app <app-name>")
34
34
  .description("Create a new dolphJs application")
35
35
  .action(async (appName) => {
@@ -165,9 +165,11 @@ program
165
165
  process.exit(1);
166
166
  } catch (error) {
167
167
  console.log(chalk.redBright("\nError creating your app", error));
168
+ process.exit(1);
168
169
  }
169
170
  } catch (error) {
170
171
  console.log(chalk.redBright("Error creating your app", error));
172
+ process.exit(1);
171
173
  }
172
174
  });
173
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphjs/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "DolphJs is an express.js library for making software development easier by taking care of all the unneccessary tasks developers have to worry about.",
5
5
  "main": "new-app.mjs",
6
6
  "bin": {