release: WRNexusJS 0.8.0
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-02 23:18:51 +05:30
parent 87507edf59
commit 586a6db8ff
625 changed files with 243608 additions and 11210 deletions
+12 -1
View File
@@ -39,6 +39,8 @@ const REGISTRY = "https://registry.npmjs.org/";
// npm org to exist and be on a paid plan (private scoped packages need Teams).
const ACCESS = process.env.WRNEXUS_NPM_ACCESS === "public" ? "public" : "restricted";
const LICENSE = "MIT";
const REPOSITORY = "https://git.workroot.in/WorkRoot/WRNexusJS.git";
const HOMEPAGE = "https://wrnexusjs.dev";
/** Extra (non-code) files each package must ship, relative to the package root. */
const ASSETS: Record<string, string[]> = {
@@ -171,6 +173,15 @@ function publishManifest(
type: "module",
description: m.description ?? `${m.name} — part of the WrNexus framework.`,
license: LICENSE,
repository: {
type: "git",
url: REPOSITORY,
directory: `packages/${String(m.name).replace("@wrnexus/", "")}`,
},
homepage: `${HOMEPAGE}/packages/${String(m.name).replace("@wrnexus/", "")}`,
bugs: { url: `${REPOSITORY.replace(/\.git$/, "")}/issues` },
keywords: ["wrnexus", "bun", "typescript", String(m.name).replace("@wrnexus/", "")],
sideEffects: m.sideEffects ?? false,
main: m.main ? js(m.main) : "./dist/index.js",
module: m.main ? js(m.main) : "./dist/index.js",
types: m.main ? dts(m.main) : "./dist/index.d.ts",
@@ -215,7 +226,7 @@ function publishManifest(
}
}
const files = new Set(["dist"]);
const files = new Set(["dist", "README.md"]);
for (const a of packageAssets(m)) files.add(a);
out.files = [...files];