Skip to content

Repair npm publish version updates#1330

Merged
cristianrgreco merged 1 commit into
mainfrom
codex/fix-npm-publish-version-update
May 19, 2026
Merged

Repair npm publish version updates#1330
cristianrgreco merged 1 commit into
mainfrom
codex/fix-npm-publish-version-update

Conversation

@cristianrgreco
Copy link
Copy Markdown
Collaborator

Summary

  • Update the npm publish workflow to derive the release version from the tag once.
  • Replace per-module npm install testcontainers@... calls with manifest-only npm pkg set updates for dependencies.testcontainers.
  • Regenerate package-lock.json once with npm install --package-lock-only --ignore-scripts before the clean install/build step.

Verification

  • npm ci --ignore-scripts
  • npm run format
  • npm run lint
  • Reproduced the current publish workflow in /private/tmp/tc-publish-current.upQkMp; npm ci --dry-run --ignore-scripts failed with Missing: testcontainers@11.14.0 from lock file.
  • Verified the proposed flow in /private/tmp/tc-publish-fixed.2XRoN4; npm ci --dry-run --ignore-scripts passed.

Test results summary

  • Formatting and linting completed successfully.
  • The release lockfile consistency failure was reproduced before the change and the proposed workflow sequence passed the same npm ci validation afterward.

Semver impact

Patch. This changes only the release workflow and does not alter published package runtime APIs or TypeScript public types.

@cristianrgreco cristianrgreco added maintenance Improvements that do not change functionality patch Backward compatible bug fix labels May 19, 2026 — with ChatGPT Codex Connector
@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2026

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 099a844
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-node/deploys/6a0c6fb6cbd32e0008957d14
😎 Deploy Preview https://deploy-preview-1330--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cristianrgreco cristianrgreco merged commit 80d537a into main May 19, 2026
263 checks passed
@cristianrgreco cristianrgreco deleted the codex/fix-npm-publish-version-update branch May 19, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Improvements that do not change functionality patch Backward compatible bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant