Skip to content

chore(deps): remove 4 dead remark packages — nothing invokes them - #2376

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

chore(deps): remove 4 dead remark packages — nothing invokes them#2376
rubenvdlinde merged 1 commit into
developmentfrom
chore/remove-dead-remark-deps

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

remark-cli, remark-lint-list-item-indent, remark-preset-lint-consistent and remark-preset-lint-recommended are declared but never used.

Verified dead on four counts

check result
npm scripts referencing remark NONE
.remarkrc* config files NONE
remarkConfig key in package.json absent
workflows referencing remark NONE

The absence checks are positive-controlled: the same repository listing that returns nothing for remark does return .babelrc, eslint.config.js and webpack.config.js. So "no config" is a real absence rather than a broken lookup — which is the failure mode that has manufactured false findings elsewhere in this programme.

The lockfile delta is the transitive tree, not a reformat

Removing these drops the unified/mdast/micromark tree with them, which is most of the diff. That was controlled for npm-version skew: regenerating the lockfile against the unmodified base with the same npm 10.8.2 produces zero change. So the deletions are genuinely the remark tree.

Lockfile regenerated with npx npm@10.8.2, never --legacy-peer-deps — that strips every peer: true entry (529 of them in a sibling repo, a 12,573-line deletion).

openregister was additionally verified locally: npm ci rc 0 and npm run build rc 0.

remark-cli, remark-lint-list-item-indent, remark-preset-lint-consistent and
remark-preset-lint-recommended are declared but never used.

Verified dead on four counts, not a manifest grep alone:

  npm scripts referencing remark   NONE
  .remarkrc* config files          NONE
  "remarkConfig" key in package.json  absent
  workflows referencing remark     NONE

The absence checks are positive-controlled: the same repository listing that
returns nothing for remark does return .babelrc, eslint.config.js and
webpack.config.js, so "no config" is a real absence rather than a broken
lookup.

Removing them also drops their transitive tree (unified/mdast/micromark),
which is most of the lockfile delta. That delta was controlled for npm-version
skew: regenerating the lockfile against the UNMODIFIED base with the same
npm 10.8.2 produces zero change, so the deletions are genuinely the remark
tree and not a reformat.

Lockfile regenerated with npx npm@10.8.2, never --legacy-peer-deps (that
strips every `peer: true` entry — 529 of them in a sibling repo).
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ 711cb8a

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-specs
test-l10n
composer ✅ 173/173
npm ✅ 549/549
PHPUnit
Newman
Playwright
Hydra gates

Quality workflow — 2026-08-07 06:40 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 9eea48b into development Aug 7, 2026
30 checks passed
@rubenvdlinde
rubenvdlinde deleted the chore/remove-dead-remark-deps branch August 7, 2026 08:13
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