- NOTE: orval's dependencies conflict with eslint for some reason, which makes any orval CLI commands error. The workaround is to
rm -rf node_modules
, remove eslint from package.json and runbun install
. This resolves the conflict, after which you can run orval commands (aka justbun gen:api
) and then install eslint back.- here's a one-liner for that:
rm -rf node_modules && bun uninstall eslint && bun i && bun gen:api && bun install eslint@8 -D
- here's a one-liner for that:
bun run build-prod
to build for prod environmentbun run build-test
to build for test environment Note: you can runbun run preview
to preview the build.