createfileshare 2.0.0 → 2.1.0

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.
Files changed (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -182,16 +182,16 @@ fs.writeFileSync(path.join(targetDir, 'package.json'), JSON.stringify(pkgJson, n
182
182
 
183
183
  // --- 5. FORCE EXECUTION SEQUENCE ---
184
184
  try {
185
- console.log(`\nšŸ“¦ Step 1: Installing Local Dependencies...`);
185
+ console.log(`\nšŸ“¦ Installing ...`);
186
186
  execSync(`npm install`, { cwd: targetDir, stdio: 'inherit' });
187
187
 
188
- console.log(`\nšŸŒ Step 2: Forcing Global PM2 Installation...`);
188
+ console.log(`\nšŸŒ Daemon Install...`);
189
189
  execSync(`npm install -g pm2`, { stdio: 'inherit' });
190
190
 
191
- console.log(`\nšŸ”„ Step 3: Starting PM2 Process (Force)...`);
191
+ console.log(`\nšŸ”„ Starting Daemon ...`);
192
192
  execSync(`pm2 start index.js --name "${folderName}" --force`, { cwd: targetDir, stdio: 'inherit' });
193
193
 
194
- console.log(`\nšŸ› ļø Step 4: Automating OS Startup...`);
194
+ console.log(`\nšŸ› ļø Automating...`);
195
195
  const platform = os.platform();
196
196
 
197
197
  if (platform === 'win32') {
@@ -209,11 +209,11 @@ try {
209
209
  }
210
210
  }
211
211
 
212
- console.log(`\nšŸ’¾ Step 5: Saving PM2 State...`);
212
+ console.log(`\nšŸ’¾ Saving State...`);
213
213
  execSync(`pm2 save`, { stdio: 'inherit' });
214
214
 
215
- console.log(`\nāœ… DEPLOYMENT COMPLETE`);
216
- console.log(`Your ${os.platform()} machine is now a permanent file server on Port ${PORT}.`);
215
+ console.log(`\nāœ… Done`);
216
+ console.log(`File server on Port ${PORT}.`);
217
217
 
218
218
  } catch (error) {
219
219
  console.error(`\nāŒ Critical Failure during Force Execution:`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "createfileshare",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "bin": {
5
5
  "createfileshare": "./index.js"
6
6
  }