Skip to content

Commit 18b9cc1

Browse files
committed
fetch all officers from notion
1 parent c382d78 commit 18b9cc1

40 files changed

Lines changed: 1054 additions & 155 deletions

‎package-lock.json‎

Lines changed: 356 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"prebuild": "npm run fetch-data",
99
"build": "vite build",
1010
"build:dev": "vite build --mode development",
11-
"fetch-data": "node scripts/fetch-officers-fa25.js",
11+
"fetch-data": "node scripts/fetch-officers-fa25.js && node scripts/fetch-officers-notion.js",
12+
"fetch-fa25": "node scripts/fetch-officers-fa25.js",
13+
"fetch-notion": "node scripts/fetch-officers-notion.js",
1214
"lint": "eslint .",
1315
"preview": "vite preview"
1416
},
@@ -68,12 +70,14 @@
6870
},
6971
"devDependencies": {
7072
"@eslint/js": "^9.32.0",
73+
"@notionhq/client": "^2.3.0",
7174
"@tailwindcss/typography": "^0.5.16",
7275
"@types/node": "^22.16.5",
7376
"@types/react": "^18.3.23",
7477
"@types/react-dom": "^18.3.7",
7578
"@vitejs/plugin-react-swc": "^3.11.0",
7679
"autoprefixer": "^10.4.21",
80+
"dotenv": "^17.2.4",
7781
"eslint": "^9.32.0",
7882
"eslint-plugin-react-hooks": "^5.2.0",
7983
"eslint-plugin-react-refresh": "^0.4.20",

‎public/fetched/officers/.notion-hash‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
7.31 KB
Loading
15.5 KB
Loading
47.4 KB
Loading
30.3 KB
Loading
20.4 KB
Loading
14.1 KB
Loading

‎public/fetched/officers/fa25/.sheet-hash‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)