Skip to content

Commit

Permalink
docs: chains note
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Jun 4, 2024
1 parent fa5864b commit 9979545
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ jobs:

- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main
with:
node-version: 22

- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ auto-install-peers=false
enable-pre-post-scripts=true
link-workspace-packages=deep
provenance=true
strict-peer-dependencies=false
strict-peer-dependencies=false
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
]
}
},
"engines": {
"node": "22.x"
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
Expand Down
5 changes: 5 additions & 0 deletions site/core/api/chains.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<script setup>
import packageJson from '../../../package.json'
import SearchChains from '../../components/SearchChains.vue'

const viemVersion = packageJson.devDependencies.viem
</script>

# Chains
Expand All @@ -14,6 +17,8 @@ import { mainnet } from '@wagmi/core/chains'

## Available Chains

Chain definitions as of `viem@{{viemVersion}}`. For `viem@latest`, visit the [Viem repo](https://github.com/wevm/viem/blob/main/src/chains/index.ts).

<SearchChains />

<!--@include: @shared/create-chain.md-->
5 changes: 5 additions & 0 deletions site/react/api/chains.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<script setup>
import packageJson from '../../../package.json'
import SearchChains from '../../components/SearchChains.vue'

const viemVersion = packageJson.devDependencies.viem
</script>

# Chains
Expand All @@ -16,6 +19,8 @@ import { mainnet } from 'wagmi/chains'

## Available Chains

Chain definitions as of `viem@{{viemVersion}}`. For `viem@latest`, visit the [Viem repo](https://github.com/wevm/viem/blob/main/src/chains/index.ts).

<SearchChains />

<!--@include: @shared/create-chain.md-->
5 changes: 5 additions & 0 deletions site/vue/api/chains.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<script setup>
import packageJson from '../../../package.json'
import SearchChains from '../../components/SearchChains.vue'

const viemVersion = packageJson.devDependencies.viem
</script>

# Chains
Expand All @@ -16,6 +19,8 @@ import { mainnet } from '@wagmi/vue/chains'

## Available Chains

Chain definitions as of `viem@{{viemVersion}}`. For `viem@latest`, visit the [Viem repo](https://github.com/wevm/viem/blob/main/src/chains/index.ts).

<SearchChains />

<!--@include: @shared/create-chain.md-->

0 comments on commit 9979545

Please sign in to comment.