Skip to content

Commit

Permalink
remove scaffold from frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
koybasimuhittin committed Nov 18, 2023
1 parent a16fd6e commit 7c3a1e5
Show file tree
Hide file tree
Showing 106 changed files with 6,131 additions and 18,068 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged --verbose
#yarn lint-staged --verbose
74 changes: 36 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,38 @@
{
"name": "se-2",
"version": "0.0.1",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"account": "yarn workspace @se-2/hardhat account",
"chain": "yarn workspace @se-2/hardhat chain",
"compile": "yarn workspace @se-2/hardhat compile",
"deploy": "yarn workspace @se-2/hardhat deploy",
"fork": "yarn workspace @se-2/hardhat fork",
"generate": "yarn workspace @se-2/hardhat generate",
"hardhat:lint": "yarn workspace @se-2/hardhat lint",
"hardhat:lint-staged": "yarn workspace @se-2/hardhat lint-staged",
"hardhat:test": "yarn workspace @se-2/hardhat test",
"postinstall": "husky install",
"next:check-types": "yarn workspace @se-2/nextjs check-types",
"next:format": "yarn workspace @se-2/nextjs format",
"next:lint": "yarn workspace @se-2/nextjs lint",
"precommit": "lint-staged",
"prepare": "install-self-peers -- --ignore-scripts",
"start": "yarn workspace @se-2/nextjs dev",
"test": "yarn hardhat:test",
"vercel": "yarn workspace @se-2/nextjs vercel",
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo",
"verify": "yarn workspace @se-2/hardhat verify"
},
"resolutions": {
"usehooks-ts@^2.7.2": "patch:usehooks-ts@npm:^2.7.2#./.yarn/patches/usehooks-ts-npm-2.7.2-fceffe0e43.patch"
},
"devDependencies": {
"husky": "~8.0.3",
"lint-staged": "~13.2.2"
},
"packageManager": "yarn@3.2.3"
"name": "se-2",
"version": "0.0.1",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"account": "yarn workspace @se-2/hardhat account",
"chain": "yarn workspace @se-2/hardhat chain",
"compile": "yarn workspace @se-2/hardhat compile",
"deploy": "yarn workspace @se-2/hardhat deploy",
"fork": "yarn workspace @se-2/hardhat fork",
"generate": "yarn workspace @se-2/hardhat generate",
"hardhat:lint": "yarn workspace @se-2/hardhat lint",
"hardhat:lint-staged": "yarn workspace @se-2/hardhat lint-staged",
"hardhat:test": "yarn workspace @se-2/hardhat test",
"postinstall": "husky install",
"next:lint": "yarn workspace @s2e-/nextjs lint",
"precommit": "lint-staged",
"prepare": "install-self-peers -- --ignore-scripts",
"dev": "yarn workspace nextjs dev",
"test": "yarn hardhat:test",
"vercel": "yarn workspace nextjs vercel",
"vercel:yolo": "yarn workspace nextjs vercel:yolo",
"verify": "yarn workspace @se-2/hardhat verify"
},
"resolutions": {
"usehooks-ts@^2.7.2": "patch:usehooks-ts@npm:^2.7.2#./.yarn/patches/usehooks-ts-npm-2.7.2-fceffe0e43.patch"
},
"devDependencies": {
"husky": "~8.0.3",
"lint-staged": "~13.2.2"
},
"packageManager": "yarn@3.2.3"
}
13 changes: 0 additions & 13 deletions packages/nextjs/.env.example

This file was deleted.

11 changes: 0 additions & 11 deletions packages/nextjs/.eslintignore

This file was deleted.

14 changes: 1 addition & 13 deletions packages/nextjs/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["next/core-web-vitals", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/ban-ts-comment": ["off"],
"prettier/prettier": [
"warn",
{
"endOfLine": "auto"
}
]
}
"extends": "next/core-web-vitals"
}
2 changes: 1 addition & 1 deletion packages/nextjs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ yarn-error.log*
.vercel

# typescript
*.tsbuildinfo
*.tsbuildinfo
1 change: 1 addition & 0 deletions packages/nextjs/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-peer-dependencies = false
8 changes: 0 additions & 8 deletions packages/nextjs/.prettierrc.json

This file was deleted.

29 changes: 29 additions & 0 deletions packages/nextjs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
This is a [RainbowKit](https://rainbowkit.com) + [wagmi](https://wagmi.sh) + [Next.js](https://nextjs.org/) project bootstrapped with [`create-rainbowkit`](https://github.com/rainbow-me/rainbowkit/tree/main/packages/create-rainbowkit).

## Getting Started

First, run the development server:

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

## Learn More

To learn more about this stack, take a look at the following resources:

- [RainbowKit Documentation](https://rainbowkit.com) - Learn how to customize your wallet connection flow.
- [wagmi Documentation](https://wagmi.sh) - Learn how to interact with Ethereum.
- [Next.js Documentation](https://nextjs.org/docs) - Learn how to build a Next.js application.

You can check out [the RainbowKit GitHub repository](https://github.com/rainbow-me/rainbowkit) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
79 changes: 0 additions & 79 deletions packages/nextjs/components/Footer.tsx

This file was deleted.

108 changes: 0 additions & 108 deletions packages/nextjs/components/Header.tsx

This file was deleted.

Loading

0 comments on commit 7c3a1e5

Please sign in to comment.