-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: full npm registry URLs, sync package versions #6035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,37 @@ | ||
| { | ||
| "name": "tanstack-react-start-e2e-basic-rsc", | ||
| "private": true, | ||
| "sideEffects": false, | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "vite dev", | ||
| "build": "exit 0; vite build", | ||
| "start": "node .output/server/index.mjs" | ||
| }, | ||
| "dependencies": { | ||
| "@babel/plugin-syntax-typescript": "^7.25.9", | ||
| "@tanstack/react-router": "workspace:^", | ||
| "@tanstack/react-router-devtools": "workspace:^", | ||
| "@tanstack/react-start": "workspace:^", | ||
| "react": "^19.0.0", | ||
| "react-dom": "^19.0.0", | ||
| "redaxios": "^0.5.1", | ||
| "tailwind-merge": "^2.6.0", | ||
| "vite": "^7.1.7" | ||
| }, | ||
| "devDependencies": { | ||
| "@tailwindcss/postcss": "^4.1.15", | ||
| "tailwindcss": "^4.1.15" | ||
| "@types/react": "^19.0.8", | ||
| "@types/react-dom": "^19.0.3", | ||
| "@vitejs/plugin-react": "^4.3.4", | ||
| "autoprefixer": "^10.4.20", | ||
| "postcss": "^8.5.1", | ||
| "tailwindcss": "^4.1.17", | ||
| "typescript": "^5.7.2", | ||
| "vite-tsconfig-paths": "^5.1.4" | ||
| }, | ||
| "overrides": { | ||
| "react": "0.0.0-experimental-035a41c4e-20230704", | ||
| "react-dom": "0.0.0-experimental-035a41c4e-20230704" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |
| "scripts": { | ||
| "dev": "vite dev --port 3000", | ||
| "dev:e2e": "vite dev", | ||
| "build": "vite build", | ||
| "build": "exit 0; vite build", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: cat -n e2e/react-start/clerk-basic/package.jsonRepository: TanStack/router Length of output: 1418 🏁 Script executed: # Find other e2e package.json files with similar patterns
fd -t f "package.json" e2e/ --exec grep -l "exit 0" {}
# Also check the git log for context around this change
git log --oneline -n 20 -- e2e/react-start/clerk-basic/package.jsonRepository: TanStack/router Length of output: 262 🏁 Script executed: # Get full commit message for the "Fix CI" commit
git show 83abc654d --stat
# Check another e2e package.json to see if the pattern is identical
cat -n e2e/react-start/basic-auth/package.json | head -20Repository: TanStack/router Length of output: 50372 🏁 Script executed: # Check another e2e package
cat -n e2e/react-start/basic-auth/package.json | head -15
# Look for any documentation or comments in e2e directory
find e2e -maxdepth 2 -name "README*" -o -name "*.md" | head -10Repository: TanStack/router Length of output: 632 🏁 Script executed: # Check the build scripts specifically in the e2e packages that had exit 0
for file in e2e/react-start/basic-rsc/package.json e2e/solid-start/basic-auth/package.json e2e/e2e-utils/package.json; do
if [ -f "$file" ]; then
echo "=== $file ==="
grep -A2 '"build"' "$file"
fi
doneRepository: TanStack/router Length of output: 485 🏁 Script executed: # Search for any TODOs, FIXMEs, or comments related to exit 0 in the file
cd e2e/react-start/clerk-basic && find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.json" -o -name "*.md" \) -exec grep -l "exit\|build\|publint\|sherif" {} \; 2>/dev/null | head -20
# Also check for any comments in the package.json itself or nearby
cd /repo && cat -n e2e/react-start/clerk-basic/package.json | grep -B2 -A2 "build"Repository: TanStack/router Length of output: 169 🏁 Script executed: # Check playwright.config.ts for any clues
cat -n e2e/react-start/clerk-basic/playwright.config.ts | head -50
# Search git history for when exit 0 was introduced in build scripts
git log --all --oneline --grep="build\|exit" -i | head -20
# Check the specific commit that added these packages
git show 83abc654d --name-only | grep "clerk-basic\|basic-rsc"Repository: TanStack/router Length of output: 9589 🏁 Script executed: # Let me verify the build directory expectations
cat -n e2e/react-start/clerk-basic/package.json | grep -A2 -B2 "start"
# Check if there are any error logs or CI failures related to this
git log --all --oneline --since="2025-12-01" -- e2e/react-start/clerk-basic/ | head -10Repository: TanStack/router Length of output: 738 The build script prevents the test server from starting. The Either:
🤖 Prompt for AI Agents |
||
| "start": "node .output/server/index.mjs", | ||
| "test:e2e": "exit 0; rm -rf port*.txt; playwright test --project=chromium" | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the build script —
exit 0prevents vite build from executing.The build script runs
exit 0which terminates with success status beforevite buildcan execute, effectively disabling the build step. This appears to be a placeholder or workaround.Apply this diff to enable the build:
If
exit 0was intentional (e.g., for skipping builds in CI), clarify the intent or use a more explicit approach.📝 Committable suggestion
🤖 Prompt for AI Agents