@naturalcycles/cli
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,8 @@ | ||
## [1.0.4](https://github.com/NaturalCycles/cli/compare/v1.0.3...v1.0.4) (2020-04-04) | ||
### Bug Fixes | ||
* tsconfig-paths ([a2d7b57](https://github.com/NaturalCycles/cli/commit/a2d7b57dc196da34841b1d7a9ea743c857454e74)) | ||
## [1.0.3](https://github.com/NaturalCycles/cli/compare/v1.0.2...v1.0.3) (2020-04-04) | ||
@@ -2,0 +9,0 @@ |
@@ -35,4 +35,4 @@ #!/usr/bin/env node | ||
}); | ||
if (nodeModuleExists('tsconfig-paths')) { | ||
require('tsconfig-paths/register'); | ||
if (fs.existsSync(`./node_modules/tsconfig-paths`)) { | ||
require('./node_modules/tsconfig-paths/register'); | ||
} | ||
@@ -71,4 +71,1 @@ const { NODE_OPTIONS } = process.env; | ||
} | ||
function nodeModuleExists(moduleName) { | ||
return fs.existsSync(`./node_modules/${moduleName}`); | ||
} |
@@ -40,3 +40,3 @@ { | ||
}, | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "CLI utils to be installed globally via 'npm i -g'", | ||
@@ -43,0 +43,0 @@ "author": "Natural Cycles Team", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5407
81