fix: update README badge paths and rename streaming/ to uploads/ #503
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.
fix: update README badge paths and rename streaming/ to uploads/
Summary
This PR fixes broken version badge URLs in README files across the monorepo and renames the
streaming/folder touploads/for better clarity about its purpose (file upload utilities for S3).The badge URLs were pointing to incorrect folder paths (e.g.,
packages%2Fexplorerinstead ofgraphql%2Fexplorer), causing the version badges to fail to load. All badge paths have been updated to reflect the actual folder structure.Changes include:
streaming/folder touploads/(10 packages)graphql/,postgres/,pgpm/, anduploads/folderspnpm-workspace.yamlto referenceuploads/*uploads/instead ofstreaming/Updates since last revision
Added a fix for flaky snapshot tests in
pgpm/clithat were failing when boilerplate dependency versions changed (e.g.,makage,pgsql-test):normalizePackageJsonForSnapshot()helper inpgpm/cli/test-utils/cli.tsthat replaces dependency versions with<VERSION>placeholderinit.install.test.tsto use the normalizer while preserving versions for explicitly installed test packages (@pgpm-testing/base32,@pgpm-testing/utils)Review & Testing Checklist for Human
normalizePackageJsonForSnapshotfunction logic - ensure it correctly handles all dependency fields and thepreserveVersionsForoptionpreserveVersionsForarrays ininit.install.test.tsinclude the correct packages (should match what each test installs)streaming/references:grep -r "streaming/" --include="*.yaml" --include="*.json" --include="*.md"Notes
Link to Devin run: https://app.devin.ai/sessions/a4fde64468004af8a5a915dac64fb642
Requested by: Dan Lynch ([email protected]) / @pyramation
Build was verified locally with
pnpm buildpassing successfully. Snapshot tests pass withnpx jest __tests__/init.install.test.ts.