Update package version and improve version tagging logic - #9
Merged
Conversation
fix: update package version from 0.0.1 to 0.0.2 in package.json and p…
… at the correct version
fix: improve version tagging logic to skip if package.json is already…
There was a problem hiding this comment.
Pull request overview
This PR bumps the extension version and aligns metadata/tests/workflow behavior, while also correcting UUID v1 timestamp math by switching to BigInt to avoid precision/overflow issues.
Changes:
- Bump extension version to
0.0.2and syncpackage-lock.jsonmetadata withpackage.json. - Improve publish workflow tagging behavior by skipping
npm versionwhen the tag already matchespackage.json. - Update UUID v1 generation (panel + tests) to use
BigIntfor safe timestamp bit operations; fix extension presence test to match the extension name.
Reviewed changes
Copilot reviewed 5 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/panels/uuidPanel.ts |
Switch UUID v1 timestamp arithmetic to BigInt and bit-shifts for correctness. |
src/test/uuid.test.ts |
Mirror the BigInt UUID v1 logic in tests. |
src/test/extension.test.ts |
Update expected extension packageJSON.name to dev-x. |
package.json |
Bump extension version to 0.0.2. |
package-lock.json |
Sync lockfile name/version with the package metadata. |
.github/workflows/publish.yml |
Avoid redundant npm version runs when tag/version already match. |
resources/refresh.svg |
Add refresh SVG asset (currently not referenced). |
resources/dark |
Add empty resources/dark file (currently not referenced). |
Comments suppressed due to low confidence (1)
.github/workflows/publish.yml:94
- The workflow still outputs and uploads the VSIX as
devx.vsixeven though the extension/package name isdev-x. Consider renaming the artifact/output file to match the current extension name to reduce confusion when downloading releases.
- name: Package VSIX
run: npx vsce package --no-dependencies --out devx.vsix
- name: Upload VSIX artefact
uses: actions/upload-artifact@v4
with:
name: devx.vsix
path: devx.vsix
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.