Skip to content

Commit

Permalink
docs(docs): add ^ to version
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Jan 24, 2024
1 parent b2d68a9 commit d2ef48e
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/data@3
npm install @semaphore-protocol/data@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/data@3
yarn add @semaphore-protocol/data@^3
```

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

```bash
pnpm add @semaphore-protocol/data@3
pnpm add @semaphore-protocol/data@^3
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/group@3
npm install @semaphore-protocol/group@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/group@3
yarn add @semaphore-protocol/group@^3
```

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

```bash
pnpm add @semaphore-protocol/group@3
pnpm add @semaphore-protocol/group@^3
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/identity@3
npm install @semaphore-protocol/identity@^3
```
</TabItem>
<TabItem value="yarn">
```bash
yarn add @semaphore-protocol/identity@3
yarn add @semaphore-protocol/identity@^3
```

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

```bash
pnpm add @semaphore-protocol/identity@3
pnpm add @semaphore-protocol/identity@^3
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/proof@3
npm install @semaphore-protocol/proof@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/proof@3
yarn add @semaphore-protocol/proof@^3
```
</TabItem>
<TabItem value="pnpm">

```bash
pnpm add @semaphore-protocol/proof@3
pnpm add @semaphore-protocol/proof@^3
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import TabItem from "@theme/TabItem"
Semaphore ofrece un CLI oficial para configurar su proyecto con Hardhat. Si su NPM es versión 5.2 or más reciente puede utilizar NPX:

```bash
npx @semaphore-protocol/cli@3 create my-app --template monorepo-ethers
npx @semaphore-protocol/cli@^3 create my-app --template monorepo-ethers
```

De lo contrario, instale `@semaphore-protocol/cli@3` de forma global y corra el comando `init`:
De lo contrario, instale `@semaphore-protocol/cli@^3` de forma global y corra el comando `init`:

```bash
npm i -g @semaphore-protocol/cli@3
npm i -g @semaphore-protocol/cli@^3
semaphore create my-app --template monorepo-ethers
```

Expand Down
6 changes: 3 additions & 3 deletions apps/docs/versioned_docs/version-V3/guides/fetching-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/data@3
npm install @semaphore-protocol/data@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/data@3
yarn add @semaphore-protocol/data@^3
```

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

```bash
pnpm add @semaphore-protocol/data@3
pnpm add @semaphore-protocol/data@^3
```

</TabItem>
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/versioned_docs/version-V3/guides/groups.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/group@3
npm install @semaphore-protocol/group@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/group@3
yarn add @semaphore-protocol/group@^3
```

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

```bash
pnpm add @semaphore-protocol/group@3
pnpm add @semaphore-protocol/group@^3
```

</TabItem>
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/versioned_docs/version-V3/guides/identities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/identity@3
npm install @semaphore-protocol/identity@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/identity@3
yarn add @semaphore-protocol/identity@^3
```

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

```bash
pnpm add @semaphore-protocol/identity@3
pnpm add @semaphore-protocol/identity@^3
```

</TabItem>
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/versioned_docs/version-V3/guides/proofs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ values={[
<TabItem value="npm">

```bash
npm install @semaphore-protocol/proof@3
npm install @semaphore-protocol/proof@^3
```

</TabItem>
<TabItem value="yarn">

```bash
yarn add @semaphore-protocol/proof@3
yarn add @semaphore-protocol/proof@^3
```

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

```bash
pnpm add @semaphore-protocol/proof@3
pnpm add @semaphore-protocol/proof@^3
```

</TabItem>
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/versioned_docs/version-V3/quick-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import TabItem from "@theme/TabItem"
Semaphore provides an official CLI to set up your project with Hardhat. If your NPM version is 5.2 or higher you can use NPX:

```bash
npx @semaphore-protocol/cli@3 create my-app --template monorepo-ethers
npx @semaphore-protocol/cli@^3 create my-app --template monorepo-ethers
```

Otherwise, install `@semaphore-protocol/cli@3` globally and run the `create` command:
Otherwise, install `@semaphore-protocol/cli@^3` globally and run the `create` command:

```bash
npm i -g @semaphore-protocol/cli@3
npm i -g @semaphore-protocol/cli@^3
semaphore create my-app --template monorepo-ethers
```

Expand Down

0 comments on commit d2ef48e

Please sign in to comment.