Skip to content

chore: add localias configuration for npmx.test#1393

Open
vinnymac wants to merge 4 commits intonpmx-dev:mainfrom
vinnymac:vt/local
Open

chore: add localias configuration for npmx.test#1393
vinnymac wants to merge 4 commits intonpmx-dev:mainfrom
vinnymac:vt/local

Conversation

@vinnymac
Copy link
Contributor

Configures localias so developers can utilize https://npmx.test locally, which also makes it easier to test on mobile devices without having to get fancy with tunnels or wired connections.

image

See CONTRIBUTING.md for "Custom Local Domain" usage instructions.


  • includes a warning about AtProto redirect uris bringing you back to 127
  • includes warnings for unsupported systems like windows with some recommendations, such as using WSL2
  • native macOS / linux support of course
  • configures nuxt to allow .test domains

@vercel
Copy link

vercel bot commented Feb 11, 2026

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

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Feb 13, 2026 2:40pm
npmx.dev Ready Ready Preview, Comment Feb 13, 2026 2:40pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Feb 13, 2026 2:40pm

Request Review

@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 11, 2026

📝 Walkthrough

Walkthrough

Adds Localias-based local development domain support: new .localias.yml mapping npmx.test to http://127.0.0.1:3000; new scripts/setup-local-domain.sh to detect OS, verify/install Localias, configure capabilities, manage the daemon and create the alias; npm scripts setup:local and setup:local:uninstall; Vite allowedHosts: ['.test'] in nuxt.config.ts; .gitignore entries for local certs and .localias-certs/; CONTRIBUTING.md instructions for optional local-domain setup; and knip.ts updated to ignore the localias binary.

Possibly related PRs

Suggested reviewers

  • danielroe
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description clearly explains the changes: configuring localias for npmx.test local development, including platform support details and AtProto OAuth considerations.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

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