Commit Graph
19 Commits
Author SHA1 Message Date
9d2d7ead8e 🔧 Restore OpenAPI docs generation pipeline (#2553)
## Summary

- Restores OpenAPI docs generation, lost in the oRPC migration: new
`generate-openapi` nx targets regenerate
`apps/docs/openapi/{builder,viewer}.json` offline from the oRPC routers,
reusing the exact options served by the live `/api/openapi.json`
endpoints. Both specs are regenerated in this PR (builder.json was stale
since March).
- Fixes spec generation crashing on the spaces router (Effect Schema had
no JSON Schema converter — this also breaks the live builder
`/api/openapi.json` today) and sanitizes an `AppendValue(s)` component
name that made Mintlify silently render every builder API page empty.
- Keeps the docs from going stale again: pre-commit regenerates affected
specs and auto-stages them, CI fails PRs with stale specs, and a new
check requires lockstep `@typebot.io/js` / `@typebot.io/react` version
bumps whenever embed files change.

## Test plan

- [x] `bunx nx generate-openapi builder viewer` produces valid OpenAPI
3.1 files matching the live endpoints (works without env: isolated-vm
stubbed, dummy DATABASE_URL auto-matched to the generated Prisma client)
- [x] All 34 `openapi:` references in `apps/docs/api-reference/*.mdx`
resolve against the new specs; pages verified rendering in `mintlify
dev` (params, unions, curl samples)
- [x] Embeds version check: fails when js or react files change without
both bumps, passes on the historical 0.10.5 bump commit, ignores
unrelated changes
- [x] Pre-commit pipeline (lint, tests, generation, embeds check) passes
end to end
- [ ] Confirm the "Check OpenAPI docs are up to date" step passes on
this PR

---------

Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-03 20:19:08 +02:00
c5a8c85026 🐛 Add prisma.config.ts to Dockerfile (#2442)
Fixes #2441

---------

Co-authored-by: Baptiste Arnaud <[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-09 10:59:30 +02:00
Baptiste Arnaud e8e8381932 🔧 Clean up agent skills and worktree commands 2026-01-28 15:53:21 +01:00
Baptiste Arnaud 146581ba6b 🔧 Fix workflows fly ci
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2026-01-16 17:23:32 +01:00
Vitor SilvaandGitHub ce637fb608 🧑‍💻 Use custom HOSTNAME and PORT in docker entrypoints (#2148)
This PR addresses [issue
#2133](https://github.com/baptisteArno/typebot.io/issues/2133) by
allowing the Typebot builder and viewer to bind to IPv6 addresses when
`HOSTNAME=::` is provided via environment variable.

 Changes made:
- Updated `scripts/builder-entrypoint.sh` and
`scripts/viewer-entrypoint.sh`
- Respect `HOSTNAME` and `PORT` environment variables if set
- Default to `0.0.0.0` and `3000` if not defined

🧪 Tested:
- Successfully deployed on Amazon EKS IPv6-only cluster
- Server binds correctly on `[::]:3000`

🧑‍💻 Contributors:
- [@silvadavitor](https://github.com/silvadavitor)
- [@RanielHaendchen](https://github.com/RanielHaendchen) (assisted with
cluster testing and validation)


![test](https://github.com/user-attachments/assets/640e2eca-e201-4254-a747-d7259f2d25cc)
2025-04-30 10:25:17 +02:00
Baptiste ArnaudandGitHub 10750f54d1 ♻️ Use bun, biome, better ts config, new license and remove all barrel files (#1801)
Closes [#1754](https://github.com/baptisteArno/typebot.io/issues/1754)
2024-09-25 14:50:13 +02:00
Baptiste Arnaud 0239eec2cd 🐳 Add required NODE_OPTIONS by default 2024-07-18 16:31:25 +02:00
Baptiste Arnaud 69446ad056 🔧 Add embed lib auto patch script 2024-04-03 09:01:40 +02:00
Baptiste Arnaud 3ca5384e7f 🐳 Force Next.js apps local hostname
Closes #911
2023-10-13 15:01:21 +02:00
Baptiste Arnaud ee800d5ba2 🐳 Remove wait-for-it script to avoid edge cases issues 2023-10-03 17:07:14 +02:00
Baptiste ArnaudandGitHub 66dc570527 Docker improvements (#760)
Closes #758 and #716
2023-09-04 14:43:48 +02:00
Baptiste Arnaud 1aa017153a 🐳 Fix docker image runtime error
Closes #719
2023-09-01 15:41:11 +02:00
Baptiste ArnaudandGitHub 786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Ikko Eltociear AshimineandGitHub c365c547aa Fix typo in inject-runtime-env.sh (#599)
Enviroment -> Environment
2023-07-12 11:07:46 +02:00
Baptiste ArnaudandGitHub 1e9c4bcb9a 📦 Add Cloudron package (#550)
Closes #30
2023-06-14 08:59:38 +02:00
Baptiste Arnaud 0fc6bfa7ce 🐳 Fix encryption length check script
The encryption length can also be of length 80 if encoded with base64

Closes #516
2023-05-17 11:35:32 +02:00
Baptiste Arnaud 45224f9fb3 🧑‍💻 Check required env var before starting the server
Closes #500
2023-05-12 11:21:24 -04:00
Baptiste Arnaud 16c261a8a5 ✏️ Fix old packages/db paths in documentation 2023-03-20 07:38:47 +01:00
Baptiste Arnaud cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00