Repository navigation
v2.6.0
🧩 A cookie consent banner you can switch on, and a GitLab mirror of the kit. The banner ships off, because the kit sets no cookies that need consent; turn it on the day you add analytics with cookies or an ad pixel, and those scripts wait for a yes. The repository is now also on GitLab, for anyone who does not use GitHub or cannot reach it. A MINOR: git pull, npm install. Nothing to migrate, and both new variables are optional: leave them unset and nothing changes.
Added
- Cookie consent, off by default, behind
NEXT_PUBLIC_COOKIE_CONSENT="true": a banner with Accept and Reject that look the same, where closing counts as a rejection and the choice holds for six months; Cookie settings in the footer opens it again. Load scripts that set cookies through<ConsentScript>instead ofnext/scriptand they run only after Accept; with the variable off it is plainnext/script. The sample/cookiespage follows the switch. Configuration has the details and a screenshot - A GitLab mirror at
gitlab.com/openstarterkit/nextjs-saas-starter-kit, with the same commits and tags. Getting started and the README give its clone command NEXT_PUBLIC_GITLAB_URL: a second button, Get it on GitLab, next to the GitHub one on the pricing page, both now with their logos. Unset, the button does not show
Changed
- A live demo on another domain opens in a new tab, from the hero, the navbar, the footer and the mobile menu, so the visitor keeps your page. The local sign-in a clone falls back to stays in the same tab
- Getting started explains the install scripts npm skips. Recent npm versions list the ones from Prisma and
unrs-resolverat the end ofnpm install: the kit does not need them, and there is nothing to approve - Dependencies:
minimatch11.0.1 or later through an override, for a moderate advisory undertypescript-eslintthat only runs while linting;npm auditis clean, development tools included. Minor updates tolucide-react,resend,tailwindcss,vitest, Playwright,@shikijs/rehypeand@types/node