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

test: initial #12

Closed
wants to merge 4 commits into from
Closed
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ src/_generated
.next
out

# playwright
test-results/
playwright-report/
blob-report/
playwright/.cache/

# vercel
.vercel

Expand Down
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
auto-install-peers=false
enable-pre-post-scripts=true
link-workspace-packages=deep
provenance=false
provenance=true
strict-peer-dependencies=false
4 changes: 4 additions & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
anvil.porto.localhost {
reverse_proxy localhost:8545
}

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ import { useConnect } from 'porto/wagmi'
# Install pnpm
$ curl -fsSL https://get.pnpm.io/install.sh | sh -

$ pnpm install # Install modules
$ pnpm wagmi generate # get ABIs, etc.
$ pnpm dev # Run playground
$ pnpm install # Install modules
$ pnpm wagmi generate # Get ABIs, etc.
$ pnpm dev # Run playground
```

### Contracts
Expand All @@ -523,7 +523,7 @@ $ pnpm dev # Run playground
$ foundryup

$ forge build --config-path ./contracts/foundry.toml # Build
$ forge test --config-path ./contracts/foundry.toml # Test
$ forge test --config-path ./contracts/foundry.toml # Test
```

## License
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@types/react-dom": "catalog:",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"typescript": "catalog:"
}
}
4 changes: 2 additions & 2 deletions examples/wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"devDependencies": {
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "^4.3.3",
"@vitejs/plugin-react": "catalog:",
"globals": "^15.11.0",
"typescript": "~5.6.3",
"typescript": "catalog:",
"vite": "^5.4.10"
}
}
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"postinstall": "pnpm preconstruct",
"preconstruct": "tsx ./scripts/preconstruct.ts",
"preinstall": "pnpx only-allow pnpm",
"prepare": "pnpm simple-git-hooks"
"prepare": "pnpm simple-git-hooks",
"test": "vitest dev",
"test:browser": "vitest --project browser"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.1",
Expand All @@ -31,18 +33,26 @@
"@changesets/cli": "^2.27.7",
"@size-limit/preset-big-lib": "^11.1.6",
"@tanstack/react-query": "catalog:",
"@testing-library/react": "^16.1.0",
"@types/node": "^22.5.4",
"@types/react": "catalog:",
"@vitejs/plugin-react": "catalog:",
"@vitest/browser": "^2.1.8",
"@wagmi/cli": "^2.1.18",
"knip": "^5.30.6",
"publint": "^0.2.12",
"react": "catalog:",
"react-dom": "catalog:",
"sherif": "^0.11.0",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.6",
"tsx": "^4.17.0",
"typescript": "catalog:",
"viem": "catalog:",
"wagmi": "catalog:"
"vitest": "^2.1.8",
"vitest-browser-react": "^0.0.4",
"wagmi": "catalog:",
"webdriverio": "^9.4.5"
},
"packageManager": "pnpm@9.7.0",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"devDependencies": {
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "catalog:",
"globals": "^15.9.0",
"typescript": "^5.5.3",
"typescript": "catalog:",
"vite": "^5.4.1"
}
}
Loading
Loading