0.1.10 • Published 2 years ago
@assemble-inc/util v0.1.10
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/utilornpm 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 changesetand follow instructions - this will automatically bump major/minor versions of packages and prepare them to be published. Any packages with"private": truein theirpackage.jsonwill 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.