Repository navigation
Fix list accuracy for legacy tooling and private registries - #9
Merged
Merged
Conversation
lucasbraum
added a commit
that referenced
this pull request
Oct 4, 2026
The repository declared `[email protected]` after npm had published `0.3.0`, so pending minor changesets would calculate a lower release. Align the CLI manifest with npm, correct the repository metadata for provenance, and publish only versions already committed at the checked-out ref. - npm verification (`npm view <name> versions --json` and `npm view <name> dist-tags`): `uptide` latest is `0.3.0`, next is `0.2.0-next.20261003172442`; private `@uptide/core` returns E404 and stays at `0.1.0`. Internal links use `workspace:*` and need no range changes. - Require an explicit version for latest and next; fail before installation on a manifest mismatch with “Merge the version PR first”. Neither workflow rewrites versions. Both require main; latest retains its public-repository guard and provenance requirements. There is no default version. - Both workflows create `vX.Y.Z` and a GitHub Release at the published `${{ github.sha }}` after a successful non-dry-run publish. Next releases are marked as prereleases. Publish jobs have `contents: read` / `id-token: write`; only the separate release jobs have `contents: write`. - Replace all former-owner references across package metadata, tests, consent links, issue templates, examples, action documentation, and the conduct-report link with `uptide-dev/uptide`. The requested old-owner grep now returns no matches. - Embed the CLI manifest version at build time for `--version`, HTML and telemetry. Regression tests change the manifest after bundling and verify all three retain the build version. - Configure `@changesets/changelog-github` for `uptide-dev/uptide` and document `GITHUB_TOKEN` for PR/commit links. A direct generator check for commit `b2068c7` produced its PR #9 link without running `changeset version`. - Remove private-core entries from four existing mixed changesets, which Changesets rejects. CLI bump types and descriptions remain intact. No new changeset; `changeset version` was not run. ### Existing npm release Verified [npm 0.3.0 provenance](https://registry.npmjs.org/-/npm/v1/attestations/[email protected]) identifies `71e3ebf33cfc2de044fd64cb97bedca0abc4e066`, and verified that commit exists locally. Created and pushed annotated tag `v0.3.0` at exactly that commit; the remote peeled tag matches. Created a [draft GitHub Release](https://github.com/uptide-dev/uptide/releases/tag/untagged-27262a653142ddcf0218) with a short manual summary. No history was rewritten and the draft has not been published. ### Validation Local `pnpm lint`, `pnpm typecheck`, and `pnpm test` pass: 1,053 tests passed (778 engine + 275 CLI), 15 opt-in tests skipped. Release-guard tests cover main-only next releases, required versions, post-publish/dry-run gating, target SHA and least-privilege job permissions. The current commit's denylist-backed public check passed in CI on Node 20 and 22; [remaining CI jobs](https://github.com/uptide-dev/uptide/actions/runs/37244830163) are running. The previous commit's complete CI, including both smoke jobs, passed. ### `pnpm changeset status --verbose` ```text > [email protected] changeset /Users/Deskfy/Desktop/code/uptide-versions > changeset status --verbose 🦋 changeset v3.0.3 Packages to be bumped: - minor - uptide -> 0.4.0 - .changeset/check-first-screen.md - .changeset/command-follows-dist-tag.md - .changeset/first-public-release.md - .changeset/fixture-casts-and-helper-placement.md - .changeset/generic-tier-and-plan.md - .changeset/list-accuracy-private-registry.md - .changeset/nest-discovery-and-html.md - .changeset/one-publish-gate.md - .changeset/quick-discovery-explicit-analysis.md - .changeset/quiet-model-providers.md - .changeset/quiet-tides-observe.md - .changeset/registry-rate-limit.md - .changeset/tagline.md - .changeset/verify-safety.md ```
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.
uptide listretains incomplete registry results and recognizes real tooling usage without hiding application code. Public packages no longer disappear under a shared discovery deadline, and formatter/linter ignore settings no longer turn used runtime dependencies into “Possibly unused”.Discovery and classification
${ENV}tokens and host/path-scoped credentials without storing or printing secrets.lintersmaps and current flat configs in JSON/YAML/JS/ESM/TS/package.json. Ignore globs are neither commands nor source exclusions. Members keep independent classification/evidence; a group header follows its lead while independently used members remain in their own section. JSON andcheck --groupkeep every member.Source scan scope and safety
Only root/nested
.gitignore, built-in directories (node_modules,.git,coverage,dist,build,bower_components,vendor) and generated-file patterns (*.min.js,*.bundle.js,*.map) exclude source. Tool ignores never exclude application code:.prettierignore,.eslintignore,.stylelintignore,standard.ignoreand lint-stagedignoredescribe tool scopes only.Dependency-name text and lexical gates select full syntax-parser candidates. Calls, value references and shadowing still use syntax analysis. Batches of at least 32 candidates / 8 MB use up to four CPU workers; smaller batches avoid startup overhead.
--verboseshows all five phase timings, file/worker counts and skips by reason.When Git rules exclude more than 50% of candidate application sources, terminal summary, HTML, JSON and verbose output warn with the matching patterns and counts. Candidates are counted before text/lexer filtering, excluding built-in/generated artifacts, declaration files and tool configs. Git-ignored subtrees are audited by filenames only, without reading/parsing source; built-in excluded directories remain unenumerated. Warning-only runs still exit 0. Long warnings wrap rather than truncating the responsible rule.
Regression fixtures and performance
tool-ignore-scope:.prettierignorecontains**/*.js, with additional blanket tool settings. nanoid, jquery, pdfjs-dist and axios each remain Used with 1 file / 1 call. Removing all tool ignores produces identical usage counts.legacy-lint-staged: the requested husky → lint-staged legacy config gives prettier both lint-staged command and config file .prettierrc, even as a peer of an unused lead. Uncalled pretty-quick remains possibly unused.${ENV}auth is exercised through core and the bundled CLI. Source fixtures cover all requested non-registry types, registry aliases and catalogs.Re-ran the unchanged scan benchmark on Node 22 with fixed registry responses to isolate scan work:
7b2ce1b)The synthetic scan now reads the 200 additional application files previously hidden by standard.ignore. All 160 usage files / 160 calls survive, with all 1,293 assets processed. Of 1,044 application-source candidates, 300 are Git-ignored; 800 vendor/bower sources are excluded by built-in rules. The earlier unoptimized synthetic scan was 13.542 s. These are local synthetic measurements, not a claim about the unavailable private AngularJS application.
Reproduce with
pnpm buildthennode scripts/list-scan-benchmark.mjs /path/to/webpack-v5.50.0. The script creates/removes a temporary synthetic tree and does not contact a registry. Earlier live registry runs and complete fixture before/after tables are recorded in the fixture README, including webpack's 93 dependencies / 73 outdated / one intentional GitHub skip / zero discovery failures.Validation
Includes documentation, reproducible benchmarks and a core/CLI patch changeset. Based on main after #8 (
21fad7a).