Skip to content

Commit 581bbb9

Browse files
authored
Merge pull request #813 from paypal/feature/v6-react-storybook-deployment
Feature/v6 react storybook deployment
2 parents 13f06a8 + aca1f00 commit 581bbb9

File tree

7 files changed

+38
-4
lines changed

7 files changed

+38
-4
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"access": "restricted",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": []
10+
"ignore": ["@paypal/react-paypal-js-storybook-v6"]
1111
}

.github/workflows/build-and-deploy-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- "packages/paypal-js/types/v6/**/*.d.ts"
99
- "packages/react-paypal-js/.storybook/**"
1010
- "packages/react-paypal-js/src/**/*.stories.*"
11+
- "packages/react-paypal-js-storybook/v6/.storybook/**"
12+
- "packages/react-paypal-js-storybook/v6/src/**"
1113
- ".github/workflows/build-and-deploy-docs.yml"
1214
- "docs/index.html"
1315
- "docs/readmes/**"
@@ -49,6 +51,9 @@ jobs:
4951
- name: Build v5 react storybook
5052
run: npm run build-storybook:v5
5153

54+
- name: Build v6 react storybook
55+
run: npm run build-storybook:v6
56+
5257
- name: Setup Pages
5358
uses: actions/configure-pages@v5
5459

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
20.19

docs/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ <h3>JS SDK v5 React Storybook</h3>
106106
</a>
107107
</div>
108108

109+
<div class="docs-grid">
110+
<a href="./web-sdk-v6-react-storybook/" class="doc-card">
111+
<h3>JS SDK v6 React Storybook</h3>
112+
<p>
113+
Explore interactive React components for PayPal JS SDK
114+
v6.
115+
</p>
116+
</a>
117+
</div>
118+
109119
<div class="footer">
110120
<p>© 2025 PayPal, Inc. All rights reserved.</p>
111121
</div>

package-lock.json

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { addons } from "storybook/manager-api";
2+
3+
addons.setConfig({
4+
initialStoryId: "v6-buttons-paypalonetimepaymentbutton--docs",
5+
});

packages/react-paypal-js-storybook/v6/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"directory": "packages/react-paypal-js-storybook/v6"
2525
},
2626
"dependencies": {
27-
"@paypal/react-paypal-js": "*",
27+
"@paypal/react-paypal-js": "^9.0.0-alpha.6",
2828
"react": "^19.2.4",
2929
"react-dom": "^19.2.4"
3030
},

0 commit comments

Comments
 (0)