1.8.1 • Published 2 months ago

coterie-ui-library v1.8.1

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

Coterie UI Library

npm install coterie-ui-library

Live Website

Component Progress

How to contribute to the coterie UI library

  • Create a branch off of main
  • Push up desired changes
  • Create a PR into main
  • Add a major, minor, patch tag depending on the the changes made and semantic versioning
  • Ask for a review by someone on the front end team

Semantic Versioning

  • major use when you make incompatible API changes,
  • minor use when you add functionality in a backwards compatible manner
  • patch use when you make backwards compatible bug fixes.

Linking coterie UI library for local development

  1. in coterie-ui-library repo run: npm run dev (you may have to run as sudo).
  2. cd into project that is using coterie-ui-library and run npm link coterie-ui-library.
  3. You should now be able to use components in coterie-ui-library locally.
  4. Anytime you save in coterie-ui-library the package will rebuild and should refresh on the project side to show any changes.

Publishing a Pre-release version

If linking doesn't work (we're having issues at the time of writing this instruction set), you can publish a prerelease version and install it in an app to test changes/fixes.

  1. Run npm version prepatch --preid alpha to establish a pre-release version
  2. Run npm publish to publish to NPM (note: you'll need write access to publish; you may need to request this from the a senior dev on the team).
  3. From here, you can install that pre-release version in the app you want to test, e.g. Dashboard.
  4. If you need to create another prerelease version with new changes, you can run npm version prerelease and it will bump the alpha version, e.g. 0.1.0-alpha.0 to 0.1.0-alpha.1.

    • Then you'll have to run npm publish to push it to the registry, bump the version in the app you're testing in, and runnpm install` in that app directory to see the changes.

Obviously, being able to symlink the local build of the coterie-ui-library into an app such as Dashboard is much more efficient, but this is another solution in the event there are issues with linking.

Running storybook locally

npm run storybook

Local Storybook website will be running on this url: http://localhost:6006/

Releases/Publishes

This repo uses auto to automatically publish new npn versions and releases when merged into main.

TODOs

  • Add a11y unit test for yes/no component
  • Add a11y plugin for storybook
  • Deploy storybook for public reference
  • pre commit local hook should run unit test before commit
1.8.1

2 months ago

1.6.2

9 months ago

1.6.1

9 months ago

1.6.0

9 months ago

1.5.0

9 months ago

1.8.0

6 months ago

1.4.1

9 months ago

1.7.3

6 months ago

1.7.2

8 months ago

1.7.0

9 months ago

1.4.0

10 months ago

1.3.0

10 months ago

1.2.0

11 months ago

1.2.7

10 months ago

1.2.6

10 months ago

1.2.4

10 months ago

1.2.3

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.1.1

11 months ago

1.1.0

11 months ago

0.21.1

12 months ago

1.0.0

11 months ago

0.20.1

12 months ago

0.20.0

12 months ago

0.17.9

1 year ago

0.17.10

1 year ago

0.18.2-alpha.0

1 year ago

0.21.0

12 months ago

0.18.0

1 year ago

0.19.0

12 months ago

0.19.1

12 months ago

0.19.2

12 months ago

0.19.3

12 months ago

0.19.4

12 months ago

0.17.10-alpha.0

1 year ago

0.17.8-alpha.0

1 year ago

0.17.9-alpha.0

1 year ago

0.17.12-alpha.0

1 year ago

0.17.7

1 year ago

0.17.8

1 year ago

0.17.2

1 year ago

0.17.4

1 year ago

0.17.5

1 year ago

0.17.6

1 year ago

0.17.0

1 year ago

0.17.1

1 year ago

0.16.5

1 year ago

0.17.3-alpha.0

1 year ago

0.16.4

1 year ago

0.15.0

1 year ago

0.16.3

1 year ago

0.14.0

1 year ago

0.16.0

1 year ago

0.16.1

1 year ago

0.16.2

1 year ago

0.6.7

1 year ago

0.6.6

1 year ago

0.11.0

1 year ago

0.11.1

1 year ago

0.13.0

1 year ago

0.9.0

1 year ago

0.9.1

1 year ago

0.7.0

1 year ago

0.10.1

1 year ago

0.12.0

1 year ago

0.10.2

1 year ago

0.10.3

1 year ago

0.10.0

1 year ago

0.6.3

1 year ago

0.8.0

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.0

2 years ago

0.4.9

2 years ago

0.4.8

2 years ago

0.2.27

2 years ago

0.2.26

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.3.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.30

2 years ago

0.4.10

2 years ago

0.4.13

2 years ago

0.4.11

2 years ago

0.2.32

2 years ago

0.4.12

2 years ago

0.2.31

2 years ago

0.2.29

2 years ago

0.2.28

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago