Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#871): add pnpm command for mannual setup steps #872

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions v2/emailpassword/pre-built-ui/setup/frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ npm i -s supertokens-auth-react supertokens-web-js
yarn add supertokens-auth-react supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">

```bash
pnpm add supertokens-auth-react supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>
</TabItem>
Expand Down Expand Up @@ -98,6 +105,16 @@ Start by installing the SuperTokens Web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens Web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down Expand Up @@ -134,6 +151,16 @@ Start by installing the SuperTokens web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down
27 changes: 27 additions & 0 deletions v2/passwordless/pre-built-ui/setup/frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ npm i -s supertokens-auth-react supertokens-web-js
yarn add supertokens-auth-react supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">

```bash
pnpm add supertokens-auth-react supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>
</TabItem>
Expand Down Expand Up @@ -99,6 +106,16 @@ Start by installing the SuperTokens Web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens Web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down Expand Up @@ -135,6 +152,16 @@ Start by installing the SuperTokens web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down
1 change: 1 addition & 0 deletions v2/src/components/tabs/NpmVersionOrYarnSubTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default function NpmVersionOrYarnSubTabs(props: any) {
{ label: 'Via NPM>=7', value: 'npm7+' },
{ label: 'Via NPM6', value: 'npm6' },
{ label: 'Via Yarn', value: 'yarn' },
{ label: 'Via Pnpm', value: 'pnpm' },
]}>
{props.children}
</Tabs>
Expand Down
27 changes: 27 additions & 0 deletions v2/thirdparty/pre-built-ui/setup/frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ npm i -s supertokens-auth-react supertokens-web-js
yarn add supertokens-auth-react supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">

```bash
pnpm add supertokens-auth-react supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>
</TabItem>
Expand Down Expand Up @@ -97,6 +104,16 @@ Start by installing the SuperTokens Web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens Web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down Expand Up @@ -133,6 +150,16 @@ Start by installing the SuperTokens web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down
27 changes: 27 additions & 0 deletions v2/thirdpartyemailpassword/pre-built-ui/setup/frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ npm i -s supertokens-auth-react supertokens-web-js
yarn add supertokens-auth-react supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">

```bash
pnpm add supertokens-auth-react supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>
</TabItem>
Expand Down Expand Up @@ -97,6 +104,16 @@ Start by installing the SuperTokens Web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens Web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down Expand Up @@ -133,6 +150,16 @@ Start by installing the SuperTokens web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down
27 changes: 27 additions & 0 deletions v2/thirdpartypasswordless/pre-built-ui/setup/frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ npm i -s supertokens-auth-react supertokens-web-js
yarn add supertokens-auth-react supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">

```bash
pnpm add supertokens-auth-react supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>
</TabItem>
Expand Down Expand Up @@ -100,6 +107,16 @@ Start by installing the SuperTokens Web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens Web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down Expand Up @@ -136,6 +153,16 @@ Start by installing the SuperTokens web SDK:
yarn add supertokens-web-js
```

</TabItem>
<TabItem value="pnpm">


Start by installing the SuperTokens web SDK:

```bash
pnpm add supertokens-web-js
```

</TabItem>
</NpmVersionOrYarnSubTabs>

Expand Down