Skip to content

chore(deps): remove dead runtime deps — bare axios, @fortawesome, @vue/compat - #449

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/remove-dead-deps
Aug 7, 2026
Merged

chore(deps): remove dead runtime deps — bare axios, @fortawesome, @vue/compat#449
rubenvdlinde merged 1 commit into
developmentfrom
chore/remove-dead-deps

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

None of these are imported anywhere in src/.

Evidence

Measured with a grep over the checked-out tree, positive-controlled so an empty result means a real absence rather than a broken search — the same grep finds 66 files importing @nextcloud/axios in openregister.

package imports in src/
bare axios 0 — these apps use @nextcloud/axios
@fortawesome/* 0
@vue/compat 0

@vue/compat is worth a note

A naive grep does hit it in webpack.config.js — but only inside comments recording that it was removed:

build runs on the REAL Vue 3 runtime — NOT @vue/compat
PURE VUE 3 (ADR-066): the @vue/compat MODE-2 compiler shim is gone

A check that greps a bare string matches every comment about a thing as readily as a use of it — the same failure that produced false ADR-040 findings earlier in this programme. Confirmed dead by reading the hits, not counting them.

Deliberately NOT applied to opencatalogi

opencatalogi genuinely uses both: 2 files import bare axios, 3 import @fortawesome. Identical manifest lines, opposite verdict — decided per repo rather than swept.

Lockfile regenerated with npx npm@10.8.2, never --legacy-peer-deps.

…e/compat

None of these are imported anywhere in src/.

Measured with a local grep over the checked-out tree, positive-controlled so
an empty result means a real absence and not a broken search: the same grep
finds 66 files importing @nextcloud/axios in openregister.

  bare "axios"      0 imports   the apps use @nextcloud/axios
  @fortawesome/*    0 imports
  @vue/compat       0 imports

@vue/compat is worth a note. A naive grep DOES hit it in webpack.config.js —
but only inside comments recording that it was REMOVED:

  "build runs on the REAL Vue 3 runtime — NOT @vue/compat"
  "PURE VUE 3 (ADR-066): the @vue/compat MODE-2 compiler shim is gone"

A checker that greps a bare string matches every comment about a thing as
readily as a use of it. Confirmed dead by reading the hits, not counting them.

NOT removed from opencatalogi, which genuinely uses both: 2 files import bare
axios and 3 import @FortAwesome. Same manifest line, opposite verdict — so
this was decided per repo, not swept.

Lockfile regenerated with npx npm@10.8.2, never --legacy-peer-deps.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/softwarecatalog @ 6c9e858

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
check-vue-demi
test-l10n
composer ✅ 121/121
npm ✅ 718/718
PHPUnit
Newman ⏭️
Playwright
Hydra gates

Quality workflow — 2026-08-07 08:30 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 47c00ba into development Aug 7, 2026
29 checks passed
@rubenvdlinde
rubenvdlinde deleted the chore/remove-dead-deps branch August 7, 2026 08:31
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