oxfmt is a project from the OXC toolchain, similar to OXLint.
It is based on the Rust-built 'oxidation compiler' and has
increased performance compared to Prettier which is built
in plain JS.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
It's almost a wonder that everything worked previously, at least in
our already built dev environments. Fresh environments had no clue
that the database package needs to be build, because our turbo.json
had irritating (circular) dependencies on ^build, and the package.json
of the backend didn't even contain the database package as a dependency.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
It seems cypress installs its own binary under a different path than
the path where it later looks for it for running the tests. This
change adds proper versioned caching for the binary to avoid re-
downloads and configures the binary path accordingly.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
REUSE Compliance Check / reuse (push) Has been cancelled
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (javascript) (push) Has been cancelled
Run tests & build / Test and build with NodeJS 20 (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled
It seems there's a bug in turborepo which results in turbo
not passing through arbitrary environment variables despite
--env-mode=loose being set. This config option resolves the
problem by passing through all HedgeDoc environment
variables prefixed by `HD_`. This somewhat also enhances
stability and reproducability of builds since other env
vars wouldn't interfere anymore.
The additional variable CADDY_HOST is required to make
overriding the listening port in our Caddyfile work.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
The build script prepares the package for a production build, builds the app, places every all needed files in a dist directory and cleans it.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>