1.10.0 • Published 6 months ago
@gateweb/react-utils v1.10.0
react-utils
react-utils is a collection of utility functions for GateWeb's React projects.
Installation
npm install @gateweb/react-utils
# or
yarn add @gateweb/react-utils
# or
pnpm add @gateweb/react-utilsUsage
import { formatAmount } from '@gateweb/react-utils';How to Release a New Version
Manually Bump the Version
Update the version in
package.json# e.g. bump the version from 0.1.0 to 0.1.1 { "name": "@gateweb/react-utils", - "version": "0.1.0" + "version": "0.1.1" }Install the dependencies and build the package
pnpm install pnpm buildlogin to npm
# make sure you have an npm account pnpm login # npm notice Log in on https://registry.npmjs.org/ # Login at: # https://www.npmjs.com/login?next=/login/cli/390e514d-7aa5-4ee7-a13a-b17e6dd64518 # Press ENTER to open in the browser...Publish the package
pnpm publish --access public --no-git-checksCheck the published package on npmjs.com
Automatically Bump the Version
When you merge a pull request to the
mainbranch, the GitHub Action will automatically bump the version and publish the package to npm.The version will follow the Semantic Versioning rules.
Notes
- You should use
pnpmto develop this package. - This package is written in TypeScript and supports TypeScript out of the box.
- This package is built with bunchee which is a zero-config build tool for TypeScript packages based on Rollup.
1.10.0
6 months ago
1.9.0
6 months ago
1.8.0
7 months ago
1.7.1
8 months ago
1.7.0
8 months ago
1.6.0
9 months ago
1.5.0
10 months ago
1.4.2
11 months ago
1.4.1
11 months ago
1.4.0
11 months ago
1.3.0
11 months ago
1.2.0
12 months ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago