Repository Agent Guidance
Node Runtime
- Treat
.node-versionas the source of truth for the Node.js runtime. - GitHub Actions should use
actions/setup-nodewithnode-version-file: .node-version. - Do not add a separate
NODE_VERSIONvalue tonetlify.tomlunless Netlify stops honoring.node-version.
Dependency Discipline
- Treat the core dependency stack as fragile, pinned infrastructure. Do not modernize, dedupe, reorganize, or "clean up" dependencies unless the user explicitly asks for a dependency migration.
- Do not regenerate
package-lock.jsonas routine maintenance. - Use
npm cifor installs and validation; avoidnpm installunless the task is explicitly a dependency migration. - The locked VuePress stack is fragile. Regenerating the lockfile or resolving VuePress ranges can move the site onto incompatible VuePress packages.
- Keep
@lando/vuepress-theme-default-plus,@vuepress/*,vuepress, andvuepress-vitepinned unless a deliberate VuePress migration is in scope. - Do not change VuePress, Vue, Vite, Webpack, theme, or plugin package versions as part of unrelated work.
VuePress Config
- Keep
.vuepress/config.jsand.vuepress/theme/index.jsin the repo's current CommonJS style for the pinned VuePress stack. - Do not convert those files to ESM, rename them to
.mjs, add"type": "module", or otherwise alter the module format unless the task is an explicit VuePress migration and the site is validated with a cleannpm ci,npm run dev, andnpm run build.
Site Links
- Treat the public site as a seamless experience split across multiple Netlify projects. Shared navbar links in
.vuepress/config.jsshould use absolute production URLs such ashttps://lando.dev/mission, not root-relative links. - Keep donation and sponsorship links pointed directly at
https://github.com/sponsors/lando. The/donateredirect exists for convenience, but public donation CTAs should use the GitHub Sponsors URL directly. - External Docs and GitHub CTA links should use
target="_blank"withrel="noopener noreferrer".
