Skip to content

feat: publish core API to npm#8

Merged
PBandDev merged 1 commit intomainfrom
feat/npm-publish
Mar 24, 2026
Merged

feat: publish core API to npm#8
PBandDev merged 1 commit intomainfrom
feat/npm-publish

Conversation

@PBandDev
Copy link
Copy Markdown
Owner

@PBandDev PBandDev commented Mar 24, 2026

Summary

  • Remap exports so "." points at lib/core.js (drop ./core subpath)
  • Add main/module/types fallback fields for older tooling
  • Move typescript/vite to devDependencies (zero runtime deps)
  • Add files field to limit tarball to lib/ + README.md
  • Add parallel publish-npm job in publish workflow using NPM_TOKEN secret
  • Update smoke test, README, and AGENTS.md to reflect bare import path

Test plan

  • pnpm typecheck passes
  • pnpm test — 197 tests pass
  • pnpm test:lib — smoke test passes with bare comfyui-node-organizer import
  • Verify NPM_TOKEN secret is set (confirmed via gh secret list)
  • First real publish on next release dispatch

@PBandDev PBandDev merged commit b51944b into main Mar 24, 2026
2 checks passed
@PBandDev PBandDev deleted the feat/npm-publish branch March 24, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant