|
3 | 3 |
|
4 | 4 | - [Getting Started](#getting-started)
|
5 | 5 | - [Webstore Component Library](#webstore-component-library)
|
6 |
| - - [Configure token to pull from the github npm repository](#configure-token-to-pull-from-the-github-npm-repository) |
7 | 6 | - [Component Library Dev Mode](#component-library-dev-mode)
|
8 | 7 | - [Environment Variables](#environment-variables)
|
9 | 8 | - [Authentication](#authentication)
|
|
33 | 32 | The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. -->
|
34 | 33 |
|
35 | 34 | ### Webstore Component Library
|
36 |
| -The webstore requires a [React component library](https://reactjs.org/docs/react-component.html) of view components. That dependency is packaged and released independently and we fetch it from the github repository. |
37 |
| - |
38 |
| -#### Configure token to pull from the github npm repository |
39 |
| -Using the published github npm package requires an auth token to pull: |
40 |
| - |
41 |
| - 1. Create a classic token on your github account https://github.com/settings/tokens |
42 |
| - 2. `echo "//npm.pkg.github.com/:_authToken=THE_ABOVE_TOKEN_GOES_HERE" >> ~/.npmrc` |
| 35 | +The webstore requires a [React component library](https://reactjs.org/docs/react-component.html) of view components. That dependency is packaged and released independently. |
43 | 36 |
|
44 | 37 | #### Component Library Dev Mode
|
45 | 38 | Using the local github repository requires you to manually clone the component library to your computer, build, and link it:
|
@@ -150,12 +143,12 @@ If you are creating an e2e test, it will live in the `cypress/e2e` directory. Co
|
150 | 143 | - to get the value for this variable, open your browser to your running app at `localhost:3000`.
|
151 | 144 | - inspect the page
|
152 | 145 | - click the "Application" tab
|
153 |
| - - click "Cookies" |
| 146 | + - click "Cookies" |
154 | 147 | - find the value for `next-auth.session-token`
|
155 | 148 | - copy that value and paste it in the `TEST_SESSION_COOKIE` variable in your .env.local
|
156 | 149 | - do not ever commit this value
|
157 | 150 | - this value will need to be updated whenever the cookie expires, approximately once per month
|
158 |
| - |
| 151 | + |
159 | 152 | ## Cutting a New Release
|
160 | 153 | A git tag should exist for every release. We use `release-it` to automate the coordination of package.json and git tag.
|
161 | 154 |
|
|
0 commit comments