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

Revert "Store max supply" #89

Merged
merged 1 commit into from
Jul 28, 2023
Merged
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
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ cp .env.example .env.local

Add your [Mapbox access token](https://docs.mapbox.com/help/glossary/access-token/).
Add your [Dune API key](https://dune.com/docs/api/#obtaining-an-api-key)
Setup a PostgreSQL database and add your DATABASE_URL. (It will default to using an in memory database if you don't set one up).

### Run locally

Expand Down
22 changes: 0 additions & 22 deletions knexfile.ts

This file was deleted.

14 changes: 0 additions & 14 deletions migrations/20230727160735_max_supply_records.ts

This file was deleted.

1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const nextConfig = {
experimental: {
appDir: true,
scrollRestoration: true,
serverComponentsExternalPackages: ["knex"],
},
async redirects() {
return [
Expand Down
10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@
"private": true,
"scripts": {
"dev": "next dev",
"prebuild": "npm run db:migrate",
"build": "next build",
"start": "next start",
"lint": "next lint",
"prepare": "husky install",
"test": "jest --watch",
"db:migrate": "TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\" }' knex migrate:latest",
"db:migrate:undo": "TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\" }' knex migrate:down",
"db:migrate:make": "TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\" }' knex migrate:make"
"test": "jest --watch"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
Expand All @@ -39,19 +35,15 @@
"@tailwindcss/typography": "0.5.9",
"angry-purple-tiger": "1.0.5",
"axios": "^1.3.5",
"better-sqlite3": "^8.5.0",
"bn.js": "^5.2.1",
"clsx": "1.2.1",
"date-fns": "^2.29.3",
"dotenv": "^16.3.1",
"encoding": "^0.1.13",
"focus-visible": "5.2.0",
"h3-js": "4.1.0",
"knex": "^2.5.1",
"mapbox-gl": "2.13.0",
"next": "13.4.4",
"next-themes": "0.2.1",
"pg": "^8.11.1",
"react": "18.2.0",
"react-async-hook": "^4.0.0",
"react-countdown": "^2.3.5",
Expand Down
Loading