10 Commits

Author SHA1 Message Date
Valentyne Stigloher
54a57192b3 (nuxt) use new directory structure by moving many directories to app 2025-08-17 18:10:36 +02:00
Andrea Vos
08c7e37e28 (blog) make blog posts a bit more prominent 2025-04-19 15:17:12 +02:00
Adaline Simonian
23a3862ca0
test: introduce snapshot-based smoke tests
- Adds a new test suite with Docker-based smoke tests for all locales.
  Can be run using the ./smoketest.sh script.
- Replaces all calls to Math.random() with a new helper that returns 0.5
  in snapshot testing mode, ensuring deterministic snapshots.
- Similarly replaces all calls to new Date() and Date.now() with new
  helpers that return a fixed date in snapshot testing mode.
- Replaces checks against NODE_ENV with APP_ENV, to ensure that the
  bundles can be built with Nuxt for testing without losing code that
  would otherwise be stripped out by production optimizations.
- Adds a database init script that can be used to initialize the
  database with a single admin user and a long-lived JWT token for use
  in automation tests.
- Adds a JWT decoding/encoding CLI tool for debugging JWTs.

Note: Snapshots are not checked in, and must be generated manually. See
test/__snapshots__/.gitignore for more information.
2025-02-02 23:11:19 -08:00
Valentyne Stigloher
d61f5c306b (shop) don’t fetch when no token is supplied (e.g. during development) 2024-09-20 19:21:29 +02:00
Valentyne Stigloher
54041531c6 (vue) use shallowRef to fix error when using the Shopify API 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
8b58541079 (nuxt) replace process.env replacement with runtimeConfig.public 2024-09-12 10:11:25 +02:00
Andrea Vos
d3b54484af #403 mitigation of <ShopifyEmbed> display issues 2024-08-27 08:21:02 +02:00
Andrea Vos
a010f14398 handle ShopifyBuy not loading correctly 2024-06-09 14:29:34 +02:00
Andrea Vos
9605b33154 linter fixes 2024-06-05 22:30:13 +02:00
Andrea Vos
ccf870f2f4 (shop) fetch actual live products instead of a static banner 2024-06-05 22:14:40 +02:00