You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If the expected icon doesn't show up, use the link provided above to search for it again. Click on the icon and confirm that the string in the example matches the camelcase variable that was imported and the string that was used with the "icon" prop.
115
+
- If the expected icon doesn't show up, use the link provided above to search for it again. Click on the icon and confirm that the string in the example matches the camel cased variable that was imported and the string that was used with the "icon" prop.
106
116
107
117
## Building the library
108
118
We are using Rollup JS to build and publish the library. The scripts will build based on the contents of "src/index.js" so make sure that any newly created components are referenced in the appropriate "components/index" or "compounds/index" files.
@@ -112,18 +122,24 @@ npm run watch-lib # use when you want to build the library for local use; it wil
112
122
```
113
123
114
124
## Cutting a New Release
115
-
A git tag should exist for every release. We use `release-it` to automate the coordination of package.json and git tag.
116
-
117
-
If you want to release a new semver release run:
118
-
119
-
npm run release
120
-
(You will be prompted to select a release type, e.g. patch)
121
-
122
-
And be sure to say yes to all the prompts, you want a commit, you want a tag, and you want to push up to github.
123
-
124
-
## Teaching Yarn How To Install This Library
125
+
A git tag should exist for every semver release. We use `release-it` to automate the coordination of package.json and git tag.
126
+
127
+
1. run `npm run release`. You'll be entered into an interactive session with the following prompts:
128
+
``` bash
129
+
? Select increment # You will be prompted to select a release type, e.g. patch
130
+
? Publish @scientist-softserv/webstore-component-library to npm? # Yes
131
+
? Please enter OTP for npm: # This is stored in 1password
0 commit comments