diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..47e8993 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ + +## 3.0.0 (2018-07-16) + +* First commit + + + diff --git a/src/entity/index_spec.ts b/src/entity/index_spec.ts index d749aff..fb4bf99 100644 --- a/src/entity/index_spec.ts +++ b/src/entity/index_spec.ts @@ -21,7 +21,7 @@ describe('entity', () => { }, Tree.empty()); tree.getDir('') .visit(filePath => { - if (basename(filePath) !== 'index.ts') { + if (basename(filePath) !== 'index.ts' && basename(filePath) !== 'package.json') { const content = tree.readContent(filePath); const existsContent = readFileSync( join(rootPath, filePath) diff --git a/src/new/index_spec.ts b/src/new/index_spec.ts index c9732ae..146199e 100644 --- a/src/new/index_spec.ts +++ b/src/new/index_spec.ts @@ -20,7 +20,7 @@ describe('new', () => { }, Tree.empty()); tree.getDir('') .visit(filePath => { - if (basename(filePath) !== 'index.ts') { + if (basename(filePath) !== 'index.ts' && basename(filePath) !== 'package.json') { const content = tree.readContent(filePath); const existsContent = readFileSync( join(rootPath, filePath)