| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
npm i https://pkg.pr.new/@rescript/react@162 commit: b8adf22 |
Sorry, something went wrong.
There was a problem hiding this comment.
Here are some automated review suggestions for this pull request.
Reviewed commit: 83b15df71b
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
| { | ||
| "name": "@rescript/react", | ||
| "version": "0.16.0", | ||
| "version": "0.16.0-beta.1", |
There was a problem hiding this comment.
Allow prerelease tags for the beta package
When releasing this version with the matching v0.16.0-beta.1 tag, the Configure release step in .github/workflows/publish.yml rejects it because line 63 accepts only vX.X.X; conversely, a permitted v0.16.0 tag then fails the package-version equality check on line 69. Consequently, no release tag can publish this beta through the repository's npm workflow, so the tag validation needs to support prerelease suffixes.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was a problem hiding this comment.
except from the potential prerelease tag issue, it looks good to me
Sorry, something went wrong.
There was a problem hiding this comment.
Here are some automated review suggestions for this pull request.
Reviewed commit: 9fcb2b7d23
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
|
|
||
| if [[ ! "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | ||
| echo "::error::Release tags must match vX.X.X, got $GITHUB_REF_NAME." | ||
| if [[ ! "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ ]]; then |
There was a problem hiding this comment.
Keep prereleases off the latest dist-tag
When a tag such as v0.16.0-beta.1 passes this newly widened check, the publish step runs npm publish without --tag; the npm publish documentation specifies that the tag defaults to latest and is added to the submitted package. Publishing this beta would therefore replace @rescript/react's latest version, causing ordinary unversioned installs to receive a prerelease that requires an alpha ReScript runtime; select an explicit non-latest dist-tag whenever PACKAGE_VERSION is a prerelease.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: b8adf221cf ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.