Commit Graph

9 Commits

Author SHA1 Message Date
Sylver ef18709612 fix: forgot that was necessary 2024-02-11 12:59:27 +08:00
Sylver faae08470d fix: url parse errors 2024-02-11 12:58:29 +08:00
Sylver 8236d9ef42 fix: bind to 0.0.0.0 in docker 2024-02-11 00:35:20 +08:00
Sylver f4bc1d65e2 feat: replace nextjs with preact+vite+vike
also removes the pandora dep and moves it back into this repo
also updates to new graphql-codegen presets
also adds a `textContent` field on files
also replaces headlessui with radix

fixes #36
fixes #35
2024-01-28 06:48:06 +08:00
ryan eaee2318f9 build: use tsup instead of ncc for prod builds 2023-04-05 07:39:02 +08:00
ryan e1b73c26d8 build(api): fix esm issues
Workaround NCC ESM issues by just not using ESM with NCC.
The API is still ESM, but tsup converts it to CJS before NCC consumes it, as a temporary workaround until there is something to replace NCC. Please save us bun 🙏
This seems to work fine, and as a free bonus, there is a huge build speedup because NCC isn't trying to run tsc.

Shoutout to ESM! Because forcing everyone to choose between ESM, where you need multiple workarounds a day on every package imaginable to get it to work, and CJS, where you opt yourself out of a large and growing number of NPM packages, is a fantastic idea. Interoperability is for fools!
2023-04-01 02:27:28 +08:00
sylv 7e50fb043b build: smaller docker images 2022-07-05 18:39:30 +08:00
sylv 18536f4dd1 chore: turborepo 2022-06-24 03:49:19 +08:00
sylv 67da25ea0f build: single dockerfile 2022-06-06 10:40:41 +08:00