1.20.3 • Published 8 days ago

@tollbrothers/tollbrothers-ui v1.20.3

Weekly downloads
-
License
ISC
Repository
github
Last release
8 days ago

Tollbrothers UI

React library for Tollbrothers.

Workflow

  1. From tollbrothers-ui-library point package.json to local e.g. npm i ../tollbrothers-ui
  2. Make sure your library file is exporting e.g. export const
  3. Run tollbrothers-ui repo with npm run start this will listen to changes and be reflected in tollbrothers-ui-library

Installation

npm i next react react-dom sass blaze-slider

Local development

npx create-next-app@latest && npm i sass blaze-slider
npm install <path to tollbrothers-ui>

Required CSS

// ./pages/_app.js
import '@tollbrothers/tollbrothers-ui/dist/index.modern.css'
import 'blaze-slider/dist/blaze.css'

Node version

Take a look at the .nvmrc file.

Publish changes

Publishing has been automated by the Semantic Release Workflow.

Semantic Release Workflow

Basically, follow the commit message format below. Then when the commit is posted on the master branch semantic-release will do its thing and publish a new version on merge to master or a direct commit to master.

For instance: In while in the root level of tollbrothers-ui do the following: 1. Create a new branch with your changes Make sure you have a commit prefixed with either 'fix:' or 'feat:' 2. Create a PR to from your branch to master 3. On merge a github action called release will kick off 4. A new release will be published on npm 5. Confirm the release number and bump the necessary package.json files

Things to consider

  • You can publish code without commiting it. Not sure why you would but there are no guards to prevent you from doing so.
  • On github, the org is tollbros
  • On npm, the org is tollbrothers

keep in mind we use the semantic release package

so if you want to bump it a specific way you need to prefix your commit e.g. fix: e.g feat:

if not, i think it defaults to a minor release

1.20.3

8 days ago

1.20.1

20 days ago

1.20.2

20 days ago

1.20.0

2 months ago

1.19.16

2 months ago

1.19.15

3 months ago

1.19.12

3 months ago

1.19.13

3 months ago

1.19.14

3 months ago

1.19.11

3 months ago

1.19.10

3 months ago

1.19.9

3 months ago

1.19.8

3 months ago

1.19.7

3 months ago

1.19.6

3 months ago

1.19.5

3 months ago

1.19.4

3 months ago

1.19.3

4 months ago

1.19.2

4 months ago

1.19.1

4 months ago

1.19.0

4 months ago

1.18.1

5 months ago

1.18.0

5 months ago

1.17.2

6 months ago

1.17.1

8 months ago

1.17.0

10 months ago

1.16.1

10 months ago

1.16.0

10 months ago

1.17.3

6 months ago

1.15.6

12 months ago

1.15.5

1 year ago

1.15.0

1 year ago

1.15.4

1 year ago

1.15.3

1 year ago

1.14.4

1 year ago

1.15.2

1 year ago

1.14.3

1 year ago

1.15.1

1 year ago

1.14.2

1 year ago

1.14.1

1 year ago

1.14.0

1 year ago

1.13.0

1 year ago

1.12.1

1 year ago

1.12.0

1 year ago

1.11.9

1 year ago

1.11.8

1 year ago

1.11.7

1 year ago

1.11.6

1 year ago

1.11.5

1 year ago

1.11.4

1 year ago

1.11.3

1 year ago

1.11.2

1 year ago

1.11.1

1 year ago

1.11.0

1 year ago

1.10.0

1 year ago

1.9.0

1 year ago

1.8.0

1 year ago

1.7.0

1 year ago