Common commands for building, testing, and working with this repository.
yarn build # Build all packages
yarn test # Run all tests
yarn test-ci # Run all tests in CI mode (with coverage)
yarn lint # Check linting (see note below)
yarn setup-dev # Setup local CLI (amplify-dev)
yarn production-build # Production build
yarn build-tests # Build test packagesyarn lint does NOT pass on the full repo (OOM + thousands of existing errors). CI only lints PR-changed files and treats eslint failures as non-blocking (|| true). prettier-check and depcheck DO block in CI.
yarn verify-dependency-licenses-extract
# Equivalent to: yarn extract-dependency-licenses && ./scripts/verify-dependency-licenses.sh- License changes after dependency updates are expected — always commit
dependency_licenses.txtchanges - The pre-commit hook runs this automatically
Used for e2e testing. Publishes packages to a local registry.
# Start Verdaccio (in separate terminal)
npx verdaccio
# Publish packages
yarn publish-to-verdaccio