Skip to content

Commit

Permalink
Merge pull request #284 from pimlicolabs/7677-update
Browse files Browse the repository at this point in the history
7677 mvp
  • Loading branch information
plusminushalf authored Sep 25, 2024
2 parents 1d42811 + a9fac83 commit 147ad61
Show file tree
Hide file tree
Showing 35 changed files with 10,439 additions and 626 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-paws-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@permissionless/wagmi": minor
---

Added hooks for Erc5792
Binary file modified bun.lockb
Binary file not shown.
29 changes: 19 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"workspaces": [
"packages/permissionless",
"packages/wagmi",
"packages/wagmi-test-demo",
"packages/wagmi-demo",
"packages/create-permissionless-app"
],
"private": true,
Expand All @@ -24,13 +24,29 @@
"tslib": "^2.6.2",
"@pimlico/alto": "^0.0.4",
"prool": "^0.0.12",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"async-mutex": "^0.5.0",
"get-port": "^7.0.0",
"tsc-alias": "^1.8.8",
"vitest": "^1.2.0",
"viem": "^2.20.0",
"wagmi": "^2.12.8",
"@permissionless/wagmi": "workspace:packages/wagmi",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"@wagmi/cli": "latest",
"buffer": "^6.0.3",
"vite": "^5.2.11",
"@tanstack/react-query": "5.45.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"description": "",
"keywords": [],
"license": "MIT",
"scripts": {
"build": "bun run build:permissionless",
"build": "bun run build:permissionless && bun run build:wagmi",
"build:permissionless": "bun run clean:permissionless && bun run build:cjs && bun run build:esm && bun run build:types",
"build:wagmi": "bun run clean:wagmi && bun run build:wagmi:cjs && bun run build:wagmi:esm && bun run build:wagmi:types",
"build:cjs": "tsc --project ./tsconfig/tsconfig.permissionless.cjs.json && tsc-alias -p ./tsconfig/tsconfig.permissionless.cjs.json && printf '{\"type\":\"commonjs\"}' > ./packages/permissionless/_cjs/package.json",
Expand All @@ -55,12 +71,5 @@
},
"simple-git-hooks": {
"pre-commit": "bun run format && bun run lint:fix"
},
"dependencies": {
"async-mutex": "^0.5.0",
"get-port": "^7.0.0",
"tsc-alias": "^1.8.8",
"vitest": "^1.2.0",
"viem": "2.20.0"
}
}
24 changes: 24 additions & 0 deletions packages/wagmi-demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 1 addition & 0 deletions packages/wagmi-demo/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps = true
1 change: 1 addition & 0 deletions packages/wagmi-demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a [Vite](https://vitejs.dev) project bootstrapped with [`create-wagmi`](https://github.com/wevm/wagmi/tree/main/packages/create-wagmi).
13 changes: 13 additions & 0 deletions packages/wagmi-demo/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 120
},
"linter": {
"enabled": true
},
"organizeImports": {
"enabled": true
}
}
File renamed without changes.
15 changes: 15 additions & 0 deletions packages/wagmi-demo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "wagmi-demo",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "biome check .",
"preview": "vite preview"
},
"dependencies": {
"@permissionless/wagmi": "workspace:packages/wagmi"
}
}
Loading

0 comments on commit 147ad61

Please sign in to comment.