fix: Update dev script port to 3004 for ui-library (#43555)

Revert the port for the `dev` command in `ui-library`.
This commit is contained in:
Ivan Vasilov authored and GitHub committed 2026-03-09 14:20:37 +00:00
1 parent 5e3e6f3f47
commit b4b4532065
3 files changed
+8 -2

No files matched your search

@@ -50,7 +50,7 @@ export function TanstackDBGenerator() {
const baseUrl = getBaseUrl()
const apiUrl = resolvedProject
? `${baseUrl}${process.env.NEXT_PUBLIC_BASE_PATH ?? ''}/api/registry/tanstack-db?ref=${encodeURIComponent(resolvedProject.projectRef)}&anonKey=${encodeURIComponent(resolvedProject.anonKey)}`
? `${baseUrl}/api/registry/tanstack-db?ref=${encodeURIComponent(resolvedProject.projectRef)}&anonKey=${encodeURIComponent(resolvedProject.anonKey)}`
: ''
const commands: Record<PackageManager, string> = {
+6
View File
@@ -16,6 +16,12 @@ const nextConfig = {
},
]
: []),
// Add a redirect to make the custom block for tanstack-db
{
source: '/r/tanstack-db-nextjs.json',
destination: '/api/registry/tanstack-db',
permanent: true,
},
]
},
eslint: {
+1 -1
View File
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "next dev --port 8082",
"dev": "next dev --port 3004",
"build": "pnpm run content:build && pnpm run build:registry && pnpm run build:llms && next build --turbopack",
"build:registry": "rimraf -G public/r/* && tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && shadcn build public/r/registry.json && tsx scripts/clean-registry.ts",
"build:llms": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-llms-txt.ts",