Skip to content

Commit

Permalink
upgrade minor/patch deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ob6160 committed Dec 24, 2024
1 parent 5616d3a commit ca7f081
Show file tree
Hide file tree
Showing 26 changed files with 5,591 additions and 8,291 deletions.
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

34 changes: 0 additions & 34 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/commit-msg

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
6 changes: 0 additions & 6 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const path = require('path');

// eslint-disable-next-line functional/immutable-data
module.exports = {
stories: ['../src'],
addons: [
Expand Down Expand Up @@ -32,10 +30,6 @@ module.exports = {
alias: {
...config.resolve.alias,
src: path.resolve(__dirname, '../src'),
// 'contentlayer/generated': path.resolve(
// __dirname,
// '../.contentlayer/generated',
// ),
},
fallback: {
...(config.resolve || {}).fallback,
Expand Down
76 changes: 76 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import functional from 'eslint-plugin-functional';
import tsParser from '@typescript-eslint/parser';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
{
ignores: [
'**/explorer-old',
'!**/.storybook',
'src/api-client/graphql.tsx',
'src/api-client/page.tsx',
'src/api/db',
'src/api/directives',
'src/@types/resolvers-types.ts',
],
},
...compat.extends(
'plugin:@typescript-eslint/recommended',
'plugin:jsx-a11y/recommended',
'next',
),
{
plugins: {
functional,
},

languageOptions: {
parser: tsParser,
ecmaVersion: 5,
sourceType: 'script',

parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},

settings: {
react: {
version: 'detect',
},
},

rules: {
'react/prop-types': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-require-imports': 0,
'functional/no-let': 0,
'functional/prefer-readonly-type': 0,
'functional/no-method-signature': 0,
'no-var': 'error',
'no-param-reassign': 'error',
'prefer-const': 'error',

'jsx-a11y/label-has-associated-control': [
2,
{
controlComponents: ['TextArea'],
},
],
},
},
];
1 change: 0 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line functional/immutable-data
module.exports = {
'*.{js,ts,tsx}': ['prettier --write', 'eslint --max-warnings=0'],
//'**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit',
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/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
3 changes: 0 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ const moduleExports = {
};

// 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 @typescript-eslint/no-var-requires
const { withContentCollections } = require('@content-collections/next');

// eslint-disable-next-line functional/immutable-data
module.exports = withContentCollections(withPlausibleProxy()(moduleExports));
154 changes: 78 additions & 76 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,29 @@
"supabase:reset": "SUPABASE_SCANNER_BUFFER_SIZE=100mb supabase db reset"
},
"dependencies": {
"@apollo/client": "^3.11.8",
"@apollo/client": "^3.12.4",
"@artsy/fresnel": "^6.2.1",
"@auth0/nextjs-auth0": "^1.9.2",
"@auth0/nextjs-auth0": "^1.9.3",
"@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",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@graphql-tools/schema": "^10.0.14",
"@graphql-tools/utils": "^10.7.0",
"@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",
"@mui/base": "5.0.0-beta.68",
"@mui/lab": "6.0.0-beta.21",
"@mui/material": "^6.3.0",
"@prisma/client": "^6.1.0",
"@react-leaflet/core": "^3.0.0",
"@styled-system/prop-types": "^5.1.5",
"@vercel/analytics": "^1.3.1",
"auth0": "^3.3.0",
"@vercel/analytics": "^1.4.1",
"auth0": "^3.7.2",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"downshift": "6.1.12",
"focus-visible": "^5.2.1",
"graphql": "^16.9.0",
"graphql": "^16.10.0",
"graphql-iso-date": "^3.6.1",
"graphql-yoga": "^3.9.1",
"hasha": "^5.2.2",
Expand All @@ -83,108 +83,110 @@
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"lodash": "^4.17.21",
"monaco-editor": "^0.52.0",
"next": "^14.2.15",
"next-plausible": "^3.12.2",
"monaco-editor": "^0.52.2",
"next": "^15.1.2",
"next-plausible": "^3.12.4",
"ngeohash": "^0.6.3",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "7.53.0",
"react-leaflet": "^4.2.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hook-form": "7.54.2",
"react-leaflet": "^5.0.0",
"remark-gfm": "^4.0.0",
"resize-observer-polyfill": "^1.5.1",
"styled-system": "^5.1.5",
"xmldom": "^0.6.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-typescript": "^7.24.7",
"@content-collections/core": "^0.7.2",
"@content-collections/markdown": "^0.1.2",
"@content-collections/mdx": "^0.1.6",
"@content-collections/next": "^0.2.3",
"@babel/core": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@content-collections/core": "^0.8.0",
"@content-collections/markdown": "^0.1.3",
"@content-collections/mdx": "^0.2.0",
"@content-collections/next": "^0.2.4",
"@emotion/babel-preset-css-prop": "^11.12.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@faker-js/faker": "^7.6.0",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/import-types-preset": "^3.0.0",
"@graphql-codegen/typescript": "^4.1.0",
"@graphql-codegen/typescript-operations": "^4.3.0",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@graphql-codegen/typescript-resolvers": "^4.3.0",
"@graphql-codegen/typescript-resolvers": "^4.4.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",
"@parcel/watcher": "^2.4.1",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/addon-mdx-gfm": "^7.6.17",
"@storybook/addon-onboarding": "^1.0.11",
"@parcel/watcher": "^2.5.0",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/addon-mdx-gfm": "^8.4.7",
"@storybook/addon-onboarding": "^8.4.7",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/blocks": "^7.6.17",
"@storybook/nextjs": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/testing-library": "^0.2.1",
"@storybook/blocks": "^8.4.7",
"@storybook/nextjs": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/testing-library": "^0.2.2",
"@testing-library/cypress": "^8.0.3",
"@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.10",
"@types/jest": "^29.5.14",
"@types/leaflet": "^1.9.15",
"@types/leaflet.markercluster": "^1.5.5",
"@types/lodash": "^4.17.13",
"@types/mapbox": "^1.6.45",
"@types/mapbox__geojson-area": "^0.2.6",
"@types/ngeohash": "^0.6.8",
"@types/node": "20.14.8",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@types/styled-system": "^5.1.22",
"@types/node": "22.10.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@types/styled-system": "^5.1.23",
"@types/xmldom": "^0.1.34",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"babel-loader": "^9.2.1",
"chai": "^4.3.10",
"chromatic": "^6.17.3",
"chai": "^5.1.2",
"chromatic": "^11.20.2",
"cli-progress": "^3.12.0",
"css-loader": "^6.10.0",
"css-loader": "^7.1.2",
"cypress": "^11.2.0",
"cypress-browser-permissions": "^1.1.0",
"cypress-nextjs-auth0": "^2.1.0",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.13",
"eslint-plugin-functional": "^6.4.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"dotenv": "^16.4.7",
"dotenv-cli": "^8.0.0",
"eslint": "^9.17.0",
"eslint-config-next": "^15.1.2",
"eslint-plugin-functional": "^7.2.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-storybook": "^0.11.1",
"geojson-precision": "^1.0.0",
"graphql-codegen-apollo-next-ssr": "^1.7.4",
"graphql-tag": "^2.12.6",
"husky": "^8.0.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^13.2.2",
"lint-staged": "^15.2.11",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.47",
"postcss-loader": "^7.3.3",
"prettier": "^3.3.3",
"prisma": "^5.19.1",
"postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"prettier": "^3.4.2",
"prisma": "^6.1.0",
"protomaps-leaflet": "4.0.1",
"require-from-string": "^2.0.2",
"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.203.0",
"start-server-and-test": "^2.0.9",
"storybook": "8.4.7",
"storybook-addon-apollo-client": "^7.3.0",
"style-loader": "^4.0.0",
"supabase": "^2.1.1",
"topojson-server": "^3.0.1",
"topojson-simplify": "^3.0.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"wait-on": "^7.2.0",
"webpack": "^5.95.0"
"typescript": "^5.7.2",
"wait-on": "^8.0.1",
"webpack": "^5.97.1"
},
"packageManager": "[email protected]",
"pnpm": {
Expand Down
Loading

0 comments on commit ca7f081

Please sign in to comment.