Add plugin metadata generation (#485)

This commit is contained in:
Gregory Schier
2026-06-29 12:31:49 -07:00
committed by GitHub
parent 18b983bfe5
commit 09adcda2d9
8 changed files with 401 additions and 3 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ const Downloader = require("nodejs-file-downloader");
const { rmSync, cpSync, mkdirSync, existsSync } = require("node:fs");
const { execSync } = require("node:child_process");
const NODE_VERSION = "v24.11.1";
const nodeVersionFile = path.join(__dirname, "..", "packages", "plugin-runtime", ".node-version");
const NODE_VERSION = `v${fs.readFileSync(nodeVersionFile, "utf8").trim().replace(/^v/, "")}`;
// `${process.platform}_${process.arch}`
const MAC_ARM = "darwin_arm64";