[Angular] Remove unused dependencies: @angular/elements, @angular/platform-server, @angular/ssr, @angular/pwa, @vitest/browser-playwright #1172

Open
opened 2026-10-02 04:44:19 +00:00 by spikerj · 0 comments
Owner

Why

The changelog review found five installed packages with zero imports — each one adds install time, lockfile churn and upgrade surface every refresh:

Package Evidence
@angular/elements 0 imports
@angular/platform-server 0 imports; no SSR build target
@angular/ssr 0 imports (one comment mention)
@angular/pwa schematic-only package; ngsw is wired via @angular/service-worker
@vitest/browser-playwright no vitest config uses browser mode; every project runs jsdom; only mentioned in package.json, lockfile and a pnpm-workspace.yaml comment

Acceptance criteria

  • re-grep each (imports, project.json executors, schematics, configs, scripts) before removal
  • remove from package.json, update the lockfile and the pnpm-workspace.yaml comments
  • lint / typecheck / test-all / app build / build-storybook green

Size: S.


Filed from the 2026-10-02 spikersoft-angular pnpm outdated changelog review.

## Why The changelog review found five installed packages with **zero imports** — each one adds install time, lockfile churn and upgrade surface every refresh: | Package | Evidence | |---|---| | `@angular/elements` | 0 imports | | `@angular/platform-server` | 0 imports; no SSR build target | | `@angular/ssr` | 0 imports (one comment mention) | | `@angular/pwa` | schematic-only package; ngsw is wired via `@angular/service-worker` | | `@vitest/browser-playwright` | no vitest config uses browser mode; every project runs jsdom; only mentioned in `package.json`, lockfile and a `pnpm-workspace.yaml` comment | ## Acceptance criteria - [ ] re-grep each (imports, `project.json` executors, schematics, configs, scripts) before removal - [ ] remove from `package.json`, update the lockfile and the `pnpm-workspace.yaml` comments - [ ] lint / typecheck / test-all / app build / build-storybook green Size: **S**. --- _Filed from the 2026-10-02 spikersoft-angular `pnpm outdated` changelog review._
spikerj added the enhancement label 2026-10-02 04:44:19 +00:00
Sign in to join this conversation.