Skip to content

Fix publish package script and the package manifest - #2

Merged
HardlyDifficult merged 16 commits into
mainfrom
fixPublishPackage
Jul 8, 2025
Merged

Fix publish package script and the package manifest#2
HardlyDifficult merged 16 commits into
mainfrom
fixPublishPackage

Conversation

@HardlyDifficult

Copy link
Copy Markdown
Collaborator

No description provided.

@HardlyDifficult
HardlyDifficult requested a review from Copilot July 8, 2025 17:14

Copilot AI 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.

Pull Request Overview

This PR updates the publish workflow to source package versions directly from package.json rather than using npm version --json and jq.

  • Replace npm version --json | jq -r ... calls with node -p "require('./package.json').version" for both current and new version retrieval.
Comments suppressed due to low confidence (1)

.github/workflows/publish.yml:57

  • This change reads the same version twice without actually incrementing it, so NEW_VERSION will match CURRENT_VERSION and the git tag won’t advance. Consider adding a version bump step (e.g., npm version patch --no-git-tag-version) before reading the new version.
          NEW_VERSION=$(node -p "require('./package.json').version")

@HardlyDifficult HardlyDifficult changed the title Fix publish package Fix publish package and manifest Jul 8, 2025
@HardlyDifficult HardlyDifficult changed the title Fix publish package and manifest Fix publish package script and the package manifest Jul 8, 2025
@HardlyDifficult
HardlyDifficult merged commit 6bf060b into main Jul 8, 2025
1 check passed
@HardlyDifficult
HardlyDifficult deleted the fixPublishPackage branch July 8, 2025 18:51
cursor Bot pushed a commit that referenced this pull request Aug 5, 2026
…y (MUST FIX #2)

handleRequestError built its timeout NetworkError message directly from
error.config?.url, which can carry query-string credentials/tokens.
Route it through the existing redactEndpoint() helper instead.

Also wraps every real-HTTP-server test in http-client-hang.test.ts in
try/finally so a failing assertion cannot leave a listening socket
behind, and adds a regression test asserting a timeout error message
never contains a raw query-string secret.

Co-authored-by: HardlyDifficult <hardlydiff@gmail.com>
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