@assemble-inc/util
v0.1.10
Published
Assemble Utility Function Library
Downloads
12
Keywords
Readme
Assemble Utilities
Welcome to Assemble Utilities!
We aim to create a hub for TypeScript Utilities that can be reusable throughout our Assemble projects.
Table of Contents
Importing and using the library
yarn add @assemble-inc/util
ornpm i @assemble-inc/util
- import a hook with its named export i.e.
import { formatPhoneNumber } from '@assemble-inc/util';
Contributing
- Clone this repo (or parent repo)
- Create a branch:
git checkout -b developer-name/component-name
- Make some changes
- Test your changes
- Push your branch and open a Pull Request
- Let the team know
Publishing
Then every time you make an update to the library, republish it to npm:
- Run
yarn publish-packages
- At root of repo run
yarn changeset
and follow instructions - this will automatically bump major/minor versions of packages and prepare them to be published. Any packages with"private": true
in theirpackage.json
will not be published. - Run
yarn changeset publish
note: In order to publish, you will need to log into your NPM account first.
Maintainers
Assemble Frontend Team
License
This code is open source software licensed under the MIT License.