upgrade nodejs & pnpm to latest versions

This commit is contained in:
Vendicated 2024-05-07 04:54:25 +02:00
parent ecf6af5884
commit 72b17761bb
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
9 changed files with 2449 additions and 2030 deletions

View file

@ -25,10 +25,11 @@ import { access, readdir, readFile } from "fs/promises";
import { join, relative } from "path";
import { promisify } from "util";
// wtf is this assert syntax
import PackageJSON from "../../package.json" assert { type: "json" };
import { getPluginTarget } from "../utils.mjs";
/** @type {import("../../package.json")} */
const PackageJSON = JSON.parse(readFileSync("package.json"));
export const VERSION = PackageJSON.version;
// https://reproducible-builds.org/docs/source-date-epoch/
export const BUILD_TIMESTAMP = Number(process.env.SOURCE_DATE_EPOCH) || Date.now();