Skip to content

Commit aaa9590

Browse files
authored
docs: add setting up step (#130)
1 parent 53f6cea commit aaa9590

5 files changed

Lines changed: 32 additions & 29 deletions

File tree

docs/install.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ Available on the public npm registry, this version:
5555

5656
The private npm package is like any other, but it's hosted on the [GitHub npm packages registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry), not the public npm registry. Therefore, a small bit of setup is needed:
5757

58-
1. [Obtain here](https://github.com/settings/tokens/new?description=react-native-google-sign-in&scopes=read:packages) a Personal Access Token with `packages:read` permission and set expiration to "No expiration".
58+
1. Set up access via the [subscription dashboard](https://universal-sign-in.com/auth/login).
5959

60-
2. Set up your package manager to fetch the package from the GH packages registry. In this example, we're using an `NPM_TOKEN_GOOGLE_SIGN_IN` environment variable.
60+
2. [Obtain here](https://github.com/settings/tokens/new?description=react-native-google-sign-in&scopes=read:packages) a Personal Access Token with `packages:read` permission and set expiration to "No expiration".
61+
62+
3. Set up your package manager to fetch the package from the GitHub packages registry. In this example, we're using an `NPM_TOKEN_GOOGLE_SIGN_IN` environment variable.
6163

6264
import Tabs from '@theme/Tabs';
6365
import TabItem from '@theme/TabItem';

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"prettier:check": "prettier --list-different 'docs/**/*.{md,mdx}'"
1818
},
1919
"dependencies": {
20-
"@docusaurus/core": "^3.10.0",
21-
"@docusaurus/plugin-ideal-image": "^3.10.0",
22-
"@docusaurus/preset-classic": "^3.10.0",
20+
"@docusaurus/core": "^3.10.1",
21+
"@docusaurus/plugin-ideal-image": "^3.10.1",
22+
"@docusaurus/preset-classic": "^3.10.1",
2323
"@mdx-js/react": "^3.1.1",
2424
"clsx": "^2.1.1",
2525
"docusaurus-lunr-search": "^3.6.1",
2626
"prism-react-renderer": "^2.4.1",
27-
"react": "^19.2.4",
28-
"react-dom": "^19.2.4"
27+
"react": "^19.2.7",
28+
"react-dom": "^19.2.7"
2929
},
3030
"devDependencies": {
3131
"@docusaurus/faster": "3.10.1",
@@ -38,7 +38,7 @@
3838
"docusaurus-plugin-typedoc": "1.4.2",
3939
"prettier": "3.8.3",
4040
"typedoc": "0.28.19",
41-
"typedoc-plugin-markdown": "4.11.0",
41+
"typedoc-plugin-markdown": "4.12.0",
4242
"typescript": "6.0.3"
4343
},
4444
"browserslist": {

src/components/CreemEmbeddedCheckout/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export default function CreemEmbeddedCheckout({
2828
};
2929

3030
useEffect(() => {
31-
if (document.querySelector(`link[rel="preconnect"][href="${CREEM_ORIGIN}"]`)) {
31+
if (
32+
document.querySelector(`link[rel="preconnect"][href="${CREEM_ORIGIN}"]`)
33+
) {
3234
return;
3335
}
3436

@@ -67,10 +69,7 @@ export default function CreemEmbeddedCheckout({
6769
return;
6870
}
6971

70-
if (
71-
event.shiftKey &&
72-
document.activeElement === closeButtonRef.current
73-
) {
72+
if (event.shiftKey && document.activeElement === closeButtonRef.current) {
7473
event.preventDefault();
7574
iframeRef.current?.focus();
7675
return;

src/components/CreemPaymentLink/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ type CreemPaymentLinkProps = {
55
paymentUrl: string;
66
};
77

8-
export default function CreemPaymentLink({ paymentUrl }: CreemPaymentLinkProps) {
8+
export default function CreemPaymentLink({
9+
paymentUrl,
10+
}: CreemPaymentLinkProps) {
911
return (
1012
<section className="creem-payment" aria-labelledby="creem-payment-title">
1113
<div>

yarn.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,7 +2218,7 @@ __metadata:
22182218
languageName: node
22192219
linkType: hard
22202220

2221-
"@docusaurus/core@npm:3.10.1, @docusaurus/core@npm:^3.0.0, @docusaurus/core@npm:^3.10.0":
2221+
"@docusaurus/core@npm:3.10.1, @docusaurus/core@npm:^3.0.0, @docusaurus/core@npm:^3.10.1":
22222222
version: 3.10.1
22232223
resolution: "@docusaurus/core@npm:3.10.1"
22242224
dependencies:
@@ -2541,7 +2541,7 @@ __metadata:
25412541
languageName: node
25422542
linkType: hard
25432543

2544-
"@docusaurus/plugin-ideal-image@npm:^3.10.0":
2544+
"@docusaurus/plugin-ideal-image@npm:^3.10.1":
25452545
version: 3.10.1
25462546
resolution: "@docusaurus/plugin-ideal-image@npm:3.10.1"
25472547
dependencies:
@@ -2604,7 +2604,7 @@ __metadata:
26042604
languageName: node
26052605
linkType: hard
26062606

2607-
"@docusaurus/preset-classic@npm:^3.10.0":
2607+
"@docusaurus/preset-classic@npm:^3.10.1":
26082608
version: 3.10.1
26092609
resolution: "@docusaurus/preset-classic@npm:3.10.1"
26102610
dependencies:
@@ -6756,11 +6756,11 @@ __metadata:
67566756
version: 0.0.0-use.local
67576757
resolution: "docs@workspace:."
67586758
dependencies:
6759-
"@docusaurus/core": "npm:^3.10.0"
6759+
"@docusaurus/core": "npm:^3.10.1"
67606760
"@docusaurus/faster": "npm:3.10.1"
67616761
"@docusaurus/module-type-aliases": "npm:3.10.1"
6762-
"@docusaurus/plugin-ideal-image": "npm:^3.10.0"
6763-
"@docusaurus/preset-classic": "npm:^3.10.0"
6762+
"@docusaurus/plugin-ideal-image": "npm:^3.10.1"
6763+
"@docusaurus/preset-classic": "npm:^3.10.1"
67646764
"@docusaurus/tsconfig": "npm:3.10.1"
67656765
"@docusaurus/types": "npm:3.10.1"
67666766
"@mdx-js/react": "npm:^3.1.1"
@@ -6772,10 +6772,10 @@ __metadata:
67726772
docusaurus-plugin-typedoc: "npm:1.4.2"
67736773
prettier: "npm:3.8.3"
67746774
prism-react-renderer: "npm:^2.4.1"
6775-
react: "npm:^19.2.4"
6776-
react-dom: "npm:^19.2.4"
6775+
react: "npm:^19.2.7"
6776+
react-dom: "npm:^19.2.7"
67776777
typedoc: "npm:0.28.19"
6778-
typedoc-plugin-markdown: "npm:4.11.0"
6778+
typedoc-plugin-markdown: "npm:4.12.0"
67796779
typescript: "npm:6.0.3"
67806780
languageName: unknown
67816781
linkType: soft
@@ -12184,7 +12184,7 @@ __metadata:
1218412184
languageName: node
1218512185
linkType: hard
1218612186

12187-
"react-dom@npm:^19.2.4":
12187+
"react-dom@npm:^19.2.7":
1218812188
version: 19.2.7
1218912189
resolution: "react-dom@npm:19.2.7"
1219012190
dependencies:
@@ -12314,7 +12314,7 @@ __metadata:
1231412314
languageName: node
1231512315
linkType: hard
1231612316

12317-
"react@npm:^19.2.4":
12317+
"react@npm:^19.2.7":
1231812318
version: 19.2.7
1231912319
resolution: "react@npm:19.2.7"
1232012320
checksum: 10c0/0bd0e2f1bbd4ba97561c6597bf8a5fec05e6476fe61e165c1065598d16668efc6715205599c94d3ddd49d36cb0f21cbf1b9bcc18ee840b805ce222c3e8d558ac
@@ -13877,12 +13877,12 @@ __metadata:
1387713877
languageName: node
1387813878
linkType: hard
1387913879

13880-
"typedoc-plugin-markdown@npm:4.11.0":
13881-
version: 4.11.0
13882-
resolution: "typedoc-plugin-markdown@npm:4.11.0"
13880+
"typedoc-plugin-markdown@npm:4.12.0":
13881+
version: 4.12.0
13882+
resolution: "typedoc-plugin-markdown@npm:4.12.0"
1388313883
peerDependencies:
1388413884
typedoc: 0.28.x
13885-
checksum: 10c0/03374acfd0b5bd5af13198c043ffc31324b097647f5ffd92959647a9a277f0ece665331ff6a650ddaefdf9ff33928e138c5483e7cddbac830eb77e69b6067803
13885+
checksum: 10c0/2977f5c3d98f778e02952ab2e6d47d0ec5245a84f459dc6727d34698e78d1837211a01ce568529671681d4f67117476a45caba33097de5f88d2feeb0d443507d
1388613886
languageName: node
1388713887
linkType: hard
1388813888

0 commit comments

Comments
 (0)