-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: use h3-nightly@latest
for edge releases
#1563
Conversation
h3-nightly
for edge releases
Codecov Report
@@ Coverage Diff @@
## main #1563 +/- ##
=======================================
Coverage 76.49% 76.49%
=======================================
Files 73 73
Lines 7582 7582
Branches 752 752
=======================================
Hits 5800 5800
Misses 1781 1781
Partials 1 1 |
h3-nightly
for edge releasesh3-nightly@latest
for edge releases
@@ -117,6 +119,11 @@ async function main() { | |||
`${pkg.data.version}-${date}.${commit}` | |||
); | |||
workspace.rename(pkg.data.name, pkg.data.name + "-edge"); | |||
pkg.updateDeps((dep) => { | |||
if (nightlyPackages[dep.name]) { | |||
dep.range = "npm:" + nightlyPackages[dep.name] + "@latest"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comment at nuxt/nuxt#22593 (comment).
I'm not sure latest
is safe here. I'd recommend a caret + version hash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also see my comment there! I think it should be safer than pinned version to avoid hoisting issues on edge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reposting from nuxt/nuxt#22593 (comment), caret + hash is respected by package manager in a way that it won't look for any newer version + (sadly) h3-nightly@^1
doesn't works with packages published with -
version.
e0533dd
to
ef87b52
Compare
Merging to test end-to-end with the package manager behavior + coupled with nuxt edge. I think if it is introducing too much trouble, we shall revert it and keep using |
π Linked issue
β Type of change
π Description
π Checklist