# Project-specific configuration This repo (`ia_dev`) is intended to be used as a **git submodule** inside each project. Project-specific parameters are stored here in `projects/.json`. ## Current project selection - **`IA_PROJECT`** (environment variable), or - **`.ia_project`** file at the repository root (one line: the project slug, e.g. `lecoffreio`). Do not use angle brackets in the file. When running from a repo that has `ia_dev` as a submodule, the root is the parent repo; the script resolves `ia_dev` either as `./ia_dev` or `./deploy` (symlink to `ia_dev/deploy`). ## Schema One JSON file per project in `projects/` named by the slug (e.g. `projects/lecoffreio.json`). | Field | Required | Description | |-------|----------|-------------| | `name` | yes | Human-readable project name | | `project_path` | no | Relative path to project from ia_dev (e.g. `../lecoffre_ng_test`); used when running from ia_dev standalone | | `build_dirs` | no | List of directories (relative to repo root) where `npm run build` is run before push. If missing or empty, build check is skipped | | `version` | no | Version/bump configuration | | `version.package_json_paths` | no | List of paths (relative to repo root) to `package.json` files to update on bump | | `version.splash_app_name` | no | App name used in splash message template | | `mail` | no | Mail/imap bridge config | | `git` | no | Git hosting: `wiki_url`, `ticketing_url`, `token_file` | ## Example (minimal) ```json { "name": "My App", "build_dirs": ["backend", "frontend"] } ``` ## Example (full) See `projects/lecoffreio.json`.