Repository navigation
Conversation
Both components declared their own prop types that didn't match /api/site-data (missing id, non-nullable logo and social links), so nuxt typecheck failed. A SiteData type now describes the fields the endpoint requests, and the endpoint asserts it once because the SDK can't narrow nested fields on items.
Count posts with aggregate() like the other frontends (readItems is typed as returning posts), type the search input handler the way cms-i18n already does, and give the 404 messages a typed fallback.
no-console blocked the intentional warnings and errors added in #154, so lint failed. It still blocks console.log, and the eslint-disable comment it needed is gone.
They were written for Svelte 4 and bits-ui 0.x while bits-ui 2.9.4 is installed, which accounted for all 54 svelte-check errors. Content still renders inline so it stays above the sticky header.
Drop unused superForm values, read props through $derived or untrack where the initial value is intended, and run prettier on files that never got formatted because eslint failed first.
Nothing imports it, and it pulled in Zod 3, flagged by GHSA-mrhx-c7xc-m3w5. Use npx shadcn@latest add to add components.
adapter-vercel 6.3.5 fixes the prerendered-path advisory. The starter uses no remote functions (getRequestEvent doesn't need the flag), so turning it off removes the surface for GHSA-3r8g-jcqq-3p5j until the SvelteKit 3 migration.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch had an error being deployed
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.
Scope
cmsandcms-i18n) and SvelteKit frontends. These were already failing onmain.console.warnandconsole.error, but keep blockingconsole.log. The warnings added in Patch frontend dependency security advisories #154 were breaking lint.shadcnCLI from the Next.js dependencies. It brought in an old, vulnerable copy of Zod.Potential Risks / Drawbacks
main, but the menus are worth a quick check on desktop and mobile.path-to-regexpalert stays open. Vercel's routing package pins that version, it only runs at build time, and the only workaround is an override.Tested Scenarios
shadcn.mainagainst Directus 12.7.cms-i18nNuxt at runtime (needs a licensed instance).Review Notes
package.jsonand lockfile, so whichever merges second needs a quick rebase.