build(deps): bump the next group with 2 updates (#1045)
* build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
This commit is contained in:
parent
91d8b34627
commit
7a30fa846d
@ -1,18 +1,76 @@
|
||||
const tsParser = require("@typescript-eslint/parser");
|
||||
const js = require("@eslint/js");
|
||||
const nextCoreWebVitals = require('eslint-config-next/core-web-vitals');
|
||||
const i18Next = require('eslint-plugin-i18next');
|
||||
const globals = require('globals');
|
||||
const tsParser = require('@typescript-eslint/parser');
|
||||
const js = require('@eslint/js');
|
||||
|
||||
const {
|
||||
FlatCompat,
|
||||
} = require("@eslint/eslintrc");
|
||||
const { FlatCompat } = require('@eslint/eslintrc');
|
||||
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
recommendedConfig: js.configs.recommended,
|
||||
allConfig: js.configs.all
|
||||
allConfig: js.configs.all,
|
||||
});
|
||||
|
||||
module.exports = [...compat.extends("next/core-web-vitals"), {
|
||||
languageOptions: {
|
||||
parser: tsParser,
|
||||
module.exports = [
|
||||
{
|
||||
ignores: [
|
||||
'.next',
|
||||
'**/node_modules',
|
||||
'**/dist',
|
||||
'eslint.config.cjs',
|
||||
'node_modules/**',
|
||||
'.next/**',
|
||||
'out/**',
|
||||
'build/**',
|
||||
'next-env.d.ts',
|
||||
],
|
||||
},
|
||||
}];
|
||||
...compat.extends('eslint:recommended'),
|
||||
...compat.extends('prettier'),
|
||||
...nextCoreWebVitals,
|
||||
...compat.extends('plugin:i18next/recommended'),
|
||||
{
|
||||
plugins: {
|
||||
i18next: i18Next,
|
||||
},
|
||||
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.node,
|
||||
},
|
||||
|
||||
parser: tsParser,
|
||||
ecmaVersion: 13,
|
||||
sourceType: 'module',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/*.ts', '**/*.tsx'],
|
||||
|
||||
rules: {
|
||||
'no-undef': 'off',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'import/no-anonymous-default-export': 'off',
|
||||
'@typescript-eslint/no-require-imports': 'off',
|
||||
'i18next/no-literal-string': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/*.js'],
|
||||
|
||||
rules: {
|
||||
'@typescript-eslint/no-var-requires': 'off',
|
||||
'@typescript-eslint/no-require-imports': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['sdk/**/*'],
|
||||
|
||||
rules: {
|
||||
'@next/next/no-img-element': 'off',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
2
next-env.d.ts
vendored
2
next-env.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
/// <reference path="./.next/types/routes.d.ts" />
|
||||
import "./.next/types/routes.d.ts";
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
|
||||
|
||||
1493
package-lock.json
generated
1493
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -5,10 +5,10 @@
|
||||
"private": true,
|
||||
"license": "Apache 2.0",
|
||||
"scripts": {
|
||||
"dev": "next dev -p 4000",
|
||||
"build": "next build",
|
||||
"dev": "next dev --webpack -p 4000",
|
||||
"build": "next build --webpack",
|
||||
"start": "next start -p 4000",
|
||||
"lint": "next lint",
|
||||
"lint": "eslint -c eslint.config.cjs ./",
|
||||
"check-format": "prettier --check .",
|
||||
"format": "prettier --write .",
|
||||
"release": "git checkout release && git merge origin/main && release-it && git checkout main && git merge origin/release && git push origin main"
|
||||
@ -16,7 +16,7 @@
|
||||
"dependencies": {
|
||||
"@boxyhq/saml20": "1.12.1",
|
||||
"daisyui": "4.12.24",
|
||||
"next": "15.5.5",
|
||||
"next": "16.0.3",
|
||||
"react": "19.2.0",
|
||||
"react-dom": "19.2.0",
|
||||
"react-gtm-module": "2.0.11"
|
||||
@ -28,7 +28,9 @@
|
||||
"@typescript-eslint/parser": "8.46.4",
|
||||
"autoprefixer": "10.4.21",
|
||||
"eslint": "9.37.0",
|
||||
"eslint-config-next": "15.5.5",
|
||||
"eslint-config-next": "16.0.3",
|
||||
"eslint-config-prettier": "10.1.8",
|
||||
"eslint-plugin-i18next": "6.1.3",
|
||||
"json": "11.0.0",
|
||||
"postcss": "8.5.6",
|
||||
"prettier": "3.6.2",
|
||||
|
||||
@ -1,7 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
@ -12,10 +16,16 @@
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"jsx": "react-jsx",
|
||||
"incremental": true,
|
||||
"baseUrl": ".",
|
||||
"baseUrl": "."
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"],
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user