Skip to content

chore: Onafy repository with devcontainer, automations, and README updates#91

Merged
zacharias-ona merged 1 commit intomainfrom
onafy-repo
Apr 16, 2026
Merged

chore: Onafy repository with devcontainer, automations, and README updates#91
zacharias-ona merged 1 commit intomainfrom
onafy-repo

Conversation

@Siddhant-K-code
Copy link
Copy Markdown
Member

What

Onafies the repository so new contributors can open it in Ona with one click and have a working dev environment automatically.

Changes

  • next.config.ts: Add allowedDevOrigins for *.preview.devx.network and *.preview.env.ona.dev — fixes cross-origin HMR block in Ona preview environments
  • .devcontainer/devcontainer.json: Remove postCreateCommand lifecycle hook (moved to automations), add portsAttributes for port 3000 labeling
  • .ona/automations.yaml (new): installDeps task (runs on postDevcontainerStart) and dev-server service that auto-starts pnpm dev
  • README.md: Replace "Quick start" with "Getting started" section containing the Run in Ona badge, project setup steps, and required secrets table

- Add allowedDevOrigins for Ona preview environments (fixes cross-origin HMR)
- Move postCreateCommand to .ona/automations.yaml (install deps task + dev server service)
- Add portsAttributes for port 3000 labeling
- Replace Quick start with Ona badge, project setup instructions, and secrets table

Co-authored-by: Ona <no-reply@ona.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
memo Ready Ready Preview, Comment Apr 16, 2026 2:05pm

Request Review

@Siddhant-K-code Siddhant-K-code added the ona-user PR created via interactive Ona session — no issue reference required label Apr 16, 2026
Copy link
Copy Markdown
Collaborator

@zacharias-ona zacharias-ona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Config and docs changes look correct. Automations YAML, devcontainer updates, allowed dev origins, and README onboarding are all well-structured and scoped appropriately.

@zacharias-ona zacharias-ona merged commit d8e7155 into main Apr 16, 2026
6 checks passed
@zacharias-ona zacharias-ona deleted the onafy-repo branch April 16, 2026 14:08
@zacharias-ona
Copy link
Copy Markdown
Collaborator

✅ UI verification skipped — this PR has no UI changes (no files matching src/components/*, src/app/**/page.tsx, or src/app/**/layout.tsx).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ona-user PR created via interactive Ona session — no issue reference required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants