@mimik/local 7.0.0 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/lib/tasks.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -629,7 +629,7 @@ const rootPath = (pathName, ignore) => {
|
|
|
629
629
|
};
|
|
630
630
|
|
|
631
631
|
export const dotFiles = () => {
|
|
632
|
-
write(rootPath('eslint.config.js'),
|
|
632
|
+
write(rootPath('eslint.config.js'), read(join(localDirname, 'dotFiles', 'eslint.config.js'), INSTALL), INSTALL);
|
|
633
633
|
write(rootPath('.nycrc'), parse(read(join(localDirname, 'dotFiles', 'nycrc.json'), 'nycrc.json', INSTALL)), INSTALL, true);
|
|
634
634
|
write(rootPath('.gitignore'), read(join(localDirname, 'dotFiles', 'gitIgnore.txt'), INSTALL), INSTALL);
|
|
635
635
|
};
|
package/lib/tasks.js
CHANGED
|
@@ -296,7 +296,7 @@ const getAPI = (directory, swaggerFile, key) => {
|
|
|
296
296
|
|
|
297
297
|
try {
|
|
298
298
|
if (fs.existsSync(apiFilename)) {
|
|
299
|
-
|
|
299
|
+
process.stdout.write(': ' + apiFilename.info + ' ' + 'already setup'.warn);
|
|
300
300
|
apiDefinition = fs.readFileSync(apiFilename, 'utf8');
|
|
301
301
|
}
|
|
302
302
|
}
|