fix: resolve webpack lockfile, SEO typing, playground null, and prisma imports - #1031
Merged
Merged
Conversation
|
@success-OG is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@success-OG Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
pr under review |
ayomideadeniran
pushed a commit
to success-OG/Web3-Student-Lab
that referenced
this pull request
Aug 4, 2026
ayomideadeniran
force-pushed
the
fix-build
branch
from
August 4, 2026 00:32
cc1d2d9 to
ef7830b
Compare
ayomideadeniran
pushed a commit
that referenced
this pull request
Aug 4, 2026
Contributor
|
Changes merged to main directly |
ayomideadeniran
pushed a commit
that referenced
this pull request
Aug 4, 2026
…ground null, prisma imports)
ayomideadeniran
pushed a commit
that referenced
this pull request
Aug 6, 2026
Frontend: - Fix malformed package.json (duplicate keys, missing closing brace) - Fix vitest.config.ts (duplicate config blocks causing parse error) - Add missing devDependencies (fake-indexeddb) - Remove incompatible @vitest/coverage-v8 version Contracts: - Fix soroban-sdk version mismatch in did_registry (22.0.0 -> 26.1.0) - Fix payment_gateway tests (Address references, MAX_REFUND_LEDGERS type) - Fix parametric_insurance tests (lifetime specifiers, Ledger API usage, std::panic in no_std) - Fix storage_migration tests (replace std::panic::catch_unwind with #[should_panic]) Backend: - Restore original package.json and package-lock.json (corrupted by PR #1031)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #949
closes #965
closes #967
closes #968
Summary
Fixes four build/type failures across frontend and backend that blocked compilation and CI.
Task 1 — Frontend webpack SyntaxError (root
package-lock.json)package-lock.json(emptypackages: {}, no rootpackage.json) caused Next/webpack to treat the monorepo parent as workspace root and choke while compiling modules likerecharts/ editor imports.package-lock.json/package-lock.jsonin.gitignoreso it cannot returnfrontend/next.config.ts:outputFileTracingRootpinned to frontendtranspilePackages: ['recharts']resolve.modulesprefersfrontend/node_modulesPerformanceMetricsDashboard(recharts),SorobanCompletion/SorobanLanguage, andPeerReviewDashboardimport chain no longer fail via the bad root lockfile path.Task 2 —
simulatorSeo.service.tsTS2532 (possibly undefined)parseSitemapXmlto usematch[1]?.trim() ?? ''(safe undernoUncheckedIndexedAccess)@ts-nochecknullfor unknown onesbackend/tests/simulatorSeo.service.test.tsTask 3 — Playground
LeaderboardEntrynot assignable tonullplayground.routes.ts, typedleaderboardEntryasLeaderboardEntry | null@ts-nocheckTask 4 — Broken Prisma imports in hash / p2p / voting services
../db/index.js(correct Prisma client)backend/src/db/prisma.tsfor any legacydb/prismapathhash-demo,infrastructure,simulator) to mock../src/db/indexbackend/tests/hash-p2p-voting.smoke.test.tsTest plan
package-lock.jsonis absentcd frontend && npm install && npm run buildcompletes without webpack SyntaxError/performance-metrics, peer review, and playground/editor pagescd backend && npx tsc --noEmitshows no errors insimulatorSeo.service.tsorplayground.routes.tsnpm test -- --testPathPattern="simulatorSeo|hash-p2p-voting.smoke|hash-demo"POST /api/v1/playground/triage/scorewith/withoutplayerIdreturns correctly typedleaderboardEntry