Skip to content

Commit

Permalink
lock by major
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 11, 2023
1 parent ef87b52 commit e0533dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bump-edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { resolve } from "pathe";
import { globby } from "globby";

const nightlyPackages = {
h3: "h3-nightly",
h3: "h3-nightly@^3",
};

async function loadPackage(dir: string) {
Expand Down Expand Up @@ -121,7 +121,7 @@ async function main() {
workspace.rename(pkg.data.name, pkg.data.name + "-edge");
pkg.updateDeps((dep) => {
if (nightlyPackages[dep.name]) {
dep.range = "npm:" + nightlyPackages[dep.name] + "@latest";
dep.range = "npm:" + nightlyPackages[dep.name];
}
});
}
Expand Down

0 comments on commit e0533dd

Please sign in to comment.