Skip to content

Commit

Permalink
feat: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Jun 6, 2024
1 parent fdea098 commit 80e072a
Show file tree
Hide file tree
Showing 56 changed files with 919 additions and 22,653 deletions.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,28 @@ yarn-error.log*
# subgraph
packages/subgraph/build/
packages/subgraph/src/types/

# 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 .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps = true
13 changes: 13 additions & 0 deletions 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
}
}
Binary file added bun.lockb
Binary file not shown.
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Create Wagmi</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
50 changes: 29 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,35 @@
{
"name": "@project/monorepo",
"version": "1.0.0",
"keywords": [
"ethereum",
"react",
"workspaces",
"yarn"
],
"name": "app-2",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"react-app:build": "source .env && REACT_APP_RECLAIM_GRAPH_URI=$REACT_APP_RECLAIM_GRAPH_URI REACT_APP_ENS_GRAPH_URI=$REACT_APP_ENS_GRAPH_URI REACT_APP_STAGE=live yarn workspace @project/react-app build",
"react-app:publish": "echo 'reclaim.ens.domains' > packages/react-app/build/CNAME && yarn gh-pages -d packages/react-app/build",
"react-app:deploy": "yarn react-app:build && yarn react-app:publish",
"react-app:start": "yarn workspace @project/react-app start",
"react-app:start:live": "source .env && REACT_APP_RECLAIM_GRAPH_URI=$REACT_APP_RECLAIM_GRAPH_URI REACT_APP_ENS_GRAPH_URI=$REACT_APP_ENS_GRAPH_URI REACT_APP_STAGE=live yarn workspace @project/react-app start"
"dev": "vite",
"build": "tsc && vite build",
"lint": "biome check .",
"preview": "vite preview"
},
"workspaces": {
"nohoist": [
"**/@graphprotocol/graph-ts",
"**/@graphprotocol/graph-ts/**"
],
"packages": [
"packages/*"
]
"dependencies": {
"@ensdomains/ensjs": "^3.7.0",
"@ensdomains/thorin": "^0.6.50",
"@tanstack/react-query": "5.0.5",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-transition-state": "^1.1.5",
"styled-components": "^6.1.11",
"viem": "latest",
"wagmi": "latest"
},
"devDependencies": {
"@biomejs/biome": "^1.1.2",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"@vitejs/plugin-react": "^4.1.0",
"@wagmi/cli": "latest",
"buffer": "^6.0.3",
"typescript": "^5.2.2",
"vite": "^4.4.9"
}
}
5 changes: 0 additions & 5 deletions packages/contracts/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions packages/contracts/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/contracts/src/abis.js

This file was deleted.

183 changes: 0 additions & 183 deletions packages/contracts/src/abis/deed.json

This file was deleted.

Loading

0 comments on commit 80e072a

Please sign in to comment.