Merge pull request 'fix-30-day-history' (#1) from fix-30-day-history into main
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m43s

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-03-11 02:33:38 -04:00
3 changed files with 1111 additions and 870 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "no-twitter-bot-stats", "name": "no-twitter-bot-stats",
"version": "0.1.0", "version": "0.1.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
@@ -12,38 +12,38 @@
"prisma-update": "yarn prisma db push" "prisma-update": "yarn prisma db push"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/charts": "^3.31.0", "@chakra-ui/charts": "^3.34.0",
"@chakra-ui/react": "^3.31.0", "@chakra-ui/react": "^3.34.0",
"@emotion/react": "^11.14.0", "@emotion/react": "^11.14.0",
"@escape.tech/graphql-armor": "^3.2.0", "@escape.tech/graphql-armor": "^3.2.0",
"@prisma/client": "^6.19.2", "@prisma/client": "^6.19.2",
"@prisma/extension-accelerate": "^3.0.1", "@prisma/extension-accelerate": "^3.0.1",
"@urql/next": "^2.0.0", "@urql/next": "^2.0.0",
"dotenv": "^17.2.3", "dotenv": "^17.3.1",
"graphql": "^16.12.0", "graphql": "^16.13.1",
"graphql-scalars": "^1.25.0", "graphql-scalars": "^1.25.0",
"graphql-yoga": "^5.18.0", "graphql-yoga": "^5.18.1",
"next": "16.1.5", "next": "16.1.6",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"react-icons": "^5.5.0", "react-icons": "^5.6.0",
"recharts": "^3.7.0", "recharts": "^3.8.0",
"rxjs": "^7.8.2", "rxjs": "^7.8.2",
"urql": "^5.0.1" "urql": "^5.0.1"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3.3.3", "@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.2", "@eslint/js": "^9.39.4",
"@iconify/react": "^6.0.2", "@iconify/react": "^6.0.2",
"@types/node": "^25.0.10", "@types/node": "^25.4.0",
"@types/react": "^19.2.10", "@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.54.0", "@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.54.0", "@typescript-eslint/parser": "^8.57.0",
"baseline-browser-mapping": "^2.9.18", "baseline-browser-mapping": "^2.10.0",
"eslint": "^9.39.2", "eslint": "^9.39.4",
"eslint-config-next": "16.1.5", "eslint-config-next": "16.1.6",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.5", "eslint-plugin-prettier": "^5.5.5",
@@ -53,7 +53,7 @@
"prisma": "^6.19.2", "prisma": "^6.19.2",
"tsx": "^4.21.0", "tsx": "^4.21.0",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"typescript-eslint": "^8.54.0" "typescript-eslint": "^8.57.0"
}, },
"packageManager": "yarn@4.12.0" "packageManager": "yarn@4.12.0"
} }

View File

@@ -63,7 +63,7 @@ export default function Home() {
useEffect(() => { useEffect(() => {
setCurrDate(new Date().toJSON()); setCurrDate(new Date().toJSON());
setDate30DaysAgo( setDate30DaysAgo(
new Date(new Date().setDate(new Date().getDay() - 30)).toJSON() new Date(new Date().setDate(new Date().getDate() - 30)).toJSON()
); );
}, []); }, []);

1941
yarn.lock

File diff suppressed because it is too large Load Diff