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

Various upgrades #1716

Merged
merged 6 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ build
.loos
out


# Storybook build
storybook-static
public/storybook
Expand All @@ -39,13 +38,10 @@ cypress/downloads

.areaInfo.geojson

# Sentry
.sentryclirc

tsconfig.tsbuildinfo

# Prisma

generated

certificates
certificates
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.1
20.9.0
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ Our brilliant sponsors help us to bring a stable and high quality service to our

Vercel sponsor the hosting and deployment of the Next.js based Toilet Map, allowing us to scale confidently and iterate quickly using their versatile platform.

### Sentry

[<img src="https://user-images.githubusercontent.com/1771189/178340599-94f9d130-dd82-4389-a4ac-69b9fb014d8a.svg" width="212" alt="Logging is kindly sponsored by Sentry">](https://sentry.io)

Our client and server side logging in production is kindly sponsored by Sentry.

### Cypress

[<img src="https://user-images.githubusercontent.com/1771189/189427407-8d7fb6b2-1756-4e10-8dd7-9a4ae01986d8.png" width="212" alt="Cypress dashboard enhances our development workflow when working with our Cypress test suite">](https://www.cypress.io/dashboard)
Expand Down
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
7 changes: 1 addition & 6 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,9 @@ const moduleExports = {
},
};

// eslint-disable-next-line @typescript-eslint/no-var-requires
const withNextAnalyser = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});

// https://plausible.io/docs/proxy/guides/nextjs
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { withPlausibleProxy } = require('next-plausible');

// eslint-disable-next-line functional/immutable-data
module.exports = withNextAnalyser(withPlausibleProxy()(moduleExports));
module.exports = withPlausibleProxy()(moduleExports);
91 changes: 42 additions & 49 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,30 @@
"supabase:reset": "SUPABASE_SCANNER_BUFFER_SIZE=100mb supabase db reset"
},
"dependencies": {
"@apollo/client": "^3.9.10",
"@apollo/client": "^3.11.8",
"@artsy/fresnel": "^6.2.1",
"@auth0/nextjs-auth0": "^1.9.2",
"@emotion/is-prop-valid": "^1.2.2",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@graphql-tools/schema": "^10.0.3",
"@graphql-tools/utils": "^10.1.2",
"@emotion/is-prop-valid": "^1.3.1",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@graphql-tools/schema": "^10.0.6",
"@graphql-tools/utils": "^10.5.4",
"@hookform/error-message": "^2.0.1",
"@monaco-editor/react": "^4.6.0",
"@mui/base": "5.0.0-beta.40",
"@mui/lab": "5.0.0-alpha.170",
"@mui/material": "^5.15.15",
"@prisma/client": "^5.19.1",
"@react-leaflet/core": "^2.1.0",
"@sentry/nextjs": "^7.109.0",
"@styled-system/prop-types": "^5.1.5",
"@vercel/analytics": "^1.2.2",
"@vercel/analytics": "^1.3.1",
"auth0": "^3.3.0",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"downshift": "6.1.12",
"focus-visible": "^5.2.0",
"focus-visible": "^5.2.1",
"framer-motion": "^10.16.4",
"graphql": "^16.8.1",
"graphql": "^16.9.0",
"graphql-iso-date": "^3.6.1",
"graphql-yoga": "^3.9.1",
"hasha": "^5.2.2",
Expand All @@ -85,34 +84,33 @@
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"lodash": "^4.17.21",
"monaco-editor": "^0.37.1",
"next": "^13.5.4",
"next-plausible": "^3.12.0",
"monaco-editor": "^0.52.0",
mxdvl marked this conversation as resolved.
Show resolved Hide resolved
"next": "^14.2.13",
"next-plausible": "^3.12.2",
"ngeohash": "^0.6.3",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "7.51.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "7.53.0",
"react-leaflet": "^4.2.1",
"resize-observer-polyfill": "^1.5.1",
"styled-system": "^5.1.5"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@emotion/babel-preset-css-prop": "^11.11.0",
"@babel/core": "^7.25.2",
"@babel/preset-typescript": "^7.24.7",
"@emotion/babel-preset-css-prop": "^11.12.0",
"@faker-js/faker": "^7.6.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/import-types-preset": "^3.0.0",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.0",
"@graphql-codegen/typescript-resolvers": "^4.0.6",
"@graphql-codegen/typescript": "^4.0.9",
"@graphql-codegen/typescript-operations": "^4.2.3",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@graphql-codegen/typescript-resolvers": "^4.2.1",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@jest/globals": "^29.7.0",
"@mapbox/geojson-area": "^0.2.2",
"@mapbox/geojson-rewind": "^0.5.2",
"@next/bundle-analyzer": "^13.5.4",
"@parcel/watcher": "^2.4.1",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
Expand All @@ -126,21 +124,21 @@
"@storybook/react": "^7.6.17",
"@storybook/testing-library": "^0.2.1",
"@testing-library/cypress": "^8.0.3",
"@types/cli-progress": "^3.11.5",
"@types/jest": "^29.5.12",
"@types/leaflet": "^1.9.9",
"@types/cli-progress": "^3.11.6",
"@types/jest": "^29.5.13",
"@types/leaflet": "^1.9.12",
"@types/leaflet.markercluster": "^1.5.4",
"@types/lodash": "^4.17.0",
"@types/lodash": "^4.17.9",
"@types/mapbox": "^1.6.45",
"@types/mapbox__geojson-area": "^0.2.2",
"@types/mapbox__geojson-area": "^0.2.6",
"@types/ngeohash": "^0.6.4",
"@types/node": "^18.16.3",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@types/node": "^20.9.0",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@types/styled-system": "^5.1.22",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"chai": "^4.3.10",
"chromatic": "^6.17.3",
"cli-progress": "^3.12.0",
Expand All @@ -149,12 +147,12 @@
"cypress-browser-permissions": "^1.1.0",
"cypress-nextjs-auth0": "^2.1.0",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.1",
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"eslint-config-next": "^13.5.4",
"eslint-config-next": "^14.2.13",
"eslint-plugin-functional": "^6.4.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"geojson-precision": "^1.0.0",
"graphql-codegen-apollo-next-ssr": "^1.7.4",
Expand All @@ -163,31 +161,26 @@
"jest": "^29.7.0",
"lint-staged": "^13.2.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.38",
"postcss": "^8.4.47",
"postcss-loader": "^7.3.3",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prisma": "^5.19.1",
"protomaps-leaflet": "3.1.2",
"require-from-string": "^2.0.2",
"start-server-and-test": "^2.0.3",
"start-server-and-test": "^2.0.8",
"storybook": "7.6.17",
"storybook-addon-apollo-client": "^5.0.0",
"style-loader": "^3.3.4",
"supabase": "^1.153.4",
"supabase": "^1.192.5",
"topojson-server": "^3.0.1",
"topojson-simplify": "^3.0.3",
"ts-jest": "^29.1.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.4",
"typescript": "^5.6.2",
"wait-on": "^7.2.0",
"webpack": "^5.91.0"
"webpack": "^5.94.0"
},
"packageManager": "[email protected]",
"nextBundleAnalysis": {
"budget": 204800,
"budgetPercentIncreaseRed": 10,
"showDetails": true
},
"pnpm": {
"overrides": {
"trim@<0.0.3": ">=0.0.3",
Expand Down
Loading
Loading