-
Notifications
You must be signed in to change notification settings - Fork 47
Fix/build errors and dependencies #325
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
b26884a
e75ea8d
bdc54fb
4a15609
1e3d850
597b711
1971c9f
9a5e7d5
8ea3b5e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -76,4 +76,4 @@ export async function getCategories(): Promise<SanityCategory[]> { | |
| next: { revalidate: 300 }, | ||
| }, | ||
| ); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,7 +115,7 @@ | |
| "@types/react-dom": "^19.0.3", | ||
| "react": "^19.0.1", | ||
| "react-dom": "^19.0.1", | ||
| "@solana/kit": "^3.0.3" | ||
| "@solana/kit": "^5.0.0" | ||
|
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: #!/bin/bash
# Check package.json for @solana/kit and pnpm overrides
echo "=== Checking package.json around line 116 for @solana/kit ==="
sed -n '100,130p' package.json
echo -e "\n=== Checking for pnpm overrides section in package.json ==="
cat package.json | grep -A 20 "\"pnpm\""
echo -e "\n=== Checking next.config.mjs for Solana packages ==="
cat next.config.mjs | grep -i "solana" -B 3 -A 3
echo -e "\n=== Searching for @solana/kit imports in TypeScript/JavaScript files ==="
find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" \) ! -path "*/node_modules/*" ! -path "*/.next/*" -exec grep -l "@solana/kit" {} \; | head -20Repository: paycrest/noblocks Length of output: 1906 Remove the @solana/kit override or update to a valid version. The pnpm override for 🤖 Prompt for AI Agents |
||
| } | ||
| }, | ||
| "browser": { | ||
|
|
||
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.
🛠️ Refactor suggestion | 🟠 Major
Document what specific build error this .d.ts IgnorePlugin solves.
TypeScript loaders generate .d.ts files that should be ignored in watch mode to prevent infinite watch loops, but blanket ignoring all
.d.tsfiles in the webpack config is unusual. This IgnorePlugin will prevent legitimate TypeScript definition imports from being processed. Please add a comment explaining:Without this context, the fix appears to be masking a deeper configuration problem rather than solving the underlying issue.
🤖 Prompt for AI Agents