Skip to content

wisemen-digital/wisemen-core

Repository files navigation

Wisemen Core

A collection of packages for Wisemen applications.

Contributing

Making Changes

  1. Create a PR with your changes
  2. Add a changeset to your PR describing the changes using:
    pnpm changeset
    For more details, see the Changesets documentation
  3. Merge your PR – this triggers the changeset-release/main workflow
  4. Review the auto-generated PR created by the changeset bot, which includes:
    • Updated CHANGELOG files
    • Bumped version numbers
    • Release summary
  5. Merge the changeset release PR to automatically publish all changed packages to npm

New Package Setup

When creating a new package:

  1. Manual first release – The first version must be published manually since the package doesn't exist on npm yet:
    pnpm publish
  2. Setup OIDC Trusted Publishers – Configure your npm package with GitHub OIDC so future releases are automated:
    • Go to your npm package settings
    • Add GitHub as a trusted publisher
    • Configure the repository, branch, and environment

After this setup, all future releases will be automatic through the changeset workflow.

Packages