You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/open-next/src/build/helper.ts
+50-18Lines changed: 50 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -288,33 +288,65 @@ export function getNextVersion(appPath: string): string {
288
288
returnversion.split("-")[0];
289
289
}
290
290
291
+
exporttypeSemverOp="="|">="|"<="|">"|"<";
292
+
291
293
/**
292
294
* Compare two semver versions.
293
295
*
294
296
* @param v1 - First version. Can be "latest", otherwise it should be a valid semver version in the format of `major.minor.patch`. Usually is the next version from the package.json without canary suffix. If minor or patch are missing, they are considered 0.
295
297
* @param v2 - Second version. Should not be "latest", it should be a valid semver version in the format of `major.minor.patch`. If minor or patch are missing, they are considered 0.
0 commit comments