@p8ec/shared 1.1.1 → 1.1.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.
@@ -64,10 +64,10 @@ Commands:
64
64
  const init = () => {
65
65
  // eslint-disable-next-line no-console
66
66
  console.log('Creating .eslintrc.js...');
67
- fs.writeFileSync(path.join(path.resolve(__dirname), '.eslintrc.js'), `module.exports = require('@p8ec/shared').eslintConfigRecommended;`);
67
+ fs.writeFileSync(path.join(process.cwd(), '.eslintrc.js'), `module.exports = require('@p8ec/shared').eslintConfigRecommended;`);
68
68
  // eslint-disable-next-line no-console
69
69
  console.log('Creating .prettierrc.js...');
70
- fs.writeFileSync(path.join(path.resolve(__dirname), '.prettierrc.js'), `module.exports = require('@p8ec/shared').prettierConfigRecommended;`);
70
+ fs.writeFileSync(path.join(process.cwd(), '.prettierrc.js'), `module.exports = require('@p8ec/shared').prettierConfigRecommended;`);
71
71
  // Remove eslintConfig and prettier from package.json
72
72
  // eslint-disable-next-line no-console
73
73
  console.log('Removing eslintConfig and prettier from package.json...');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@p8ec/shared",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "P(8) Global Shared Library",
5
5
  "repository": {
6
6
  "type": "git",