Dev Tools
Requirements Check
This script checks the system requirements for running the application, including Node.js version and pnpm version.
How it works
The script runs automatically in development mode and performs the following checks:
- Node.js Version: Compares the installed Node.js version with the required version (
>=v20
). - pnpm Version: Retrieves the installed pnpm version and compares it with the required version (
>=9.12.0
).
If any of the checks fail, the script logs an appropriate error or warning message and stops execution to prevent potential issues.
Manual check
The check runs automatically after pnpm i
or pnpm run dev
. If you want to run it manually:
Terminal
pnpm run --filter @tooling/requirements-check requirements