Repository navigation
Conversation
vscheuber
force-pushed
the
chore/remove-copyfiles-and-types-colors
branch
from
November 13, 2026 01:19
08c6cfa to
42dcf5f
Compare
`copyfiles` is used by no script, workflow or source file. It pulled in
glob 7.2.3 and inflight 1.0.6, both deprecated, and 31 other packages.
`@types/colors` is a deprecated stub: colors 1.4.0 ships its own
index.d.ts. The stub was also the only thing that brought `colors` into the
tree (`"colors": "*"`), and src/utils/Version.ts imports it, so `colors` is
now a direct devDependency, pinned to 1.4.0 (the version that was there).
`colors` stays bundled, as before.
Both names also leave the neverBundle list in tsdown.config.ts.
The bundles in dist/ are byte-identical before and after (build timestamp
masked), and `grep -c 'require("@'` finds none. `npm ci` no longer prints
deprecation notices.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
vscheuber
force-pushed
the
chore/remove-copyfiles-and-types-colors
branch
from
November 13, 2026 20:51
42dcf5f to
11c1b85
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npm ciprints three deprecation notices in this repository:@types/colors,inflightandglob@7.2.3. This removes the sources of all three.What changes
copyfilesremoved. No script, workflow, source file or doc uses it. It was the only user ofglob@7.2.3andinflight@1.0.6and pulled in 31 other packages (yargs16,through2,noms,mkdirp,untildifyand more). The lockfile loses 33 entries in all and gains none.@types/colorsremoved. It is a deprecated stub;colors@1.4.0ships its ownindex.d.tsandsafe.d.ts.colorsdeclared as a devDependency, pinned to1.4.0. The stub was the only thing that broughtcolorsinto the tree ("colors": "*"), andsrc/utils/Version.tsimports it. Removing the stub alone would have broken the build. The pin is the version that was installed, so what is bundled does not change.tsdown.config.ts: both names leave theneverBundlelist.colorsis not added to it, so it stays inlined like the other runtime packages (docs/BUILD-ENV.md, section 2.2.1).How it was checked
The branch was redone on main after the 5.0.0-26 release: the same two
npmoperations on the current lockfile, not a merge of the old one.npm cion the new lockfile: 499 packages (was 532), no deprecation notices.npm ls --allreports no invalid or missing package.dist/with the old and the newtsdown.config.ts(build timestamp masked) and compared every.cjsfile: all 7 are identical.grep -c 'require("@' dist/*.cjsfinds none.npm run check(0 errors; the 8 warnings are insrc/app.ts,src/cli/FrodoCommand.tsandsrc/ops/McpServerOps.ts, files this change does not touch) andnpx tsc --noEmitpass.56c6dc91d(lib pin 5.0.0-43): 1,056 suites and 9,849 tests passed (10 suites and 148 tests skipped), 10,274 snapshots, exit 0, in one run. No snapshot or recording was changed.npm run build:binary); the bundle comparison above stands in for it, since the binary is built from the same bundle.Not changed
npm audit --omit=devis 0 before and after. The 6 low findings left aredeepmergeinside jest.@parcel/watcher,unrs-resolverand the library'spostinstallhave blocked install scripts. That needs a decision onallowScriptsand is left out of this change.🤖 Generated with Claude Code