dicebear 5.0.0-alpha.1 → 5.0.0-alpha.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/lib/index.js CHANGED
@@ -7,13 +7,11 @@ const commander_1 = require("commander");
7
7
  const update_notifier_1 = __importDefault(require("update-notifier"));
8
8
  const getPackageJson_1 = require("./utils/getPackageJson");
9
9
  const makeCreateCommand_1 = require("./utils/command/makeCreateCommand");
10
- const makeProjectCommand_1 = require("./utils/command/makeProjectCommand");
11
10
  (async () => {
12
11
  const pkg = await (0, getPackageJson_1.getPackageJson)();
13
12
  const program = new commander_1.Command('dicebear');
14
13
  (0, update_notifier_1.default)({ pkg }).notify();
15
14
  program.version(pkg.version, '-v, --version');
16
15
  program.addCommand(await (0, makeCreateCommand_1.makeCreateCommand)());
17
- program.addCommand(await (0, makeProjectCommand_1.makeProjectCommand)());
18
16
  await program.parseAsync(process.argv);
19
17
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dicebear",
3
- "version": "5.0.0-alpha.1",
3
+ "version": "5.0.0-alpha.10",
4
4
  "description": "CLI for DiceBear - An avatar library for designers and developers",
5
5
  "bin": "bin/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -25,13 +25,12 @@
25
25
  "build:ts": "tsc"
26
26
  },
27
27
  "dependencies": {
28
- "@dicebear/collection": "^5.0.0-alpha.1",
29
- "@dicebear/core": "^5.0.0-alpha.0",
28
+ "@dicebear/collection": "^5.0.0-alpha.10",
29
+ "@dicebear/core": "^5.0.0-alpha.10",
30
30
  "ajv": "^8.1.0",
31
31
  "chalk": "^4.1.1",
32
32
  "cli-progress": "^3.9.0",
33
33
  "commander": "^7.2.0",
34
- "dicebear-project": "^5.0.0-alpha.0",
35
34
  "download": "^8.0.0",
36
35
  "execa": "^4.1.0",
37
36
  "fs-extra": "^9.1.0",
@@ -56,5 +55,5 @@
56
55
  "typescript": "^4.3.5"
57
56
  },
58
57
  "homepage": "https://github.com/dicebear/dicebear",
59
- "gitHead": "e4489c307e65ec8f162a09d17de26f7e8e96f5e1"
58
+ "gitHead": "09c7040abb7d75bfd79c2947c0a0e9b377793510"
60
59
  }
@@ -1 +0,0 @@
1
- export declare function makeProjectCommand(): Promise<import("commander").Command>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.makeProjectCommand = void 0;
4
- const commander_1 = require("commander");
5
- const makeNewCommand_1 = require("dicebear-project/lib/utils/command/makeNewCommand");
6
- const makeBuildCommand_1 = require("dicebear-project/lib/utils/command/makeBuildCommand");
7
- async function makeProjectCommand() {
8
- const cmd = new commander_1.Command('project');
9
- cmd.addCommand(await (0, makeNewCommand_1.makeNewCommand)());
10
- cmd.addCommand(await (0, makeBuildCommand_1.makeBuildCommand)());
11
- return cmd;
12
- }
13
- exports.makeProjectCommand = makeProjectCommand;