Website: https://najwer23.github.io/react-starter
This project uses mise to manage Node.js and Yarn versions (see mise.toml).
Install mise:
# macOS (Homebrew)
brew install miseEnable mise in Zsh by adding this line to ~/.zshrc:
eval "$(mise activate zsh)"Reload your shell configuration:
source ~/.zshrcmise trust # trust mise.toml (first time only)
mise install # install Node.js and Yarn
mise setup # install dependenciesVerify the setup:
mise current # should list node and yarn
which yarn # should point into ~/.local/share/mise/installs/...
mise doctor # reports problems with the setupmise startmise buildmise previewmise deploy| Task | Description |
|---|---|
mise test |
Run tests with Vitest |
mise bench |
Run benchmarks |
mise format |
Format and lint with Biome |
mise sort |
Sort package.json keys |
mise god |
Update dependencies, install, and start |
mise tasks |
List all available tasks |
Once mise is activated, the same scripts are available through Yarn:
yarn install
yarn start
yarn test
yarn build
yarn preview
yarn deployUpdate dependencies to the latest versions:
npx npm-check-updates -u && yarn install
ncu -u && yarn installUpdate tool versions by editing mise.toml, then run mise install. To see the newest available Yarn version:
mise latest yarnUpdate Yarn itself:
yarn set version latest- Portfolio: https://najwer23.github.io
- Résumé: https://najwer23.github.io/resume
- X: https://twitter.com/najwer23
- LinkedIn: https://www.linkedin.com/in/najwer23
- LeetCode: https://leetcode.com/najwer23
- NPM: https://www.npmjs.com/~najwer23