Skip to content

chore(cleanup): remove dead files - #4752

Open
thetaPC wants to merge 2 commits into
mainfrom
more-deleted-files
Open

thetaPC wants to merge 2 commits into
mainfrom
more-deleted-files

Conversation

@thetaPC

@thetaPC thetaPC commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Issue URL: internal

What is the current behavior?

Over 100 files, ~9,900 lines, are tracked but referenced by nothing on any branch. Most went dead years ago and survived because nothing reports an unreferenced file: it produces no conflict, no build error and no broken link.

What is the new behavior?

Deletes all 115.

Playgrounds (111 files). Four were re-added deliberately and eleven were left behind:

  • v7/v8/v9 range/basic and v7 datetime/theming carry # TODO FW-4608. Ionic 7.1 renamed those playgrounds, which broke the JP build and blocked the release, so they were added back in June 2023 to be removed "once our translation infrastructure work is complete". jp now imports the renamed datetime/styling, so the need is gone, and the tracking ticket is Discarded and unassigned since May 2024.
  • item/media lost its import on 09-22-2023 (docs(item): add best practices and usage guides #3123), item/theming/input-highlight and label/input on 10-12-2023 (docs(many): remove legacy form control syntax from v7 playgrounds #3140), and toast/swipe-gesture on 07-19-2024 (docs(api): use v8 demos instead of v7 demos for latest playgrounds #3759, which switched the latest pages to v8 demos).
  • The v8 and v9 copies were never referenced in any commit. The v8 cut (12-07-2023) and v9 cut (12-04-2025) both happened after the imports were removed, so each version snapshot copied an already-dead directory forward.
  • v6 accordion/disable-group predates the disable/group restructure and was never referenced.

Dead data and config (4 files, 426 KB).

  • scripts/data/native.json, 281 KB, the retired Ionic Native plugin list, last meaningfully changed 09-09-2022
  • scripts/data/github-commits.json, 144 KB, last changed 09-11-2019; its only reader, scripts/bak/build-data/file-contributors.ts, was deleted three days ago in chore(cleanup): remove unreferenced files and redirect ja developer-resource #4741
  • .eslintrc.json, dead since 05-04-2023 (chore(lint): add prettier and lint on CI #2946), when prettier replaced eslint as the lint script and the eslint dependencies went with it. It still sets parser: @typescript-eslint/parser, which is not installed, so it cannot run.
  • src/manifest.json, last touched 12-07-2021. src/ is not served, so it is reachable at no URL, and its icon points at /docs/assets/, a path that has never existed.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Verified with a full build plus typecheck, tests and both generators, since scripts/cli.mjs still reads the two data files left in place.

@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Sep 25, 2026 6:44pm UTC

Request Review

@thetaPC
thetaPC marked this pull request as ready for review September 25, 2026 18:35
@thetaPC
thetaPC requested a review from a team as a code owner September 25, 2026 18:35
@thetaPC
thetaPC requested a review from ShaneK September 25, 2026 18:35

This branch was successfully deployed

1 active deployment
Preview — f70f68c6 Deployed Sep 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant