![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@abyrd9/harbor-cli
Advanced tools
A CLI tool for managing local development services with automatic subdomain routing
A CLI tool for those small side projects that only run a few services. Harbor allows you to:
npm i -g @abyrd9/harbor-cli
Before using Harbor, make sure you have the following installed:
harbor dock
harbor moor
harbor anchor
harbor launch
Harbor uses two main configuration files:
Contains your service configurations that are used to generate the Caddyfile and launch the services:
{
"domain": "localhost",
"services": [
{
"name": "frontend",
"path": "./vite-frontend",
"command": "npm run dev",
"port": 3000,
"subdomain": "app"
},
{
"name": "api",
"path": "./go-api",
"command": "go run .",
"port": 8080,
"subdomain": "api"
},
{
"name": "dashboard",
"path": "./vite-frontend",
"command": "npx drizzle-kit studio",
}
]
}
Note: The dashboard service is a bit special. This is a drizzle studio instance to view your database. There's no subdomain value and no port declared because it typically runs at
local.drizzle.studio
. This will still be running and viewable in your tmux session, but it won't be automatically proxied.
Automatically generated reverse proxy configuration:
api.localhost {
reverse_proxy localhost:8080
}
app.localhost {
reverse_proxy localhost:3000
}
Note: Some services may be tricky with Caddy and getting HMR to work or whatever other problems. Feel free to tinker with the Caddyfile or the subdomain values in the harbor config file in order to get things running. Maybe in the future there will be examples for common cases.
harbor dock
: Generate a new harbor.json fileharbor moor
: Add new services to your harbor.json fileharbor anchor
: Update your Caddyfile from the current harbor.json fileharbor launch
: Start all services defined in your harbor.json file in a tmux sessionHarbor uses tmux for managing your services. Some useful shortcuts:
Ctrl+a d
: Detach from sessionCtrl+a c
: Create new windowCtrl+a n
: Next windowCtrl+a p
: Previous windowCtrl+q
: Quit sessionContributions are welcome! Please feel free to submit a Pull Request.
MIT
FAQs
A CLI tool for managing local development services with automatic subdomain routing
The npm package @abyrd9/harbor-cli receives a total of 74 weekly downloads. As such, @abyrd9/harbor-cli popularity was classified as not popular.
We found that @abyrd9/harbor-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.