feat: make development builds visibly identifiable
This commit is contained in:
1 parent
0554f41d12
commit
2ed9bf0236
13 files changed
+285
-35
No files matched your search
@@ -6,7 +6,6 @@ const root = join(import.meta.dirname, "..");
|
||||
const packageVersion = (JSON.parse(readFileSync(join(root, "package.json"), "utf8")) as { version: string }).version;
|
||||
const expected: Array<[string, string | undefined]> = [
|
||||
["package.json", packageVersion],
|
||||
["src/version.ts", readFileSync(join(root, "src/version.ts"), "utf8").match(/VERSION\s*=\s*[\"']([^\"']+)/)?.[1]],
|
||||
[".zcode-plugin/plugin.json", readJsonVersion(".zcode-plugin/plugin.json")],
|
||||
["openapi/openapi.yaml", readFileSync(join(root, "openapi/openapi.yaml"), "utf8").match(/^\s+version:\s+([^\s]+)\s*$/m)?.[1]],
|
||||
["dist/openapi.json", readJsonVersion("dist/openapi.json", ["info", "version"])],
|
||||
|
||||
Reference in new issue
Block a user