brick-engine-cli 1.0.9 → 1.0.10

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
@@ -8,13 +8,11 @@ const commander_1 = require("commander");
8
8
  const init_1 = require("./commands/init");
9
9
  const publish_1 = require("./commands/publish");
10
10
  const chalk_1 = __importDefault(require("chalk"));
11
- const fs_1 = require("fs");
12
11
  function run() {
13
- const pkg = JSON.parse((0, fs_1.readFileSync)("package.json", "utf-8"));
14
12
  commander_1.program
15
13
  .name("brick-engine-cli")
16
14
  .description("CLI to scaffold Brick Engine projects")
17
- .version(pkg.version);
15
+ .version("1.0.8");
18
16
  commander_1.program
19
17
  .command("init <name>")
20
18
  .description("Initialize a new Brick Engine project")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brick-engine-cli",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "CLI to scaffold Brick Game projects",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -5,12 +5,10 @@ import chalk from "chalk";
5
5
  import { readFileSync } from "fs";
6
6
 
7
7
  export function run() {
8
- const pkg = JSON.parse(readFileSync("package.json", "utf-8"));
9
-
10
8
  program
11
9
  .name("brick-engine-cli")
12
10
  .description("CLI to scaffold Brick Engine projects")
13
- .version(pkg.version);
11
+ .version("1.0.8");
14
12
 
15
13
  program
16
14
  .command("init <name>")