Comparing version 3.6.3 to 3.6.4
@@ -5,4 +5,11 @@ # CHANGELOG | ||
#### *v3.6.3 - 01/11/2018 | ||
#### *v3.6.4 - 08/11/2018 | ||
- Small bug fix on the ParseImports module (in the try/catch of the read from directory). There was a typo on the catch exception variable, that, for example, if the user made some error on the imported directory name, it caused MergerJS to crash without notifying the user; | ||
- Other minor small fixes. | ||
| ||
#### v3.6.3 - 01/11/2018 | ||
- Multiple package updates. | ||
@@ -9,0 +16,0 @@ |
@@ -15,3 +15,3 @@ #!/usr/bin/env node | ||
mergerCLI((newConfig) => { | ||
mergerCLI( ( newConfig ) => { | ||
config( newConfig, () => { | ||
@@ -18,0 +18,0 @@ |
@@ -49,3 +49,3 @@ 'use strict'; | ||
fs.mkdir( buildPath, ( err ) => { | ||
if ( err ) if ( err ) { | ||
if ( err ) { | ||
console.error( style.ERROR, err ); | ||
@@ -52,0 +52,0 @@ return reject( err ); |
'use strict'; | ||
const fs = require( 'fs' ); | ||
const path = require('path'); | ||
@@ -59,3 +58,3 @@ const lineByLine = require( 'line-by-line' ); | ||
} catch ( e ) { | ||
return console.error( style.styledError, `There was an error while reading the file names from the directory: "${treatedLine}"\n`, err ); | ||
return console.error( style.styledError, `There was an error while reading the file names from the directory: "${treatedLine}"\n`, e ); | ||
} | ||
@@ -62,0 +61,0 @@ |
'use strict'; | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
@@ -4,0 +3,0 @@ const writeConfigFile = require('../utils').writeJSONFile; |
'use strict'; | ||
const path = require('path'); | ||
const prompt = require('../../node_modules/inquirer').createPromptModule(); | ||
const readDir = require('../utils').readDir; | ||
const findFile = require( '../utils' ).findFileOrDir; | ||
@@ -6,0 +5,0 @@ const sourceFileModel = require( '../../models/sourceFileModel' ); |
'use strict'; | ||
const fs = require( 'fs' ); | ||
const path = require( 'path' ); | ||
const httpClient = require( './httpClient' ); | ||
@@ -5,0 +3,0 @@ const Utils = require( './utils' ); |
{ | ||
"name": "merger-js", | ||
"displayName": "MergerJS", | ||
"version": "3.6.3", | ||
"version": "3.6.4", | ||
"description": "Yet another light weight and simple cross-platform build tool for JavaScript files, with CLI tooling, file imports, auto build capabilities and native OS notifications.", | ||
@@ -6,0 +6,0 @@ "readme": "https://github.com/joao-neves95/merger-js/blob/master/README.md", |
@@ -7,4 +7,8 @@ # TODO | ||
- Add license headers; | ||
- Solve bug where its added "\ufeff" unicode characters on the build/read files process. No interpreter errors though (Char encoding Node.js issue. Use "strip-bom" package on the next release); | ||
- Sometimes there is a strange bug where MergerJS goes into some sort of build loop after the initial scan (TODO: find why and fix). | ||
- TESTS; | ||
@@ -11,0 +15,0 @@ - Add an edit source file command to the CLI; |
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
4
72402
1181