Skip to content

chore: drop Core leftovers from the root package - #176

Merged
ulissesferreira merged 9 commits into
mainfrom
chore/more-monorepo-improvements
Aug 19, 2026
Merged

chore: drop Core leftovers from the root package#176
ulissesferreira merged 9 commits into
mainfrom
chore/more-monorepo-improvements

Conversation

@ulissesferreira

@ulissesferreira ulissesferreira commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Explanation

The root package.json still carried MetaMask Core-era scripts and config that do not apply to this Snap monorepo.

  • lint:eslint wiped packages/*/dist and raised the Node heap to 6GB before running ESLint. Dist is already ignored, and this repo is much smaller than Core, so that is just yarn eslint.
  • @types/node was still on 16 while we treat Node 24 as current LTS, so types (and NODE_LTS_VERSION in ESLint) now match 24. Package engines stay >=20 to match what we want to support and our CI's (which run a matrix of versions).
  • Unused root scripts (build:types, setup) and files: [] are gone. Yarn constraints unset root files so it cannot come back. simple-git-hooks pre-push config is removed (the dependency remains).
  • Preview docs keep the original publishing steps. The bot comment typo is fixed (@metamaskbot publish-preview), and independent contributors are pointed at local builds instead of the missing Yarn commands. The workflow docs-url points at this repo instead of Core.
  • Root package description typo: firt-partyfirst-party.

No package APIs changed.

References

N/A

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@ulissesferreira
ulissesferreira requested review from a team as code owners August 19, 2026 15:42
@ulissesferreira
ulissesferreira deployed to default-branch August 19, 2026 15:42 — with GitHub Actions Active
@socket-security

socket-security Bot commented Aug 19, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​node@​16.18.106 ⏵ 24.13.31001008195 -1100

View full report

The root package no longer calls tsc, so depcheck cannot see that TypeScript is still required for type-aware linting.
The Node 24 types bump left a leftover 22.7.5 resolution that fails yarn dedupe --check.
Restore the original publishing steps, fix the @metamaskbot comment typo, and point independent contributors at local builds instead of the missing Yarn commands.
NODE_LTS_VERSION 24 no longer flags those builtins, so leftover suppressions fail lint:eslint.

@taran-a taran-a left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GG. Nice

@ulissesferreira
ulissesferreira added this pull request to the merge queue Aug 19, 2026
Merged via the queue into main with commit 766a1ad Aug 19, 2026
52 checks passed
@ulissesferreira
ulissesferreira deleted the chore/more-monorepo-improvements branch August 19, 2026 18:08
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.

2 participants