Skip to content

Repository files navigation

Manacost V2

Independent Next.js frontend for the experimental v2.hs-manacost.ru experience. The existing WordPress installation remains the editorial CMS and canonical content source.

Boundaries

  • Public, read-only WordPress REST requests only.
  • No authentication, VIP, comments, analytics, or WordPress writes.
  • VIP category and inline paywall content are excluded.
  • WordPress HTML is sanitized before rendering; media requests use a strict origin allowlist.
  • Rendered WordPress galleries, captions, tables and allowlisted video embeds have responsive frontend styles.
  • Residual legacy shortcodes are normalized through a small allowlist; arbitrary WordPress shortcode code is never executed.
  • The entire V2 host is noindex, nofollow while it remains experimental.

See the architecture contract for runtime, deployment, and rollback details.

Development

nvm use
npm ci --ignore-scripts
npm run dev

The default content endpoint is https://hs-manacost.ru/wp-json/wp/v2.

Verification

npm run check
npm run test:browser
npm audit --omit=dev --audit-level=high
bash -n ops/web-v2/release.sh

Production activation is intentionally separate from merge. The release script accepts only an exact, clean SHA already fetched from origin/main.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages