diff --git a/terra/package-lock.json b/terra/package-lock.json index 527a126..d1c43e4 100644 --- a/terra/package-lock.json +++ b/terra/package-lock.json @@ -1,12 +1,12 @@ { "name": "@agoraio-extensions/terra", - "version": "0.1.0", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@agoraio-extensions/terra", - "version": "0.1.0", + "version": "0.1.2", "license": "ISC", "dependencies": { "@types/node": "^18.8.4", @@ -39,7 +39,7 @@ }, "../terra-core": { "name": "@agoraio-extensions/terra-core", - "version": "0.1.0", + "version": "0.1.2", "license": "ISC", "peer": true, "dependencies": { diff --git a/terra/package.json b/terra/package.json index f90f4b0..989ec6f 100644 --- a/terra/package.json +++ b/terra/package.json @@ -1,6 +1,6 @@ { "name": "@agoraio-extensions/terra", - "version": "0.1.1", + "version": "0.1.2", "types": "./src/types/index.ts", "exports": { ".": "./src/types/index.ts" diff --git a/terra/src/loader/terra_config_loader.ts b/terra/src/loader/terra_config_loader.ts index a641523..9042b23 100644 --- a/terra/src/loader/terra_config_loader.ts +++ b/terra/src/loader/terra_config_loader.ts @@ -29,7 +29,7 @@ export function resolveTerraLoaderConfig( ); if (config.path) { - let p = path.join(terraConfigDir, config.path!); + let p = path.join(path.dirname(terraConfigDir), config.path!); let loaded = require(p); if (config.name) { // export named function