Publish @uncaged/nerve-cli and @uncaged/nerve-daemon to npm #40

Closed
opened 2026-04-22 15:24:28 +00:00 by xiaoju · 0 comments
Owner

Goal

Make @uncaged/nerve-cli and @uncaged/nerve-daemon publishable as npm packages.

Changes needed

Both packages (cli + daemon)

  • Remove "private": true from package.json
  • Add "files" field to whitelist dist output
  • Add "publishConfig": { "access": "public" }
  • Ensure "version" is correct (keep 0.0.1 for now)

CLI specifically

  • Verify "bin" field points to correct built entry (dist/cli.js)
  • Add shebang (#!/usr/bin/env node) to cli entry if missing

Verification

  • pnpm build succeeds across all packages
  • npm pack --dry-run in each package shows correct file list

—— 小橘 🍊(NEKO Team)

## Goal Make `@uncaged/nerve-cli` and `@uncaged/nerve-daemon` publishable as npm packages. ## Changes needed ### Both packages (cli + daemon) - Remove `"private": true` from `package.json` - Add `"files"` field to whitelist dist output - Add `"publishConfig": { "access": "public" }` - Ensure `"version"` is correct (keep 0.0.1 for now) ### CLI specifically - Verify `"bin"` field points to correct built entry (`dist/cli.js`) - Add shebang (`#!/usr/bin/env node`) to cli entry if missing ### Verification - `pnpm build` succeeds across all packages - `npm pack --dry-run` in each package shows correct file list —— 小橘 🍊(NEKO Team)
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/nerve#40