vanilla_respondage/.gitignore
Tammo ter Hark 756c0ec2d1 refactor(css): row 216 — sass is leading for ALL css files, not just plain.css
Previously only css/plain.css was compiled from sass/plain.sass; css/custom.css
and css/fonts.css were hand-written. Now every theme stylesheet has a leading
sass source: sass/plain.sass, sass/custom.sass, sass/fonts.sass (partials _*),
compiled with 'sass --watch sass:css' (dart-sass 1.83.4 added as local
devDependency; node_modules/package.json stay gitignored). css/*.css are build
artifacts and remain the committed runtime files; sass/ stays developer-local.
Recompiled output is semantically identical to the previous hand-written files
(dart-sass normalization only: 2-space indent, double quotes, @charset).
variants/export_public.sh step 0 now checks BOTH directions for every pair:
stale css/<name>.css vs sass/<name>.sass aborts, and a css file without a sass
source aborts; compiler resolved from PATH or node_modules/.bin/sass.
.gitignore/README document the workflow.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 09:11:39 +01:00

73 lines
3.1 KiB
Text

# ---------------------------------------------------------------------------
# Public-repo policy (Forgejo): this repository contains ONLY the files needed
# to run the theme (config.xml, views/, options/, css/, scripts/, files/,
# README.md, LICENSE). Everything listed below is developer-local tooling or
# internal notes and is deliberately NOT tracked, so it never reaches Forgejo.
# ---------------------------------------------------------------------------
# variants/ — only the confidential parts stay local: the client definitions
# (*.json), the leak patterns (client names/colors) and the dev tests. The
# generic tooling (build.php, export_public.sh — verified to contain no client
# data) IS tracked, so variants can be built from the public repo alone, and
# variants/example/ IS tracked on purpose: it is the public example output of
# the build process (the respondage_respondage example variant). The canonical
# client definitions live in the private variants repository
# (vanilla_respondage_variants); point variants/build.php at that folder via
# its 2nd CLI argument or RESPONDAGE_VARIANTS_DIR.
/variants/*.json
/variants/leak-patterns.txt
/variants/tests/
# sass/ sources are developer-only and LEADING: every sass/*.sass (except _*
# partials) is compiled locally to its css/<name>.css counterpart (which IS
# committed — sass is leading, css is the build artifact). LimeSurvey serves
# the committed css and never compiles sass itself. The .sass files were purged
# from history with git filter-repo. Watcher: `sass --watch sass:css`.
/sass/
# Source maps are artifacts of the local sass compile — not needed at runtime
# (LimeSurvey serves css/ as-is).
/css/*.map
# Export zips, if an output dir inside the theme is ever used.
/dist/
# Work-in-progress logo artwork — local only, never commit/publish.
/files/logos.svg
# Session prompt log (prompts used + results). Internal working notes — never
# commit, never publish.
prompts.md
# Local LimeSurvey working notes (limesurvey.md) — internal, never commit/publish.
limesurvey.md
# Feature-request drafts for LimeSurvey core (English, well-substantiated) are
# internal too: never commit them to the public repo.
FEATURE_REQUEST*.md
# Bug-report drafts for LimeSurvey core (English, with repro + stack trace) are
# internal too: never commit them to the public repo.
BUG_REPORT*.md
# Parked-prompt index (moved out of prompts.md so it stays findable) and
# security-review reports are internal too: never commit, never publish.
OPEN_PROMPTS.md
SECURITY_REVIEW*.md
# Working agreements for the agent (AGENTS.md) are internal too: never commit.
AGENTS.md
# Local agent config for this repo (tool permissions) — never commit, never publish.
/.vibe/
# Local dev tooling (jsdom DOM tests for options/options.js): package files and
# node_modules live in the theme dir so tests run from here, but they are
# developer-local only — never commit, never publish.
/node_modules/
/package.json
/package-lock.json
# Runtime cache the app writes into the theme dir during local renders (twig
# cache) — never commit, never publish.
/tmp/