@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 CHANGED
@@ -629,7 +629,7 @@ const rootPath = (pathName, ignore) => {
629
629
  };
630
630
 
631
631
  export const dotFiles = () => {
632
- write(rootPath('eslint.config.js'), parse(read(join(localDirname, 'dotFiles', 'eslint.config.js'), INSTALL)), 'eslint.config.js', INSTALL, true);
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
- console.log(': ' + apiFilename.info + ' ' + 'already setup'.warn);
299
+ process.stdout.write(': ' + apiFilename.info + ' ' + 'already setup'.warn);
300
300
  apiDefinition = fs.readFileSync(apiFilename, 'utf8');
301
301
  }
302
302
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/local",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "description": "Local setup configuration for normal and test opreration",
5
5
  "main": "./index.js",
6
6
  "type": "module",