@xqmsg/ui-core
v0.30.0
Published
Build the library: ``` pnpm build ```
Downloads
706
Keywords
Readme
Local development
Build the library:
pnpm buildStorybook (port 6006):
pnpm storybookWatch mode:
pnpm startTesting a local build in another project
In the consuming project's package.json, point at the local path:
"@xqmsg/ui-core": "file:../ui-core"After any change, rebuild and reinstall:
pnpm run build
rm -rf node_modules/@xqmsg && pnpm iCreating a PR
Branch off master with a descriptive name. Commit with a signed message so changes are attributable.
Releasing a new version
- Update the changelog — add a summary entry to
CHANGELOG.mdand a dated detail file toChangelog/. See existing entries for the format. - Bump the version in
package.jsonmanually, or:npm version [patch|minor|major] --no-git-tag-version - Commit and tag:
git add CHANGELOG.md Changelog/ package.json git commit -m "chore: release vX.Y.Z" git tag vX.Y.Z git push origin && git push origin --tags
Do not use the
release:patch / release:minor / release:majorscripts — they auto-generate and overwriteCHANGELOG.md, breaking the manualChangelog/workflow.
Publishing to npm
From master, after a clean install:
pnpm run clean && pnpm install && pnpm run build && npm publish