Skip to main content

worktree-ports

Discover and use stable per-app ports assigned to a local monorepo worktree. Use when starting, opening, testing, or debugging local apps, or when worktree slots, localhost ports, PORT, app URLs, or .worktree-env.json are involved.

معلومات المصدر

المستودع
FranciscoMoretti/chat-js
آخر نشاط في المصدر
١١ أكتوبر ٢٠٢٦ في ٠٨:٠٠
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٬٢٠١
التفرعات
١٢٤

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
6 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
worktree-ports
description
Discover and use stable per-app ports assigned to a local monorepo worktree. Use when starting, opening, testing, or debugging local apps, or when worktree slots, localhost ports, PORT, app URLs, or .worktree-env.json are involved.
# Worktree Ports - Run `bun dev:info --json` before accessing local apps. Use the returned app URLs; never assume a port. - Start apps through the root `bun dev*` scripts so `.env.worktree.local` and `.env.local` are loaded before the wrapper runs. - Set the slot environment variable declared in `.worktree-env.json` in a worktree-local environment file. - Keep app offsets unique and below the configured range stride. - Declare every variable an app needs under its `exports`, including `PORT`. - Configure cross-app environment variables with `{apps.<name>.url}` templates. The generic resolver and command wrapper are bundled in `scripts/`.
عرض على GitHub