bob-core 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.
@@ -53,11 +53,13 @@ class CommandRegistry {
53
53
  }
54
54
  async loadCommandsPath(commandsPath) {
55
55
  for await (const file of this.listCommandsFiles(commandsPath)) {
56
+ console.log(`Loading command ${file}`);
56
57
  let CommandClass;
57
58
  try {
58
59
  CommandClass = (await require(file)).default;
59
60
  }
60
61
  catch (e) {
62
+ console.error(`Failed to load command ${file}. ${e}`);
61
63
  // Ignore files that are not commands
62
64
  continue;
63
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bob-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "BOB Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "start": "ts-node ./tests/main.ts",
12
12
  "build": "tsc"
13
13
  },
14
- "author": "",
14
+ "author": "Léo Hubert",
15
15
  "license": "ISC",
16
16
  "devDependencies": {
17
17
  "@types/lodash": "^4.17.5",