Make checkApiVersion semver-based (todo §2); strict parseSemver via official semver regex (no dep), major/minor compatibility rules
This commit is contained in:
@@ -186,7 +186,7 @@ import { definePlugin } from "../../src/plugin.ts";
|
||||
import { listShifts } from "./shifts.ts";
|
||||
|
||||
export default definePlugin({
|
||||
apiVersion: 1, // host contract this plugin targets; mismatch fails loud at boot
|
||||
apiVersion: "1.0.0", // semver of the host contract this targets; mismatch fails loud at boot
|
||||
id: "scheduling",
|
||||
basePath: "/scheduling",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user