Skip to content

Comments

chore: add portless for stable dev server URLs#27

Open
sarahdayan wants to merge 1 commit intomainfrom
infra/portless
Open

chore: add portless for stable dev server URLs#27
sarahdayan wants to merge 1 commit intomainfrom
infra/portless

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 21, 2026

Summary

  • Add portless as a devDependency for stable, named .localhost URLs during development
  • example-jshttp://example-js.localhost:1355, example-reacthttp://example-react.localhost:1355, resolverhttp://resolver.localhost:1355
  • Fix Vite v6 IPv6-only binding (::1) that breaks portless proxy by setting host: '127.0.0.1'
  • Add portless-url Vite plugin to display the portless URL in Vite's terminal output
  • Developers without portless can bypass with PORTLESS=0 npm run dev

Replace ephemeral port numbers with stable named .localhost URLs,
eliminating port conflicts when running multiple examples simultaneously.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Feb 21, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit 876183a
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/6999e3708900220008fb8125
😎 Deploy Preview https://deploy-preview-27--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 21, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit 876183a
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/6999e3707112600009a6e749
😎 Deploy Preview https://deploy-preview-27--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarahdayan sarahdayan changed the title Add portless for stable dev server URLs chore: add portless for stable dev server URLs Feb 21, 2026
@sarahdayan sarahdayan requested a review from dhayab February 21, 2026 16:58
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