Skip to content

Commit 5086d4f

Browse files
authored
Merge pull request #272 from scientist-softserv/upgrade-wcl
Upgrade wcl
2 parents d624997 + 897ac7b commit 5086d4f

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
- [Getting Started](#getting-started)
55
- [Webstore Component Library](#webstore-component-library)
6+
- [Upgrading To The Latest Version](#upgrading-to-the-latest-version)
67
- [Component Library Dev Mode](#component-library-dev-mode)
78
- [Environment Variables](#environment-variables)
89
- [Authentication](#authentication)
@@ -12,7 +13,7 @@
1213
- [Testing](#testing)
1314
- [Jest](#jest)
1415
- [Cypress](#cypress)
15-
- [Cutting a New Release](#cutting-a-new-release)
16+
- [Deployment](#deployment)
1617

1718
---
1819

@@ -34,6 +35,16 @@ The `pages/api` directory is mapped to `/api/*`. Files in this directory are tre
3435
### Webstore Component Library
3536
The webstore requires a [React component library](https://reactjs.org/docs/react-component.html) of view components. That dependency is packaged and released independently.
3637

38+
#### Upgrading To The Latest Version
39+
In the terminal:
40+
``` bash
41+
# first check for whether there is an updated version
42+
yarn outdated @scientist-softserv/webstore-component-library # check the values under "current" and "latest"
43+
44+
# if there's an updated version
45+
yarn upgrade @scientist-softserv/webstore-component-library --latest
46+
```
47+
3748
#### Component Library Dev Mode
3849
Using the local github repository requires you to manually clone the component library to your computer, build, and link it:
3950

@@ -149,7 +160,7 @@ If you are creating an e2e test, it will live in the `cypress/e2e` directory. Co
149160
- do not ever commit this value
150161
- this value will need to be updated whenever the cookie expires, approximately once per month
151162

152-
## Cutting a New Release
163+
<!-- ## Cutting a New Release
153164
A git tag should exist for every release. We use `release-it` to automate the coordination of package.json and git tag.
154165
155166
If you want to release a new semver release run:
@@ -170,4 +181,7 @@ In order to deploy this new release to staging, use the command below
170181
``` bash
171182
# the tag is the semver release that was created above
172183
helm upgrade --install --kube-context=k3 --namespace=webstore-staging webstore-staging charts/webstore -f charts/webstore/values/webstore-staging.yaml --set=image.tag=X.X.X
173-
```
184+
``` -->
185+
186+
## Deployment
187+
We are currently using [Vercel](www.vercel.com) to auto deploy this app to our staging environment. The `main` branch is accessible at https://webstore-staging.vercel.app.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@rjsf/core": "^5.0.0-beta.17",
1919
"@rjsf/utils": "^5.0.0-beta.17",
2020
"@rjsf/validator-ajv8": "^5.0.1",
21-
"@scientist-softserv/webstore-component-library": "^0.1.15",
21+
"@scientist-softserv/webstore-component-library": "^0.1.16",
2222
"@sentry/react": "^7.42.0",
2323
"@sentry/tracing": "^7.42.0",
2424
"axios": "^1.1.3",

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,10 +1020,10 @@
10201020
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728"
10211021
integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==
10221022

1023-
"@scientist-softserv/webstore-component-library@^0.1.15":
1024-
version "0.1.15"
1025-
resolved "https://registry.npmjs.org/@scientist-softserv/webstore-component-library/-/webstore-component-library-0.1.15.tgz"
1026-
integrity sha512-RAu3XJiKXOA98sXP4rzBsKcg6bQRTMWrsvQSf5v/iagVerACZGwsx6OGnTnBPIUUqBHYhGl2rPdoadkRw10UMQ==
1023+
"@scientist-softserv/webstore-component-library@^0.1.16":
1024+
version "0.1.16"
1025+
resolved "https://registry.yarnpkg.com/@scientist-softserv/webstore-component-library/-/webstore-component-library-0.1.16.tgz#82255ba267b95127a777e305f03ff368a762e1d2"
1026+
integrity sha512-2fHRtxqfaYMmpQ+UZCUQKMiyRScBt+QnmEDQlZQhyPO5OEzVSxpeXvqh5XIz9h7r3C5cloF7aU6eEq44t95q3g==
10271027
dependencies:
10281028
"@fortawesome/fontawesome-svg-core" "^6.2.1"
10291029
"@fortawesome/free-regular-svg-icons" "^6.2.1"
@@ -3912,9 +3912,9 @@ has@^1.0.3:
39123912
dependencies:
39133913
function-bind "^1.1.1"
39143914

3915-
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0:
3915+
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2:
39163916
version "3.3.2"
3917-
resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz"
3917+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
39183918
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
39193919
dependencies:
39203920
react-is "^16.7.0"
@@ -7178,9 +7178,9 @@ [email protected]:
71787178
resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz"
71797179
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
71807180

7181-
tslib@^1.10.0, tslib@^1.8.1:
7181+
tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.3:
71827182
version "1.14.1"
7183-
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
7183+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
71847184
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
71857185

71867186
tslib@^2.0.1, tslib@^2.1.0:

0 commit comments

Comments
 (0)