jarvis-arch-hexagonal-gen 1.0.3 → 1.0.5
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/core/generator.js
CHANGED
|
@@ -12,7 +12,7 @@ const plugin_manager_1 = require("./plugin-manager");
|
|
|
12
12
|
const hook_runner_1 = require("./hook-runner");
|
|
13
13
|
class Generator {
|
|
14
14
|
constructor(pluginsDir) {
|
|
15
|
-
const defaultPluginsDir = path_1.default.join(__dirname, '..', '
|
|
15
|
+
const defaultPluginsDir = path_1.default.join(__dirname, '..', 'plugins');
|
|
16
16
|
this.pluginManager = new plugin_manager_1.PluginManager(pluginsDir || defaultPluginsDir);
|
|
17
17
|
this.hookRunner = new hook_runner_1.HookRunner();
|
|
18
18
|
}
|
|
@@ -16,6 +16,7 @@ class PluginManager {
|
|
|
16
16
|
if (this.cache.has(pluginName))
|
|
17
17
|
return this.cache.get(pluginName);
|
|
18
18
|
const foundPath = this.findPluginPath(pluginName);
|
|
19
|
+
console.log(foundPath);
|
|
19
20
|
if (!foundPath) {
|
|
20
21
|
throw new Error(`Manifest não encontrado para o plugin "${pluginName}"`);
|
|
21
22
|
}
|