Skip to content

Commit

Permalink
Merge pull request #41 from yobta/bump-deps
Browse files Browse the repository at this point in the history
dependencies update
  • Loading branch information
droganov authored Sep 6, 2024
2 parents 57f5cec + 7764a75 commit 7a1e32d
Show file tree
Hide file tree
Showing 9 changed files with 1,268 additions and 1,334 deletions.
Empty file removed .eslintignore
Empty file.
32 changes: 32 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import js from '@eslint/js'
import { FlatCompat } from '@eslint/eslintrc'
import ts from 'typescript-eslint'
import loguxTsConfig from '@logux/eslint-config/ts'
import { fixupConfigRules } from '@eslint/compat'

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 fixupConfigRules([
...loguxTsConfig,
...ts.configs.recommended,
...compat.extends('next/core-web-vitals'),
{
ignores: [],
files: ['**/*.ts?(x)'],
},
{
rules: {
'import/extensions': 'off',
'prefer-let/prefer-let': 'off',
'prefer-const': 'error',
},
},
])
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/app/building-your-application/configuring/typescript for more information.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ const nextConfig = {
env: {
NEXT_PUBLIC_REVISION: revision,
},
eslint: {
ignoreDuringBuilds: true,
},
experimental: { esmExternals: true, mdxRs: true },
generateBuildId: async () => revision,
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
Expand Down
68 changes: 36 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,56 +11,60 @@
"build": "next build",
"prettify": "npx prettier --wrinte .",
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"test": "vitest src --coverage --run",
"test:watch": "vitest src --coverage",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.2.3",
"@tailwindcss/typography": "^0.5.13",
"@yobta/stores": "0.2.8",
"@next/mdx": "^14.2.8",
"@tailwindcss/typography": "^0.5.15",
"@yobta/stores": "0.3.2",
"@yobta/ui": "^0.0.51",
"@yobta/validator": "^0.0.45",
"@yobta/validator": "^0.1.6",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"next": "^14.2.3",
"next": "^14.2.8",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-use": "^17.5.0",
"sass": "^1.75.0",
"webpack": "^5.91.0"
"react-use": "^17.5.1",
"sass": "^1.78.0",
"typescript-eslint": "^8.4.0",
"webpack": "^5.94.0"
},
"devDependencies": {
"@logux/eslint-config": "^51.0.0",
"@types/lodash": "^4.17.0",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@logux/eslint-config": "^53.4.0",
"@types/lodash": "^4.17.7",
"@types/mdx": "^2.0.13",
"@types/node": "20.12.7",
"@types/react": "18.3.1",
"@types/node": "22.5.4",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitest/coverage-v8": "^1.5.3",
"autoprefixer": "^10.4.19",
"c8": "^9.1.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@vitest/coverage-v8": "^2.0.5",
"autoprefixer": "^10.4.20",
"c8": "^10.1.2",
"dotenv": "^16.4.5",
"eslint": "8.57.0",
"eslint-config-next": "14.2.3",
"eslint": "9.9.1",
"eslint-config-next": "14.2.8",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.4.0",
"eslint-plugin-perfectionist": "^1.4.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"happy-dom": "^14.7.1",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-perfectionist": "^3.4.0",
"eslint-plugin-prefer-let": "^4.0.0",
"eslint-plugin-promise": "^7.1.0",
"happy-dom": "^15.7.3",
"postcss": "^8.4.45",
"prettier": "^3.3.3",
"styled-jsx-plugin-postcss": "^4.0.1",
"tailwindcss": "^3.4.3",
"typescript": "5.4.5",
"vitest": "^1.5.3"
"tailwindcss": "^3.4.10",
"typescript": "5.5.4",
"vitest": "^2.0.5"
}
}
Loading

0 comments on commit 7a1e32d

Please sign in to comment.