Skip to content

Commit

Permalink
Update deps to latest Dec 2024 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte authored Dec 5, 2024
1 parent fcf5cd0 commit e492902
Show file tree
Hide file tree
Showing 10 changed files with 7,051 additions and 9,024 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
node-version: ['22']
env:
AWS_PROFILE: transitmatters
AWS_DEFAULT_REGION: us-east-1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
node-version: ['20', '22']
python-version: ['3.12']
steps:
- name: Checkout repo
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
node-version: ['20', '22']
python-version: ['3.12']
steps:
- name: Checkout repo
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is the repository for the TransitMatters Shutdown Tracker. Client code is w

## Requirements to develop locally

- node 20.x and npm 10+ required
- node 22.x and npm 10+ required
- With `nvm` installed, use `nvm install && nvm use`
- verify with `node -v`
- Python 3.12 with recent poetry (1.6.0 or later)
Expand Down
15,244 changes: 6,608 additions & 8,636 deletions package-lock.json

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"start": "concurrently npm:start-python npm:dev",
"start-python": "cd server && poetry run chalice local --port=5000",
"start-python": "cd server && poetry run chalice local --port=5555",
"dev": "vite",
"build": "tsc && vite build",
"lint-frontend": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 10",
Expand All @@ -16,25 +16,25 @@
},
"engines": {
"node": ">=20.13.0",
"npm": ">=10.2.0"
"npm": ">=10.3.0"
},
"proxy": "http://localhost:5000",
"proxy": "http://localhost:5555",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/fontawesome-svg-core": "^6.7.1",
"@fortawesome/free-regular-svg-icons": "^6.7.1",
"@fortawesome/free-solid-svg-icons": "^6.7.1",
"@fortawesome/react-fontawesome": "^0.2.2",
"@headlessui/react": "2.1.0",
"@heroicons/react": "^2.1.5",
"@tanstack/react-query": "^5.54.1",
"@tanstack/react-router": "^1.53.0",
"@headlessui/react": "2.2.0",
"@heroicons/react": "^2.2.0",
"@tanstack/react-query": "^5.62.2",
"@tanstack/react-router": "^1.85.5",
"bezier-js": "^6.1.4",
"chart.js": "^4.4.4",
"chart.js": "^4.4.7",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-annotation": "^3.0.1",
"chartjs-plugin-annotation": "^3.1.0",
"chartjs-plugin-watermark": "^2.0.2",
"classnames": "^2.5.1",
"concurrently": "^8.2.2",
"concurrently": "^9.1.0",
"date-fns": "^3.6.0",
"dayjs": "^1.11.13",
"react": "^18.3.1",
Expand All @@ -44,29 +44,29 @@
"react-scroll": "^1.9.0",
"react-toggle-dark-mode": "^1.1.1",
"usehooks-ts": "^3.1.0",
"zustand": "^4.5.5"
"zustand": "^5.0.2"
},
"devDependencies": {
"@tanstack/router-vite-plugin": "^1.52.0",
"@tanstack/router-vite-plugin": "^1.85.3",
"@types/bezier-js": "^4.1.3",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.13",
"@types/react-dom": "^18.3.1",
"@types/react-scroll": "^1.8.10",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.1",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.11",
"postcss": "^8.4.44",
"prettier": "~3.3.3",
"tailwindcss": "^3.4.10",
"typescript": "~5.5.4",
"vite": "^5.4.3"
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"postcss": "^8.4.49",
"prettier": "~3.4.2",
"tailwindcss": "^3.4.16",
"typescript": "~5.7.2",
"vite": "^6.0.2"
}
}
710 changes: 364 additions & 346 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ license = "MIT"
python = "~3.12"
requests = "2.32.3"
boto3 = "^1.35.11"
datadog_lambda = "6.98.0"
datadog_lambda = "6.104.0"
icalendar = "^5.0.13"

[tool.poetry.dev-dependencies]
pip = ">=24.0"
chalice = "1.31.2"
flake8 = "^7.1.1"
black = "^24.8.0"
black = "^24.10.0"

[tool.black]
line-length = 120
Expand Down
2 changes: 1 addition & 1 deletion src/api/traveltimes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
const APP_DATA_BASE_PATH =
process.env.NODE_ENV === 'production'
? 'https://shutdowns.labs.transitmatters.org'
: 'http://127.0.0.1:5000';
: 'http://127.0.0.1:5555';

export const getCurrentDate = (): string => {
const isoDate = new Date();
Expand Down
47 changes: 42 additions & 5 deletions src/routeTree.gen.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* prettier-ignore-start */

/* eslint-disable */

// @ts-nocheck

// noinspection JSUnusedGlobalSymbols

// This file is auto-generated by TanStack Router
// This file was automatically generated by TanStack Router.
// You should NOT make any changes in this file as it will be overwritten.
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

// Import Routes

Expand All @@ -17,11 +17,13 @@ import { Route as LineIndexImport } from './routes/$line/index'
// Create/Update Routes

const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)

const LineIndexRoute = LineIndexImport.update({
id: '/$line/',
path: '/$line/',
getParentRoute: () => rootRoute,
} as any)
Expand Down Expand Up @@ -49,9 +51,44 @@ declare module '@tanstack/react-router' {

// Create and export the route tree

export const routeTree = rootRoute.addChildren({ IndexRoute, LineIndexRoute })
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/$line': typeof LineIndexRoute
}

export interface FileRoutesByTo {
'/': typeof IndexRoute
'/$line': typeof LineIndexRoute
}

export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/$line/': typeof LineIndexRoute
}

export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/$line'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/$line'
id: '__root__' | '/' | '/$line/'
fileRoutesById: FileRoutesById
}

export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
LineIndexRoute: typeof LineIndexRoute
}

const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
LineIndexRoute: LineIndexRoute,
}

/* prettier-ignore-end */
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()

/* ROUTE_MANIFEST_START
{
Expand Down

0 comments on commit e492902

Please sign in to comment.