@seamapi/react 0.5.0 → 0.6.0

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 +0 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -199,7 +199,6 @@ The following repository secrets must be set on [GitHub Actions]:
199
199
 
200
200
  The following repository variables must be set on [GitHub Actions]:
201
201
 
202
- - `STORYBOOK_SEAM_ENDPOINT`: The Seam API endpoint to use with Storybook.
203
202
  - `STORYBOOK_SEAM_PUBLISHABLE_KEY`: The Seam publishable key to use with Storybook.
204
203
 
205
204
  [GitHub Actions]: https://github.com/features/actions
@@ -211,9 +210,7 @@ _Vercel should already be configured: this section is for reference only._
211
210
 
212
211
  The following environment variables must be set on [Vercel]:
213
212
 
214
- - `SEAM_ENDPOINT`: The Seam API endpoint to use with the examples.
215
213
  - `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
214
  - `STORYBOOK_SEAM_PUBLISHABLE_KEY`: The Seam publishable key to use with Storybook.
218
215
 
219
216
  [Vercel]: https://vercel.com/seamapi/react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/react",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Seam React component library.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -42,7 +42,7 @@
42
42
  "prebuild:ts": "del 'index.*' lib",
43
43
  "postbuild:ts": "tsc-alias --project tsconfig.build.json",
44
44
  "docs:build": "storybook build --docs --output-dir docs",
45
- "predocs:build": "npm run example:basic:build",
45
+ "predocs:build": "vite build --base /examples/basic --config examples/vite.config.ts examples/basic",
46
46
  "postdocs:build": "cpy . ../../../docs/examples/basic --cwd=examples/basic/dist",
47
47
  "docs:start": "storybook dev --docs --port 6007",
48
48
  "typecheck": "tsc",
@@ -55,9 +55,9 @@
55
55
  "prelint": "prettier --check --ignore-path .gitignore .",
56
56
  "postversion": "git push --follow-tags",
57
57
  "storybook:build": "storybook build",
58
- "example:basic": "vite --config examples/basic/vite.config.js",
59
- "example:basic:build": "vite build --config examples/basic/vite.config.js",
60
- "example:basic:preview": "vite preview --config examples/basic/vite.config.js",
58
+ "example:basic": "vite --config examples/vite.config.ts examples/basic",
59
+ "example:basic:build": "vite build --config examples/vite.config.ts examples/basic",
60
+ "example:basic:preview": "vite preview --config examples/vite.config.ts examples/basic",
61
61
  "format": "eslint --ignore-path .gitignore --fix --ext .js,.cjs,.mjs,.ts,.tsx .",
62
62
  "preformat": "prettier --write --ignore-path .gitignore ."
63
63
  },