0.4.1 • Published 2 years ago
@dtribe/utilities v0.4.1
dTribe.gg utilities
A collection of various utility functions used across the dTribe.gg applications.
NOTE
Make sure you keep peerDependencies
and devDependencies
versions in sync!
How to use
yarn add @dtribe/utilities
import * as Utils from '@dtribe/utilities'
ORimport { functionYouWantToUse } from '@dtribe/utilities'
Local development
Local development works best with yalc
yarn global add yalc
In dtribe-utilities:
yarn start
In the app you're importing dtribe-utilities:
yalc link @dtribe/utilities
When you save changes inside the utilities src
folder, the package will rebuild and be pushed to all other projects that have run yalc link @dtribe/utilities
.
TODO:
- moooooore tests