@apollosproject/web-embeds 0.1.2154 → 0.1.2155-staging.45231873404.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 +5 -5
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -95,7 +95,7 @@ The `public/crossroads-test/` directory contains a demo giving page. The embed b
95
95
  The demo pages in `public/` are deployed to a persistent URL via **Vercel**, which also creates a preview deployment for every pull request that touches this app.
96
96
 
97
97
  - **What's deployed:** the entire `public/` folder (so any file added there is picked up automatically) plus a fresh `dist/embed.js` built from that branch — so PR previews reflect the actual embed behavior of the change. The `crossroads-test` templates are injected at build time.
98
- - **Build:** `yarn build:site` runs `inject-embed-config.js` → `vite build` → `scripts/build-demo-site.mjs`, which assembles the `site/` output directory (mirrors the dev-server layout: `public/` files at the web root, the widget at `/dist/embed.js`). `site/` is gitignored.
98
+ - **Build:** `bun run build:site` runs `inject-embed-config.js` → `vite build` → `scripts/build-demo-site.mjs`, which assembles the `site/` output directory (mirrors the dev-server layout: `public/` files at the web root, the widget at `/dist/embed.js`). `site/` is gitignored.
99
99
  - **Pages:** `/` is a menu (`public/index.html`) linking to each demo — `/demo.html` (embed playground), `/crossroads-test/` (giving), `/crossroads-test/giving-history.html` (recurring gifts → modal). Add a link to the menu whenever you add a new host page to `public/`.
100
100
 
101
101
  **One-time Vercel project setup** (dashboard, per the [Vercel monorepo docs](https://vercel.com/docs/monorepos)):
@@ -125,13 +125,13 @@ A push to `main` publishes an npm `@staging` prerelease; `@latest` moves only af
125
125
 
126
126
  ### Manual deploy
127
127
 
128
- From the repo root (after `yarn` install):
128
+ From the repo root (after `bun install`):
129
129
 
130
130
  1. `cd apps/web-embeds-v2`
131
- 2. Optionally sync to the last published version: `yarn version --immediate "$(npm show @apollosproject/web-embeds version)"`
132
- 3. Bump the version: `yarn bump` (patch by default, or `yarn bump:prerelease` for prerelease)
131
+ 2. Optionally sync to the last published version: `bun pm version "$(npm show @apollosproject/web-embeds version)" --no-git-tag-version`
132
+ 3. Bump the version: `bun run bump` (patch by default, or `bun run bump:prerelease` for prerelease)
133
133
  4. Publish: `npm publish` (runs `prepublishOnly` to build and verify)
134
- 5. Purge jsDelivr cache: `yarn flush`
134
+ 5. Purge jsDelivr cache: `bun run flush`
135
135
 
136
136
  Skipping the publish step means users will still get the previous version; skipping the flush step delays propagation until jsDelivr’s cache expires.
137
137
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollosproject/web-embeds",
3
- "version": "0.1.2154",
3
+ "version": "0.1.2155-staging.45231873404.1",
4
4
  "description": "Next-generation embeddable widget system for Apollos",
5
5
  "type": "module",
6
6
  "main": "./widget/embed.js",
@@ -23,9 +23,9 @@
23
23
  "preview": "vite preview",
24
24
  "type-check": "tsc --noEmit",
25
25
  "test": "vitest",
26
- "test:e2e": "yarn --cwd ../.. playwright test -c apps/web-embeds-v2/playwright.config.ts",
27
- "test:e2e:ui": "yarn --cwd ../.. playwright test -c apps/web-embeds-v2/playwright.config.ts --ui",
28
- "lint": "yarn --cwd ../.. eslint apps/web-embeds-v2/src --ext .ts,.tsx",
26
+ "test:e2e": "bun run --cwd ../.. playwright test -c apps/web-embeds-v2/playwright.config.ts",
27
+ "test:e2e:ui": "bun run --cwd ../.. playwright test -c apps/web-embeds-v2/playwright.config.ts --ui",
28
+ "lint": "bun run --cwd ../.. eslint apps/web-embeds-v2/src --ext .ts,.tsx",
29
29
  "bump": "sh scripts/bump.sh",
30
30
  "bump:prerelease": "sh scripts/bump.sh prerelease",
31
31
  "flush": "sh scripts/flush-cdn-cache.sh",