Skip to content

Install full Noetica dependencies for dev-mode start#6

Merged
mdheller merged 1 commit into
mainfrom
fix-noetica-devdeps
May 31, 2026
Merged

Install full Noetica dependencies for dev-mode start#6
mdheller merged 1 commit into
mainfrom
fix-noetica-devdeps

Conversation

@mdheller
Copy link
Copy Markdown
Contributor

Summary

The macOS Phase 1 validation now reaches Next.js ✓ Ready, so noetica start is functioning as a foreground server. However, because the formula installs production-only npm dependencies while the CLI still runs next dev, Next.js auto-installs TypeScript-related dev dependencies on first start.

Observed during validation:

It looks like you're trying to use TypeScript but do not have the required package(s) installed.
Installing devDependencies (npm):
- typescript
- @types/node

This is not acceptable packaging hygiene for the installed Cellar payload.

This PR removes --omit=dev from the Noetica npm install step while Phase 1 still uses dev-mode Next startup.

Boundary

  • noetica start remains foreground mode.
  • No brew services path is introduced.
  • No service-supervision change.
  • Prophet Mesh remains deferred.

Follow-up

A later release-artifact path should switch Noetica from dev-mode runtime to a built production runtime and then remove dev dependency installation from the formula again.

Validation target

After merge:

brew update
brew reinstall sourceos-linux/tap/noetica
noetica start

Expected: no first-run TypeScript/devDependency auto-install; Next reaches ✓ Ready and remains foreground until Ctrl-C.

@mdheller mdheller merged commit 783774f into main May 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant