Skip to content

feat(npm-publish-workflow): add version checks and conditional publishing#45

Merged
danielchalef merged 2 commits into
mainfrom
chore/automate-next-tag
Feb 13, 2024
Merged

feat(npm-publish-workflow): add version checks and conditional publishing#45
danielchalef merged 2 commits into
mainfrom
chore/automate-next-tag

Conversation

@danielchalef

@danielchalef danielchalef commented Feb 13, 2024

Copy link
Copy Markdown
Member
Ellipsis 🚀 This PR description was created by Ellipsis for commit ac80017.

Summary:

This PR enhances the npm publishing workflow by adding version checks and conditional publishing based on the version type.

Key points:

  • Upgraded actions/checkout and actions/setup-node in /.github/workflows/npm-publish.yml
  • Added steps to compare package.json version with tag and check for prerelease
  • Updated publishing step to conditionally publish as prerelease or regular release

Generated with ❤️ by ellipsis.dev

@ellipsis-dev ellipsis-dev Bot changed the title ... feat(npm-publish-workflow): add version checks and conditional publishing Feb 13, 2024

@ellipsis-dev ellipsis-dev Bot 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.

Changes requested. Reviewed entire PR up to commit 7e367fe

Reviewed 56 lines of code across 1 files in 58 second(s).

See details
  • Skipped files: 0 (please contact us to request support for these files)
  • Confidence threshold: 50%
  • Drafted 1 additional comments.
  • Workflow ID: wflow_MPZBg1FABee0CvSA
View 1 draft comments

These comments were drafted by Ellipsis, but were filtered out of the final review. They're included here so you can see our internal thought process and help you configure your ellipsis.yaml.

Drafted 1 additional comments

Comment at .github/workflows/npm-publish.yml:42

The variable is_next is defined in the 'Check if version is a prerelease' step but is used in the 'Publish package' step. This might cause an issue as the variable might not be available in the second step. Consider defining the is_next variable in the step where it's used or make it globally available.


Something look wrong? You can customize Ellipsis by editing the ellipsis.yaml for this repository.

Generated with ❤️ by ellipsis.dev

Comment thread .github/workflows/npm-publish.yml

@ellipsis-dev ellipsis-dev Bot 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.

Looks good to me! Incremental review on commit ccd6931

Reviewed 12 lines of code across 1 files in 1 minute(s) and 5 second(s).

See details
  • Skipped files: 0 (please contact us to request support for these files)
  • Confidence threshold: 50%
  • Drafted 1 additional comments.
  • Workflow ID: wflow_PbdvZmIgkjoew4WA
View 1 draft comments

These comments were drafted by Ellipsis, but were filtered out of the final review. They're included here so you can see our internal thought process and help you configure your ellipsis.yaml.

Drafted 1 additional comments

Comment at .github/workflows/npm-publish.yml:20

The PR description mentions that the actions/checkout and actions/setup-node have been upgraded, but the version numbers in the file are still at v4. Please confirm if this is the intended version.


Something look wrong? You can customize Ellipsis by editing the ellipsis.yaml for this repository.

Generated with ❤️ by ellipsis.dev

@danielchalef danielchalef merged commit ac80017 into main Feb 13, 2024
@danielchalef danielchalef deleted the chore/automate-next-tag branch February 13, 2024 02:49

@ellipsis-dev ellipsis-dev Bot 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.

No problems found on commit ac80017


Something look wrong? You can customize Ellipsis by editing the ellipsis.yaml for this repository.

Generated with ❤️ by ellipsis.dev

jackaldenryan added a commit that referenced this pull request Jun 5, 2026
Both were only ever used by the examples/ directory, which was deleted
in #149 (commit 4b7760c, 2025-08-04), leaving them orphaned and unused
for ~10 months. The current tree has zero imports of uuid.

Removing them drops two packages from the dependency tree (and their
future Dependabot alerts) and supersedes the uuid 10->11 bump as the
fix for the uuid buffer-bounds alerts (#45/#46). The fast-uri, picomatch,
and @tootallnate/once resolutions are unaffected (pulled via jest/
webpack/msw, not uuid). yarn build and the full test suite (363) pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jackaldenryan added a commit that referenced this pull request Jun 5, 2026
* chore(deps): resolve all Dependabot security alerts (dev deps)

Resolve all 6 open Dependabot alerts, all in development scope:

- uuid ^10.0.0 -> ^11.1.1 (devDependency) — missing buffer bounds
  check in v3/v5/v6 (#46, #45)
- fast-uri 3.0.6 -> 3.1.2 via resolutions — host confusion and path
  traversal via percent-encoded sequences (#42, #41)
- picomatch 2.3.1 -> 2.3.2 via resolutions — method injection in
  POSIX character classes (#36)
- @tootallnate/once 2.0.0 -> 2.0.1 via resolutions — incorrect
  control flow scoping (#43)

Transitive deps are pinned via the existing `resolutions` block since
Yarn 1's `upgrade` doesn't bump transitive-only packages. All changes
are dev-scoped; `yarn build` and the full test suite (363 tests) pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(deps): remove unused uuid and @types/uuid devDependencies

Both were only ever used by the examples/ directory, which was deleted
in #149 (commit 4b7760c, 2025-08-04), leaving them orphaned and unused
for ~10 months. The current tree has zero imports of uuid.

Removing them drops two packages from the dependency tree (and their
future Dependabot alerts) and supersedes the uuid 10->11 bump as the
fix for the uuid buffer-bounds alerts (#45/#46). The fast-uri, picomatch,
and @tootallnate/once resolutions are unaffected (pulled via jest/
webpack/msw, not uuid). yarn build and the full test suite (363) pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.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