feat(cli): add react router support with alchemy (#542)

This commit is contained in:
Aman Varshney
2025-08-26 13:55:01 +05:30
committed by GitHub
parent 5fe7a73e86
commit 37c8e7cdf3
20 changed files with 163 additions and 276 deletions

View File

@@ -99,11 +99,9 @@ export async function setupAlchemyServerDeploy(
packageJson.scripts = {
...packageJson.scripts,
dev: "wrangler dev --port=3000",
build: "wrangler deploy --dry-run",
dev: "alchemy dev",
deploy: "alchemy deploy",
destroy: "alchemy destroy",
"alchemy:dev": "alchemy dev",
};
await fs.writeJson(packageJsonPath, packageJson, { spaces: 2 });