mango-cms 0.2.6 → 0.2.8

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/cli.js +2 -2
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -465,7 +465,7 @@ async function managePM2Process(settings) {
465
465
 
466
466
  try {
467
467
  // Check if process exists
468
- const processListOutput = execSync('pm2 list --mini', { encoding: 'utf8' });
468
+ const processListOutput = execSync('pm2 list', { encoding: 'utf8' });
469
469
  const processExists = processListOutput.includes(processName);
470
470
 
471
471
  if (processExists) {
@@ -486,7 +486,7 @@ program
486
486
  .description('Build and deploy Mango CMS using PM2')
487
487
  .action(async () => {
488
488
  try {
489
- const configPath = path.join(process.cwd(), 'default/mango/config/settings.json');
489
+ const configPath = path.join(process.cwd(), 'mango/config/settings.json');
490
490
  const settings = JSON.parse(fs.readFileSync(configPath, 'utf8'));
491
491
 
492
492
  // Run build command
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mango-cms",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "main": "./index.js",
5
5
  "exports": {
6
6
  ".": "./index.js",