Package and publish #39

Open
opened 2026-07-24 10:57:59 +00:00 by frank · 0 comments
Owner

Goal

Package NiceOAuth as a proper TypeScript library and prepare it for publication to npm and the Forgejo package registry.

Requirements

  • Configure package.json with package metadata, license and repository links.
  • Define public entrypoints and package exports.
  • Publish compiled JavaScript and TypeScript declarations.
  • Include only required runtime files in the package.
  • Support installation from both npm and Forgejo.
  • Document installation and imports.

Acceptance criteria

  • The package builds from a clean checkout.
  • npm pack produces a valid and minimal package.
  • JavaScript and TypeScript consumers can import the public API.
  • The package can be published to npm.
  • The package can be published to the Forgejo registry.
  • Registry-specific configuration is documented.
## Goal Package NiceOAuth as a proper TypeScript library and prepare it for publication to npm and the Forgejo package registry. ## Requirements * Configure `package.json` with package metadata, license and repository links. * Define public entrypoints and package exports. * Publish compiled JavaScript and TypeScript declarations. * Include only required runtime files in the package. * Support installation from both npm and Forgejo. * Document installation and imports. ## Acceptance criteria * [ ] The package builds from a clean checkout. * [ ] `npm pack` produces a valid and minimal package. * [ ] JavaScript and TypeScript consumers can import the public API. * [ ] The package can be published to npm. * [ ] The package can be published to the Forgejo registry. * [ ] Registry-specific configuration is documented.
frank added this to the Forward Auth mode milestone 2026-07-24 10:57:59 +00:00
Sign in to join this conversation.
No description provided.