From 57fe63ef1fd7f1334bd585bb80dd66d7c40bceb1 Mon Sep 17 00:00:00 2001 From: Dimas Wiese Date: Mon, 16 Mar 2026 00:22:08 +0100 Subject: [PATCH] Update modify angular.json to add allowedCommonJsDependencies; adjust responseCounts type in home.page.ts --- .gitignore | 1 + angular.json | 6 ++++-- src/app/home/home.page.ts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5b669df..ff9c37b 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ testem.log # System files .DS_Store Thumbs.db +CLAUDE.md diff --git a/angular.json b/angular.json index e7c7b88..ecdcac3 100644 --- a/angular.json +++ b/angular.json @@ -32,7 +32,8 @@ } ], "styles": ["src/global.scss", "src/theme/variables.scss"], - "scripts": [] + "scripts": [], + "allowedCommonJsDependencies": ["sdp", "webrtc-adapter"] }, "configurations": { "production": { @@ -136,7 +137,8 @@ "cli": { "schematicCollections": [ "@ionic/angular-toolkit" - ] + ], + "analytics": false }, "schematics": { "@ionic/angular-toolkit:component": { diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 467d9a2..2f6c524 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -22,7 +22,7 @@ import type { Survey } from '../shared/models/survey.models'; export class HomePage implements OnInit, OnDestroy { surveys: Survey[] = []; /** Map from surveyId → response count (refreshed on each emission) */ - responseCounts: Record = {}; + responseCounts: Record = {}; private surveySubscription?: Subscription;