@publishfx/bi-util
v1.0.5
Published
bi
Downloads
170
Readme
bi-util
Goal
For functions used across projects, support them through an internal npm package. Since the number of custom functions is relatively small, a single index.mjs file is sufficient for now.
Project Description
Build Tool: tsup@latest
Code Organization: Source code is located in the src directory, with unified output through index.ts
Documentation Generation
Use npm run docs to generate documentation for local viewing. Web pages will be generated later.
Publishing
Publish to npmjs.org
Pre-publishing Preparation
Ensure you are logged into your npmjs account:
npm loginIf you don't have an account yet, please register at npmjs.com first
Ensure you have publishing permissions for the
@publishfxorganization (if it's an organization package, you need to create the organization or join it first)
Publishing Steps
- Modify the version in
package.jsonlocally - Run
npm run buildlocally to build - Check what will be published:
npm pack --dry-run(optional, to view the contents that will be published) - Publish:
npm publish
Notes
- Package name has been changed to
@publishfx/bi-util, published to npmjs official registry publishConfighas been configured to publish to npmjs official registry- Ensure version numbers follow semantic versioning (semver)
Usage
pnpm add @publishfx/bi-util@latest
# or
npm install @publishfx/bi-util@latestProject Standards
- TODO: Use eslint for code formatting constraints
- TODO: Add CHANGELOG support
- TODO: Add local unit testing
- TODO: Standardize CI/CD pipeline
- TODO: Add standard local git hooks
