This is a template for a new Vite project with React, TypeScript, and shadcn/ui.
pnpmis the only supported package manager.packageManageris pinned topnpm@11.25.0.enginesexplicitly require pnpm and reject npm/yarn.
- Lockfiles are frozen by default through
.npmrc:prefer-frozen-lockfile=truefrozen-lockfile=true
- Standard install command:
pnpm install- To intentionally update dependencies and regenerate lockfile, append
--no-frozen-lockfile:
pnpm install --no-frozen-lockfileUse that flag only when intentionally changing dependency resolution.
GitHub Actions enforces:
- Biome lint and format check (
lint:check, no autofix) - Build
- Tests if a
testscript exists - Dependency audit with
pnpm audit --audit-level=moderate
To reduce breakage risk, remediation follows a non-breaking policy:
- Prefer patch/minor updates for direct dependencies.
- Use
pnpm.overridesto force patched transitive versions when safe. - Avoid major upgrades unless no viable non-breaking remediation exists.
pnpm install
pnpm run lint:check
pnpm run build
pnpm audit --audit-level=moderate
snyk testFor local cleanup, pnpm run lint runs Biome lint fixes and formatting.