0ab98690eb
Adds a CreditCard button on the shopping list that opens a modal showing the user's Coop Supercard (Data Matrix) and Migros Cumulus (Code 128). Card numbers come from SHOPPING_COOP_SUPERCARD_NUMBER and SHOPPING_MIGROS_CUMULUS_NUMBER env vars; a prebuild script renders each to an SVG (~1-2 kB) in static/shopping/ so no barcode library ships to the client. Cards missing their env var are silently skipped, and the generated SVGs are gitignored to keep personal numbers out of the repo.
25 lines
625 B
Plaintext
25 lines
625 B
Plaintext
.DS_Store
|
|
*/.jukit
|
|
*/.jukit/*
|
|
node_modules
|
|
/build
|
|
/.svelte-kit
|
|
/package
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
vite.config.js.timestamp-*
|
|
vite.config.ts.timestamp-*
|
|
# USDA bulk data downloads (regenerated by scripts/import-usda-nutrition.ts)
|
|
data/usda/
|
|
# Loyalty-card barcodes (regenerated by scripts/generate-loyalty-cards.ts from env)
|
|
static/shopping/supercard.svg
|
|
static/shopping/cumulus.svg
|
|
src-tauri/target/
|
|
src-tauri/*.keystore
|
|
# Android: ignore build output and caches, track source files
|
|
src-tauri/gen/android/.gradle/
|
|
src-tauri/gen/android/app/build/
|
|
src-tauri/gen/android/buildSrc/.gradle/
|
|
src-tauri/gen/android/buildSrc/build/
|