@apollosproject/canvas-embeds 2.1.682 → 2.1.684

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apollosproject/canvas-embeds",
3
3
  "description": "Apollos React embed widgets",
4
- "version": "2.1.682",
4
+ "version": "2.1.684",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.js",
7
7
  "module": "./dist/index.es.js",
@@ -62,10 +62,12 @@
62
62
  "web-vitals": "^0.2.4"
63
63
  },
64
64
  "scripts": {
65
- "build": "dotenv -- vite build && node scripts/build.js",
66
- "bump": "yarn build && ./scripts/bump.sh",
67
- "bump:minor": "yarn build && ./scripts/bump.sh minor",
68
- "bump:major": "yarn build && ./scripts/bump.sh major",
65
+ "prebuild": "yarn workspace @apollosproject/cluster-client build",
66
+ "build": "yarn workspace @apollosproject/cluster-client build && dotenv -- vite build && node scripts/build.js",
67
+ "bump": "./scripts/bump.sh",
68
+ "bump:minor": "./scripts/bump.sh minor",
69
+ "bump:major": "./scripts/bump.sh major",
70
+ "prepublishOnly": "yarn build && ([ -s widget/index.js ] && [ -s widget/index.css ] || (echo \"Web embed bundle missing. Build failed.\" && exit 1))",
69
71
  "dev": "vite --host",
70
72
  "flush": "sh scripts/flush-cdn-cache.sh",
71
73
  "format": "prettier --write .",