Compare commits
8 Commits
d3a1a0b5d4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| d1f0242e1a | |||
| c728a8a297 | |||
| dad37f578d | |||
| 3e90e1d3ac | |||
| e86804f919 | |||
| 74ab95fc7f | |||
| c6eb6ddb7f | |||
| ae31ed3df1 |
2
.github/workflows/cron.yml
vendored
2
.github/workflows/cron.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Daily Cron (Make New DailyStats Document)
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 5 * * *"
|
||||
- cron: "0 4 * * *"
|
||||
|
||||
jobs:
|
||||
cron:
|
||||
|
||||
38
package.json
38
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "no-twitter-bot-stats",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
@@ -12,38 +12,38 @@
|
||||
"prisma-update": "yarn prisma db push"
|
||||
},
|
||||
"dependencies": {
|
||||
"@chakra-ui/charts": "^3.31.0",
|
||||
"@chakra-ui/react": "^3.31.0",
|
||||
"@chakra-ui/charts": "^3.34.0",
|
||||
"@chakra-ui/react": "^3.34.0",
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@escape.tech/graphql-armor": "^3.2.0",
|
||||
"@prisma/client": "^6.19.2",
|
||||
"@prisma/extension-accelerate": "^3.0.1",
|
||||
"@urql/next": "^2.0.0",
|
||||
"dotenv": "^17.2.3",
|
||||
"graphql": "^16.12.0",
|
||||
"dotenv": "^17.3.1",
|
||||
"graphql": "^16.13.1",
|
||||
"graphql-scalars": "^1.25.0",
|
||||
"graphql-yoga": "^5.18.0",
|
||||
"next": "16.1.5",
|
||||
"graphql-yoga": "^5.18.1",
|
||||
"next": "16.2.1",
|
||||
"next-themes": "^0.4.6",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"react-icons": "^5.5.0",
|
||||
"recharts": "^3.7.0",
|
||||
"react-icons": "^5.6.0",
|
||||
"recharts": "^3.8.0",
|
||||
"rxjs": "^7.8.2",
|
||||
"urql": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.3",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@eslint/eslintrc": "^3.3.5",
|
||||
"@eslint/js": "^9.39.4",
|
||||
"@iconify/react": "^6.0.2",
|
||||
"@types/node": "^25.0.10",
|
||||
"@types/react": "^19.2.10",
|
||||
"@types/node": "^25.5.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
||||
"@typescript-eslint/parser": "^8.54.0",
|
||||
"baseline-browser-mapping": "^2.9.18",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-config-next": "16.1.5",
|
||||
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
||||
"@typescript-eslint/parser": "^8.57.1",
|
||||
"baseline-browser-mapping": "^2.10.10",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-next": "16.2.1",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
@@ -53,7 +53,7 @@
|
||||
"prisma": "^6.19.2",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "^8.54.0"
|
||||
"typescript-eslint": "^8.57.1"
|
||||
},
|
||||
"packageManager": "yarn@4.12.0"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import React, { useMemo } from "react";
|
||||
import Script from "next/script";
|
||||
import { Provider } from "@/components/ui/provider";
|
||||
import {
|
||||
UrqlProvider,
|
||||
@@ -8,7 +10,6 @@ import {
|
||||
fetchExchange,
|
||||
createClient
|
||||
} from "@urql/next";
|
||||
import React, { useMemo } from "react";
|
||||
|
||||
export default function RootLayout({
|
||||
children
|
||||
@@ -73,6 +74,8 @@ export default function RootLayout({
|
||||
<link rel="apple-touch-icon" sizes="180x180" href={img} />
|
||||
<link rel="manifest" href={img} />
|
||||
<body>
|
||||
<div id="my-banner"></div>
|
||||
<Script src="https://keepandroidopen.org/banner.js?size=mini&hidebutton=off&id=android-banner&animation=off?link=https://keepandroidopen.org" />
|
||||
<UrqlProvider client={client} ssr={ssr}>
|
||||
<Provider>{children}</Provider>
|
||||
</UrqlProvider>
|
||||
|
||||
@@ -63,7 +63,7 @@ export default function Home() {
|
||||
useEffect(() => {
|
||||
setCurrDate(new Date().toJSON());
|
||||
setDate30DaysAgo(
|
||||
new Date(new Date().setDate(new Date().getDay() - 30)).toJSON()
|
||||
new Date(new Date().setDate(new Date().getDate() - 30)).toJSON()
|
||||
);
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ const LineChartComponent = ({
|
||||
|
||||
return (
|
||||
<Chart.Root maxH="xs" chart={chart} maxW="100dvw">
|
||||
<LineChart data={chart.data}>
|
||||
<LineChart data={chart.data} responsive>
|
||||
<CartesianGrid stroke={chart.color("border")} vertical={false} />
|
||||
<XAxis
|
||||
axisLine={false}
|
||||
|
||||
Reference in New Issue
Block a user