jarvis-arch-hexagonal-gen 1.0.2 → 1.0.3

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.
@@ -17,7 +17,7 @@ async function generateCommand(plugin, entity, options) {
17
17
  }
18
18
  const metadata = (0, parser_1.parseEntity)(entity, { columns });
19
19
  // Lê configuração
20
- const pluginsDir = path_1.default.join(__dirname, '..', 'plugins');
20
+ const pluginsDir = path_1.default.join(__dirname, '..', '..', 'plugins');
21
21
  const generator = new generator_1.Generator(pluginsDir);
22
22
  try {
23
23
  await generator.generate(plugin, metadata, options);
@@ -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, '..', 'plugins');
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jarvis-arch-hexagonal-gen",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Gerador de recursos para projetos Node.js com TypeScript",
5
5
  "keywords": [
6
6
  "Arquitetura Hexagonal",