Valentyne Stigloher
051784b5da
(nuxt) use dotenv closure to ensure that env variables on the server are set during production runtime
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
c9103cdb45
(make)(pnpm)(ci) adjust script calls
...
as Nuxt builds a server bundle which does not read .env, run-wrapper.sh has a `start` subcommand to read from .env and start the bundle
2024-09-11 21:29:23 +02:00
Valentyne Stigloher
e08e994d98
(ts) simplify tsconfig.json
2024-09-11 21:28:41 +02:00
Valentyne Stigloher
9a78a074d8
(ts) add ~ path alias so that the symlinked data directory still resolves to the correct file
...
Nuxt 2 fails with aliases in serverMiddleware, so I had to use tsconfig-paths-webpack-plugin as workaround
https://github.com/nuxt/typescript/issues/339
2024-05-20 12:53:16 +02:00
Valentyne Stigloher
2c997c5422
(pnpm) improve run wrapper
...
- calls pnpm in case no bin file is found (e.g. for run-file)
- uses exec to replace shell, so that no additional child process is created
- cds into the repository in case relative files are referenced
2024-04-13 17:19:59 +02:00
Valentyne Stigloher
c3246be4ee
(pnpm) add run wrapper to ease access to correct node version from external contexts
...
nvm takes quite a long time so the file is accessed directly
2024-04-08 14:03:41 +02:00