diff --git a/package-lock.json b/package-lock.json index 0435c8b..88e9915 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mappable-world/mappable-cli", - "version": "0.0.22", + "version": "0.0.23", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@mappable-world/mappable-cli", - "version": "0.0.22", + "version": "0.0.23", "license": "Apache-2", "dependencies": { "marked": "^9.0.2", diff --git a/package.json b/package.json index d3cc2fe..c125e35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mappable-world/mappable-cli", - "version": "0.0.22", + "version": "0.0.23", "description": "Library for encapsulating the logic of autotests and building packages mappable.world js API", "main": "dist/index.js", "dependencies": { diff --git a/src/controllers/create.ts b/src/controllers/create.ts index 1b2a7a4..77ba87c 100644 --- a/src/controllers/create.ts +++ b/src/controllers/create.ts @@ -23,7 +23,7 @@ export async function create() { const macros: Macros = { YEAR: new Date().getFullYear(), - UTILS_VERSION: require('../package.json').version, + UTILS_VERSION: require('../../package.json').version, PACKAGE_VERSION: '0.0.1-beta.1', PACKAGE_NAME: packageName, PACKAGE_NAME_ENC: encodeURIComponent(packageName)