@seamapi/react 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +3 -1
package/README.md CHANGED
@@ -195,10 +195,29 @@ The following repository secrets must be set on [GitHub Actions]:
195
195
  - `GIT_USER_EMAIL`: The GitHub bot user's email.
196
196
  - `GPG_PRIVATE_KEY`: The GitHub bot user's [GPG private key].
197
197
  - `GPG_PASSPHRASE`: The GitHub bot user's GPG passphrase.
198
+ - `CHROMATIC_PROJECT_TOKEN`: The Chromatic project token.
199
+
200
+ The following repository variables must be set on [GitHub Actions]:
201
+
202
+ - `STORYBOOK_SEAM_ENDPOINT`: The Seam API endpoint to use with Storybook.
203
+ - `STORYBOOK_SEAM_PUBLISHABLE_KEY`: The Seam publishable key to use with Storybook.
198
204
 
199
205
  [GitHub Actions]: https://github.com/features/actions
200
206
  [GPG private key]: https://github.com/marketplace/actions/import-gpg#prerequisites
201
207
 
208
+ ## Vercel
209
+
210
+ _Vercel should already be configured: this section is for reference only._
211
+
212
+ The following environment variables must be set on [Vercel]:
213
+
214
+ - `SEAM_ENDPOINT`: The Seam API endpoint to use with the examples.
215
+ - `SEAM_PUBLISHABLE_KEY`: The Seam publishable key to use with the examples.
216
+ - `STORYBOOK_SEAM_ENDPOINT`: The Seam API endpoint to use with Storybook.
217
+ - `STORYBOOK_SEAM_PUBLISHABLE_KEY`: The Seam publishable key to use with Storybook.
218
+
219
+ [Vercel]: https://vercel.com/seamapi/react
220
+
202
221
  ## Contributing
203
222
 
204
223
  > If using squash merge, edit and ensure the commit message follows the [Angular Commit Message Conventions] specification.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/react",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "Seam React component library.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -54,6 +54,7 @@
54
54
  "lint": "eslint --ignore-path .gitignore --ext .js,.cjs,.mjs,.ts,.tsx .",
55
55
  "prelint": "prettier --check --ignore-path .gitignore .",
56
56
  "postversion": "git push --follow-tags",
57
+ "storybook:build": "storybook build",
57
58
  "example:basic": "vite --config examples/basic/vite.config.js",
58
59
  "example:basic:build": "vite build --config examples/basic/vite.config.js",
59
60
  "example:basic:preview": "vite preview --config examples/basic/vite.config.js",
@@ -110,6 +111,7 @@
110
111
  "react": "^18.2.0",
111
112
  "react-dom": "^18.2.0",
112
113
  "storybook": "^7.0.2",
114
+ "storybook-addon-designs": "^7.0.0-beta.2",
113
115
  "ts-jest": "^29.1.0",
114
116
  "tsc-alias": "^1.8.5",
115
117
  "tsconfig-paths-webpack-plugin": "^4.0.1",