«««< HEAD Main build
Migration Notice (2025-06-20):
.tsx) and Tailwind CSS..jsx, .stories.jsx, and .test.jsx files have been archived in archived-jsx.zip at the project root..tsx and follow the new architecture and linting rules.POST_MIGRATION_TASK_LOG.md for remaining post-migration tasks.The Phoenix Post is a comprehensive full-stack web application serving the Home, Work & Business community.
This repository contains:
thephoenixpost-vite/ - React/Vite applicationphoenixpost-cms/ - Strapi CMSnpm installcd thephoenixpost-vite && npm installcd phoenixpost-cms && npm installcd phoenixpost-cms && npm run developcd thephoenixpost-vite && npm run devcd thephoenixpost-vite && npm run buildcd phoenixpost-cms && npm run buildcd thephoenixpost-vite && npm testcd thephoenixpost-vite && npm run cypress
// [Phoenix Refactor 2025] Storybook reference removed for productionSee the docs/ directory and individual project folders for detailed documentation.
See CONTRIBUTING.md for contribution guidelines.
The frontend (thephoenixpost-vite/) includes scripted automation to standardize quality checks:
npm run ci:lint – ESLint + Stylelint (CSS enhancement layer gated with @supports)npm run ci:test – Vitest unit/integration suitenpm run ci:e2e – Playwright end-to-end (progressive enhancement & critical flows)npm run design-tokens – Extracts CSS custom properties -> design-tokens.jsonnpm run ci:all – Runs the full pipeline (lint → test → e2e → tokens)Integrate in a workflow (example):
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: cd thephoenixpost-vite && npm ci
- run: cd thephoenixpost-vite && npm run ci:all
design-tokens.json can be published as a build artifact or consumed by the CMS for synchronized theming. // [Phoenix Refactor 2025]
560254ff8539e9acf431722b6b14d75d81e5e1cf