Skip to content

Commit

Permalink
Merge pull request #118 from BreadchainCoop/fix-cleanup
Browse files Browse the repository at this point in the history
Clean up repo
  • Loading branch information
subject026 authored Oct 10, 2024
2 parents 7e7c4f4 + cf3f750 commit 91d645d
Show file tree
Hide file tree
Showing 32 changed files with 265 additions and 8,239 deletions.
11 changes: 4 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": [
"next/core-web-vitals",
"plugin:storybook/recommended"
]
, "rules": {
"@next/next/no-img-element": "off"
}
"extends": ["next/core-web-vitals"],
"rules": {
"@next/next/no-img-element": "off"
}
}
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ jobs:
run: pnpm install

- name: Run build
run: pnpm ci:build
run: CI=true pnpm build

- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps

- name: Run Playwright tests
run: pnpm run ci:test
run: CI=true pnpm run test

- uses: actions/upload-artifact@v4
if: always()
Expand Down
11 changes: 2 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,10 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts


# hardhat
cache/

# storybook
storybook-static/

# bundle analyzer
analyze/
# Sentry Config File
.sentryclirc

# playwright
/test-results/
/playwright-report/
/blob-report/
Expand Down
29 changes: 0 additions & 29 deletions .storybook/main.ts

This file was deleted.

32 changes: 0 additions & 32 deletions .storybook/preview.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions dev.sh

This file was deleted.

102 changes: 0 additions & 102 deletions docker-compose.yml

This file was deleted.

25 changes: 0 additions & 25 deletions hardhat.config.js

This file was deleted.

32 changes: 4 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@
"private": true,
"scripts": {
"dev": "next dev --turbo",
"hardhat": "env-cmd -f .env.hardhat.local hardhat node",
"test": "playwright test",
"ci:build": "CI=true next build",
"ci:hardhat": "hardhat node",
"ci:test": "CI=true pnpm run ci:hardhat & sleep 3 && playwright test",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build",
"storybook:serve": "serve storybook-static",
"prod:build": "next build",
"prod:serve": "serve out",
"prod:deploy": "npm install -g [email protected] && pnpm install --prod=true --frozen-lockfile && pnpm run prod:build",
"build": "next build",
"serve": "serve out",
"deploy": "npm install -g [email protected] && pnpm install --prod=true --frozen-lockfile && pnpm run build",
"lint": "next lint",
"find-deadcode": "ts-prune | grep -v '(used in module)'"
},
Expand All @@ -32,43 +25,26 @@
"clsx": "^2.0.0",
"date-fns": "^3.6.0",
"framer-motion": "^10.16.4",
"graphql-request": "^6.1.0",
"lokijs": "^1.5.12",
"nanoid": "^5.0.7",
"next": "14.1.0",
"pino-pretty": "^10.2.3",
"pino-pretty": "^11.2.2",
"react": "^18",
"react-dom": "^18",
"react-query": "^3.39.3",
"recharts": "^2.9.3",
"viem": "^1.15.4",
"wagmi": "^1.4.12"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.0.3",
"@nomicfoundation/hardhat-toolbox-viem": "^2.0.0",
"@playwright/test": "^1.43.1",
"@storybook/addon-essentials": "^7.5.0",
"@storybook/addon-interactions": "^7.5.0",
"@storybook/addon-links": "^7.5.0",
"@storybook/addon-onboarding": "^1.0.8",
"@storybook/addon-viewport": "^7.5.1",
"@storybook/blocks": "^7.5.0",
"@storybook/nextjs": "^7.5.0",
"@storybook/react": "^7.5.0",
"@storybook/testing-library": "^0.2.2",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10",
"concurrently": "^8.2.1",
"dotenv": "^16.3.1",
"env-cmd": "^10.1.0",
"eslint": "^8",
"eslint-config-next": "13.5.4",
"eslint-plugin-storybook": "^0.6.15",
"hardhat": "^2.19.1",
"postcss": "^8",
"serve": "^14.2.1",
"storybook": "^7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default defineConfig({

/* Run your local dev server before starting the tests */
webServer: {
command: "pnpm run prod:serve",
command: "pnpm run serve",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
Loading

0 comments on commit 91d645d

Please sign in to comment.