-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Tetsuharu Ohzeki edited this page Mar 3, 2025
·
11 revisions
This document is PUBLIC. Please be careful.
- Node.js
- Enable corepack by
corepack enable
-
Install dependencies:
npm ci. -
Clean up built artifacts:
npm run clean.- To avoid a complex cyclic problem, this does not remove
.turbo/(turborepo's cache files) due to this clean script is also invoked by turborepo. -
Clean up turborepo's cache files (
.turbo/): e.g.find . -name ".turbo" -type d -prune | xargs -p rm -rf.
- To avoid a complex cyclic problem, this does not remove
-
Check type integrity:
npm run typecheck. -
Run unit tests:
npm run test.-
Run unit tests with updating snapshots:
npm run test:update_snapshots.
-
Run unit tests with updating snapshots:
-
Run lint:
npm run lint.-
Fix autofixable lint problems:
npm run lint:fix.
-
Fix autofixable lint problems:
-
Check code format:
npm run format:check.-
Apply code format:
npm run format.
-
Apply code format:
- Bump version defined in package.json.
- To create a change,
npm version <version> --no-git-tag-version --workspace ./packages/http-helperis useful.
- To create a change,
- Land a commit including the change by step 1 into main branch.
- Create a new release from "Releases".
- Should create a version tag
- A version tag should be
v<major>.<minor>.<patch>format.
- Check to start the release automation workflow on GitHub Action.
We don't update it by dependabot automatically to avoid a breaking change high frequently (See the PR that disable dependabot for TypeScript).
But this does not block to update TypeScript forever. We should update it if we have a new feature in newer TypeScript version! And then, let's release its change as breaking change as major version.