Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.76 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.76 KB

vite-workspace-experiment

Experimenting with creating a web UI using Vite, workspaces, and React.

Getting started

  1. Install pnpm. The node.js "corepack" system may be viable, or you can just use npm install -g pnpm
  2. Install dependencies from the root directory by running pnpm install
  3. Start the app from the root directory by running pnpm start
    • Changes to any code in either app or shared should be hot-reloaded
  4. Run all tests from the root directory by running pnpm test

TODO

  • Get list of VS Code extensions and settings
  • Set up library (tsc only) and app (Vite)
  • Set up tests for both library and app (vitest, testing-library)
  • Add axe accessibility scans for UI components
  • Set up Prettier, ESLint, Stylelint, Syncpack
  • Set up automated pipeline that builds, runs linting, etc.
    • Just detect and error on findings
  • Can we push most/all deps up to root package.json so they're consistent across the repo?
  • Get rid of intermediate "packages" directory
  • Referencing shared library source directly is probably "wrong" but very convenient--is there a "right" way that can be made convenient?

Reference links