diff --git a/lib/generator.ts b/lib/generator.ts index 1424fc5..c561acb 100644 --- a/lib/generator.ts +++ b/lib/generator.ts @@ -26,7 +26,7 @@ class AiWarpGenerator extends ServiceGenerator { // TODO: temporary fix, when running the typescript files directly // (in tests) this goes a directory above the actual project. Exposing // temporarily until I come up with something better - aiWarpPackageJsonPath: join(import.meta.dirname, '..', '..', 'package.json') + aiWarpPackageJsonPath: join(dir, '..', '..', 'package.json') } return Object.assign({}, defaultBaseConfig, defaultConfig) } diff --git a/package.json b/package.json index 82bbb89..77f6de8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@platformatic/ai-warp", - "version": "0.1.3", + "version": "0.1.4", "main": "dist/index.js", "type": "module", "bin": {