NextGraph integration (WIP), broker banner, and feature-based architecture
- Add NextGraph data layer with @ng-org/orm, SHEX shapes (Event, UserProfile, Participation), session management, and FestipodDataContext with dual-mode operation (connected via NextGraph or local seed data) - Add BrokerBanner and NgStatus components showing connection status - Refactor to feature-based architecture: organize code by business domain (event, user, home, auth, workshop, meeting, notification) instead of technical layer. Modules only import from shared/, never from each other - Collocate BDD features and step definitions with their modules: event-specific steps in event/steps/, user steps in user/steps/, shared generic steps remain in shared/steps/ - Set up multi-layer BDD structure (frontend/backend/e2e steps per module) - Add project documentation (AGENTS.md, .project/knowledge/) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Glob } from 'bun';
|
||||
import type { ParsedFeature, ParsedScenario, ParsedStep } from '../src/types/gherkin';
|
||||
import type { ParsedFeature, ParsedScenario, ParsedStep } from '../src/shared/types/gherkin';
|
||||
|
||||
// Map French screen names to screen IDs (same as navigation.steps.ts)
|
||||
const screenNameMap: Record<string, string> = {
|
||||
@@ -73,7 +73,7 @@ function extractScreenIdsFromSteps(steps: ParsedStep[]): Set<string> {
|
||||
}
|
||||
|
||||
async function parseFeatures(): Promise<ParsedFeature[]> {
|
||||
const glob = new Glob('features/**/*.feature');
|
||||
const glob = new Glob('src/modules/*/features/**/*.feature');
|
||||
const features: ParsedFeature[] = [];
|
||||
|
||||
for await (const filePath of glob.scan('.')) {
|
||||
@@ -116,7 +116,7 @@ export function getAllPriorities(): number[] {
|
||||
}
|
||||
`;
|
||||
|
||||
await Bun.write('src/data/features.ts', output);
|
||||
await Bun.write('src/shared/data/features.ts', output);
|
||||
console.log(`Parsed ${features.length} feature files`);
|
||||
return features;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user