- Add contentDir option to eventcatalog.config.js to separate project config from catalog content
- Resolution priority: CONTENT_DIR env var > config.contentDir > PROJECT_DIR (backward compatible)
- Update all Astro content collection loaders to read from contentDir
- Watch both projectDir and contentDir in dev mode
- Pass CONTENT_DIR to all build, preview, and server commands
- Update CLI import/export, migrations, dependency resolution, and search indexing to use contentDir
- Save visualizer layout data to contentDir so it travels with the content
- Add resolveContentDirectory() unit tests and CLI import/export integration tests
Motivation
Separate source code and responsibilities between project and build, and catalog content
Fixes #2599