olly-molly 0.2.19 → 0.2.20

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/bin/cli.js +4 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -88,8 +88,9 @@ function getLocalVersion() {
88
88
 
89
89
  const CUSTOM_PROFILES_DIR = path.join(APP_DIR, 'custom-profiles');
90
90
 
91
- function hasProductionBuild() {
92
- return fs.existsSync(path.join(APP_DIR, '.next', 'BUILD_ID'));
91
+ function hasProductionBuild(standaloneServerPath) {
92
+ return fs.existsSync(path.join(APP_DIR, '.next', 'BUILD_ID')) ||
93
+ fs.existsSync(standaloneServerPath);
93
94
  }
94
95
 
95
96
  function backupUserData() {
@@ -195,7 +196,7 @@ async function main() {
195
196
  }
196
197
 
197
198
  // Build
198
- if (needsBuild || !hasProductionBuild()) {
199
+ if (needsBuild || !hasProductionBuild(standaloneServerPath)) {
199
200
  console.log('\nšŸ”Ø Building...\n');
200
201
  execSync('npm run build', { cwd: APP_DIR, stdio: 'inherit' });
201
202
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "olly-molly",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Your AI Development Team, Running Locally - Manage AI agents (PM, Frontend, Backend, QA) from a beautiful kanban board",
5
5
  "keywords": [
6
6
  "ai",