Versions 39 to 318
new file, 73 lines
1+// Packs the npm package @abso-cli/abso from this checkout: the client as scripts/build-client.mjs builds it,
6+// It writes the package to dist/npm/package/ and its tarball, as npm pack names it, to dist/npm/.
7+// The package's layout: bin/abso.mjs checks Node's version and loads dist/abso.mjs, the bundle, stamped
14+
22+
45+ process.stderr.write("abso needs Node ${node} or later, and this is Node " + process.versions.node + ". Install a newer Node from https://nodejs.org and run abso again.\\n");
50+ "dist/abso.mjs": buildClient([`globalThis.__ABSO_PACKAGE_VERSION__ = ${JSON.stringify(version)};`]),
51+ "README.md": `# abso\n\nabso is version control for agents. This package is the abso command line.\n\nIt needs Node ${node} or later. Install it with \`npm install -g @abso-cli/abso\`, or run \`npx @abso-cli/abso help\`.\n\n[abso.dev](https://abso.dev)\n`,
54+
62+// Under npm run, npm_execpath is npm's own script, which runs without a shell on every platform.
68+ : execFileSync("npm", pack, { cwd: root, encoding: "utf8", shell: process.platform === "win32" })
- MCP
- compare on this site's /mcp
- CLI
- abso diff 39 318 scripts/pack-npm.mjs --json
- JSON
- /christopher/abso-core/compare/39..318?file=scripts%2Fpack-npm.mjs&format=json