135 Commits

Author SHA1 Message Date
Valentyne Stigloher
28b752d179 (nuxt) set maxSize for webpack bundles to 250kB 2024-04-19 22:41:12 +02:00
Valentyne Stigloher
d06f934bdf (format) 2024-04-18 12:47:44 +02:00
tecc
0edf59325a
fix(nuxt): nuxt.config.ts fix for Windows
nuxt.config.ts: `__dirname` would not be calculated correctly for Windows, but now it should. I feel like I've fixed this exact issue before in this exact situation before but :|.
2024-04-17 04:57:08 +02:00
Valentyne Stigloher
f2fc402dac disable modern bundles because it is not worth the trade off of longer deployment times to user performance for now
reverts commit 84c42a02ca6fa213022150722dc3dad20201229c.
2024-04-08 16:41:18 +02:00
Valentyne Stigloher
84c42a02ca (nuxt) enable modern bundles to improve performance for browsers understanding ES modules 2024-04-08 14:52:18 +02:00
Valentyne Stigloher
03058e3488 (nuxt) replace datetimepicker plugin with dynamic import to reduce initial bundle size 2024-04-08 14:52:18 +02:00
Valentyne Stigloher
edb155ffbc (nuxt) watch data/config.suml to rebuild
probably due to a065029cb553226ba76c29f9b5131015925a40f6, config.suml is not detected as dependency by webpack,
but as nuxt.config.ts directly accesses the config, this is probably safer anyway
2024-04-02 23:38:10 +02:00
Valentyne Stigloher
ecac8c5e71 (nuxt) typo missing newline 2024-03-28 13:56:07 +01:00
Andrea Vos
b3ffcf3519 re-enable no-ssr 2024-03-26 00:15:50 +01:00
Andrea Vos
242719e446 æxperiment with disabling no-ssr, see it the server gets a performance hit 2024-03-22 08:32:09 +01:00
Valentyne Stigloher
0081afc24e (nuxt) do not typecheck on nuxt build in production (speeds up deployment and reduces memory usage)
move ts-node to dependencies as the cron jobs use this and yarn install in production env does not install dev dependencies
explicitely disable sentry when SENTRY_DSN is not set to prevent further warnings
2024-03-21 13:03:58 +01:00
Valentyne Stigloher
8e05e2ffbd (sentry) inspect frame.filename besides frame.abs_path
looks like at the stage of beforeSend filename can contain an url
2024-03-19 18:55:46 +01:00
Valentyne Stigloher
f9c3a6b957 (sentry) temporarily add event data as extra breadcrumb for troubleshooting beforeSend 2024-03-18 14:04:38 +01:00
Valentyne Stigloher
2d352dcd01 (sentry) enable INP metric
https://sentry.io/changelog/sentry-officially-supports-inp/
2024-03-18 14:04:38 +01:00
Valentyne Stigloher
bf7acd987f (ts) convert used nuxt plugins 2024-03-18 13:25:55 +01:00
Valentyne Stigloher
d148b53f3b (polyfill) simple polyfill for Object.hasOwn 2024-03-12 15:11:40 +01:00
Valentyne Stigloher
ff716a3d41 (sentry) send deployment information to track which environment is on which release 2024-03-11 21:57:11 +01:00
Valentyne Stigloher
4e7dc34634 (sentry) filter out errors by inspecting the stacktrace 2024-03-09 18:22:54 +01:00
Valentyne Stigloher
276332c943 (sentry) improve configuration 2024-03-08 12:01:10 +01:00
Valentyne Stigloher
91de9e68d1 (sentry) remove unnecessary double console.error 2024-03-07 23:25:58 +01:00
Valentyne Stigloher
c84346137c (ts) explicitely type Config 2024-03-07 16:28:12 +01:00
Valentyne Stigloher
cf91fdb13a (format) split long lines 2024-03-07 16:11:20 +01:00
Valentyne Stigloher
f69aec7998 (sentry) replace some console.error with Sentry.captureException 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
2927195130 (sentry) disable sending of user information 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
f8156d5204 (sentry) activate sentry in server scripts 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
f1b6d86cb2 (sentry) enable source-map uploading with release management
requires that the following environment variables are set:
SENTRY_PUBLISH_RELEASE=true
SENTRY_AUTH_TOKEN={generated token}
SENTRY_ORG=pronouns-page
SENTRY_PROJECT=pronouns-page
2024-03-05 18:19:33 +01:00
Valentyne Stigloher
c36705efcb (sentry) use @nuxt/sentry to setup sentry
requires that the following environment variable is set:
SENTRY_DSN={sentry dsn}
2024-03-05 18:19:33 +01:00
Valentyne Stigloher
c0c83270d0 (refactor) nuxtConfig.plugins use mode instead of deprecated ssr 2024-03-05 18:19:33 +01:00
Valentyne Stigloher
a238ad35f5 (ops) log server version to trace deployments in logs 2024-03-05 18:19:33 +01:00
Andrea Vos
c1043d07d2 linter fixes 2024-02-25 14:53:48 +00:00
Andrea Vos
40fc84126b Merge branch 'main' into workshops 2024-02-25 12:53:38 +00:00
Valentyne Stigloher
2eb794e5fd (ts) convert some Vue components 2024-02-23 17:51:18 +01:00
Valentyne Stigloher
7ce1bb0e83 (ts) convert a lot to TypeScript
Co-authored-by: Sky <msurvival65@gmail.com>
Co-authored-by: tecc <tecc@tecc.me>
2024-02-23 17:48:16 +01:00
Valentyne Stigloher
2364e2543c (ts) convert locale/locales.ts to TypeScript 2024-02-23 17:48:16 +01:00
Valentyne Stigloher
210fc73655 (ts) use TypeScript in Nuxt 2024-02-23 17:48:15 +01:00