Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 989 Bytes

CONTRIBUTING.md

File metadata and controls

25 lines (24 loc) · 989 Bytes

Contributing

  • Clone the repo
    • gh repo clone TanStack/router
  • Ensure node is installed
  • Ensure pnpm is installed
    • https://pnpm.io/installation
    • Why? We use pnpm to manage workspace dependencies. It's easily the best monorepo/workspace experience available as of when this was written.
  • Install dependencies
    • pnpm install
    • This installs dependencies for all of the packages in the monorepo, even examples!
    • Dependencies inside of the packages and examples are automatically linked together as local/dynamic dependencies.
  • Run the build or dev watcher
    • pnpm build or
    • pnpm dev
  • Navigate to an example
    • cd examples/react/basic
  • Run the example
    • pnpm dev
  • Make changes to the code
    • If you ran pnpm dev the dev watcher will automatically rebuild the code that has changed
  • Changes to the docs
    • Be sure that internal links are written always relative to docs folder. E.g. ./guide/data-loading