Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"@angular/localize/init",
"zone.js"
"@angular/localize/init"
],
"tsConfig": "tsconfig.app.json",
"allowedCommonJsDependencies": [
Expand Down Expand Up @@ -94,7 +93,6 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
Expand Down
15 changes: 14 additions & 1 deletion docs/migration-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,19 @@ Each component toggle below documents a single commit.

</details>

<details>

<summary><strong>Zoneless application and tests</strong></summary>

- The application now uses `provideZonelessChangeDetection()` instead of `provideZoneChangeDetection()`.
- Removed `zone.js` from the application dependencies and from the build/test polyfills, including the `zone.js/testing` test bootstrap import.
- Replaced the remaining Zone-dependent `fakeAsync` / `tick` test setup with native `async` / `await fixture.whenStable()`.
- Migrated the remaining loading and rendered-content state in `ActivityDescriptionPageComponent`, `ReportComponent`, `UsageComponent`, and `MarkdownViewerComponent` to signals so their templates update correctly without Zone.js.
- <b> DSOMM is now completely zoneless at runtime and in its test configuration 🎉. </b>
- **Files:** `angular.json`, `package.json`, `package-lock.json`, `src/main.ts`, `src/test.ts`, `src/app/pages/settings/settings.component.spec.ts`, `src/app/component/markdown-viewer/*`, `src/app/pages/activity-description/*`, `src/app/pages/report/*`, `src/app/pages/usage/*`

</details>

---

## Backlog
Expand All @@ -698,4 +711,4 @@ Each component toggle below documents a single commit.
| 4 | Test Runner | • **Deprecated subdependencies:** Karma pulls in `glob@7.2.3`, `inflight@1.0.6`, and `rimraf@3.0.2` — all deprecated, cluttering `pnpm install` with warnings. <br>• **pnpm incompatibility:** Karma's Webpack-based builder (`@angular-devkit/build-angular:karma`) cannot resolve transitive dependencies (e.g. `@babel/runtime`) under pnpm's strict symlinked `node_modules`. Currently requires `node-linker=hoisted` in `.npmrc` as a workaround, defeating pnpm's strictness benefits. <br>• **Modern tooling alignment:** Build/serve already use esbuild/Vite via `@angular/build`. Tests are the last piece still on the legacy Webpack pipeline. Migrating would allow dropping `@angular-devkit/build-angular` entirely. | High | Karma is deprecated. Migrate to a Vite-based test runner (e.g. Vitest or `@angular/build` native test support). |

> [!NOTE]
> Add new backlog items here as they are discovered during future upgrades. Remove items once resolved.
> Add new backlog items here as they are discovered during future upgrades. Remove items once resolved.
97 changes: 4 additions & 93 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"tslib": "2.8.1",
"xlsx": "0.18.5",
"yaml": "2.9.0",
"yamljs": "0.3.0",
"zone.js": "0.15.1"
"yamljs": "0.3.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "21.2.19",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="main-section">
<article [innerHTML]="toRender"></article>
<article [innerHTML]="toRender()"></article>
</div>
Loading
Loading