Skip to content

Commit fc1dd24

Browse files
authored
Doc: add documentation according to the addition of tuyau (#14)
1 parent c887a2e commit fc1dd24

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Added
66
- Added `BYPASS_LOGIN` env variable to bypass social login for development
7+
- Add `Tuyau` to handle a type-safe api client to sync our frontend with our backend
78

89
### Changes
910
- Move from `eslint & prettier` to `Biomejs` for code quality

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,11 @@ reset-db: rollback migrate seed
9696

9797
.PHONY: generate-tuyau
9898
generate-tuyau:
99-
node ace tuyau:generate && node --loader ts-node/esm scripts/tuyau_api_tsignore.ts
99+
node ace tuyau:generate
100+
101+
.PHONY: add-tsnocheck-to-tuyau
102+
add-tsnocheck-to-tuyau:
103+
node --loader ts-node/esm scripts/tuyau_api_tsignore.ts
104+
105+
.PHONY: tuyau
106+
tuyau: generate-tuyau add-tsnocheck-to-tuyau

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ The `Makefile` provides shortcuts for common tasks. Below is a list of available
4040

4141
- **`make jobs`** - Run background jobs with `pnpm jobs:run`.
4242
- **`make offline`** - Set `BYPASS_LOGIN=1` in `.env` to enable offline mode.
43+
- **`make tuyau`** - Run the `tuyau` command to generate/re-generate api types.
4344

4445
## Setup Instructions
4546

0 commit comments

Comments
 (0)