RUSTICDOCSSearch documentation

Main scripts and workflows

Back to Docs repository.

Run npm commands at the docs repository root:

Command or filePurposeExpected result
npm ciInstalls the exact locked dependency treeCreates local node_modules/
npm run devStarts Next.js development modeLocal preview with refresh on edits
npm run buildCompiles, type-checks, and exports all catalog pagesDeployable static site in out/
npm run lint -- --max-warnings=0Runs ESLint, React, hooks, TypeScript, and accessibility rulesFails on errors or warnings
npx tsc --noEmitChecks TypeScript after route types have been generatedNo emitted application files
npm audit --audit-level=moderateChecks dependencies for known vulnerabilitiesReports moderate or higher findings
npm run startCalls next startNot suitable for this site's static export; preview out/ instead
quality.ymlInstalls with Node.js 24, then runs lint, build, types, and auditPull-request and main-branch validation
deploy-website.ymlBuilds and uploads out/ to Cloudflare Pages on mainProduction deployment when credentials are configured

Before opening a pull request:

sh
npm run lint -- --max-warnings=0
npm run build
npx tsc --noEmit
npm audit --audit-level=moderate