diff --git a/.changeset/few-sheep-shout.md b/.changeset/few-sheep-shout.md new file mode 100644 index 0000000..36f810c --- /dev/null +++ b/.changeset/few-sheep-shout.md @@ -0,0 +1,5 @@ +--- +"x-boilerplate": minor +--- + +Bump nextjs diff --git a/.gitignore b/.gitignore index 9855b27..32cb886 100755 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage @@ -33,6 +38,7 @@ yarn-error.log* # typescript *.tsbuildinfo +next-env.d.ts .vscode /test-results/ diff --git a/package.json b/package.json index 47a6ad7..9bf6962 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "date-fns": "4.1.0", "framer-motion": "11.15.0", "geist": "1.3.1", - "next": "15.1.1", + "next": "15.1.7", "next-auth": "5.0.0-beta.25", "next-intl": "3.26.1", "next-safe-action": "7.10.2", @@ -70,7 +70,7 @@ "@testing-library/react": "16.1.0", "@testing-library/react-hooks": "8.0.1", "@testing-library/user-event": "14.5.2", - "@types/node": "22.10.2", + "@types/node": "^22", "@types/react": "^19", "@types/react-dom": "^19", "@vitejs/plugin-react": "4.3.4", @@ -79,7 +79,7 @@ "autoprefixer": "10.4.20", "husky": "9.1.7", "jsdom": "25.0.1", - "postcss": "8.4.49", + "postcss": "^8", "tailwindcss": "3.4.17", "typescript": "^5", "vite-tsconfig-paths": "5.1.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f92113a..38cae94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,22 +55,22 @@ importers: version: 11.15.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) geist: specifier: 1.3.1 - version: 1.3.1(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + version: 1.3.1(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) next: - specifier: 15.1.1 - version: 15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 15.1.7 + version: 15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) next-auth: specifier: 5.0.0-beta.25 - version: 5.0.0-beta.25(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) + version: 5.0.0-beta.25(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) next-intl: specifier: 3.26.1 - version: 3.26.1(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) + version: 3.26.1(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) next-safe-action: specifier: 7.10.2 - version: 7.10.2(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(zod@3.24.1) + version: 7.10.2(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(zod@3.24.1) nuqs: specifier: 2.2.3 - version: 2.2.3(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) + version: 2.2.3(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) react: specifier: 19.0.0 version: 19.0.0 @@ -142,7 +142,7 @@ importers: specifier: 14.5.2 version: 14.5.2(@testing-library/dom@9.3.4) '@types/node': - specifier: 22.10.2 + specifier: ^22 version: 22.10.2 '@types/react': specifier: ^19 @@ -169,7 +169,7 @@ importers: specifier: 25.0.1 version: 25.0.1 postcss: - specifier: 8.4.49 + specifier: ^8 version: 8.4.49 tailwindcss: specifier: 3.4.17 @@ -1017,8 +1017,8 @@ packages: '@next/env@15.0.4': resolution: {integrity: sha512-WNRvtgnRVDD4oM8gbUcRc27IAhaL4eXQ/2ovGbgLnPGUvdyDr8UdXP4Q/IBDdAdojnD2eScryIDirv0YUCjUVw==} - '@next/env@15.1.1': - resolution: {integrity: sha512-ldU8IpUqxa87LsWyMh8eIqAzejt8+ZuEsdtCV+fpDog++cBO5b/PWaI7wQQwun8LKJeFFpnY4kv/6r+/dCON6A==} + '@next/env@15.1.7': + resolution: {integrity: sha512-d9jnRrkuOH7Mhi+LHav2XW91HOgTAWHxjMPkXMGBc9B2b7614P7kjt8tAplRvJpbSt4nbO1lugcT/kAaWzjlLQ==} '@next/swc-darwin-arm64@15.0.4': resolution: {integrity: sha512-QecQXPD0yRHxSXWL5Ff80nD+A56sUXZG9koUsjWJwA2Z0ZgVQfuy7gd0/otjxoOovPVHR2eVEvPMHbtZP+pf9w==} @@ -1026,8 +1026,8 @@ packages: cpu: [arm64] os: [darwin] - '@next/swc-darwin-arm64@15.1.1': - resolution: {integrity: sha512-pq7Hzu0KaaH6UYcCQ22mOuj2mWCD6iqGvYprp/Ep1EcCxbdNOSS+8EJADFbPHsaXLkaonIJ8lTKBGWXaFxkeNQ==} + '@next/swc-darwin-arm64@15.1.7': + resolution: {integrity: sha512-hPFwzPJDpA8FGj7IKV3Yf1web3oz2YsR8du4amKw8d+jAOHfYHYFpMkoF6vgSY4W6vB29RtZEklK9ayinGiCmQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1038,8 +1038,8 @@ packages: cpu: [x64] os: [darwin] - '@next/swc-darwin-x64@15.1.1': - resolution: {integrity: sha512-h567/b/AHAnMpaJ1D3l3jKLrzNOgN9bmDSRd+Gb0hXTkLZh8mE0Kd9MbIw39QeTZQJ3192uFRFWlDjWiifwVhQ==} + '@next/swc-darwin-x64@15.1.7': + resolution: {integrity: sha512-2qoas+fO3OQKkU0PBUfwTiw/EYpN+kdAx62cePRyY1LqKtP09Vp5UcUntfZYajop5fDFTjSxCHfZVRxzi+9FYQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1050,8 +1050,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-gnu@15.1.1': - resolution: {integrity: sha512-I5Q6M3T9jzTUM2JlwTBy/VBSX+YCDvPLnSaJX5wE5GEPeaJkipMkvTA9+IiFK5PG5ljXTqVFVUj5BSHiYLCpoQ==} + '@next/swc-linux-arm64-gnu@15.1.7': + resolution: {integrity: sha512-sKLLwDX709mPdzxMnRIXLIT9zaX2w0GUlkLYQnKGoXeWUhcvpCrK+yevcwCJPdTdxZEUA0mOXGLdPsGkudGdnA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1062,8 +1062,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@15.1.1': - resolution: {integrity: sha512-4cPMSYmyXlOAk8U04ouEACEGnOwYM9uJOXZnm9GBXIKRbNEvBOH9OePhHiDWqOws6iaHvGayaKr+76LmM41yJA==} + '@next/swc-linux-arm64-musl@15.1.7': + resolution: {integrity: sha512-zblK1OQbQWdC8fxdX4fpsHDw+VSpBPGEUX4PhSE9hkaWPrWoeIJn+baX53vbsbDRaDKd7bBNcXRovY1hEhFd7w==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1074,8 +1074,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-gnu@15.1.1': - resolution: {integrity: sha512-KgIiKDdV35KwL9TrTxPFGsPb3J5RuDpw828z3MwMQbWaOmpp/T4MeWQCwo+J2aOxsyAcfsNE334kaWXCb6YTTA==} + '@next/swc-linux-x64-gnu@15.1.7': + resolution: {integrity: sha512-GOzXutxuLvLHFDAPsMP2zDBMl1vfUHHpdNpFGhxu90jEzH6nNIgmtw/s1MDwpTOiM+MT5V8+I1hmVFeAUhkbgQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1086,8 +1086,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@15.1.1': - resolution: {integrity: sha512-aHP/29x8loFhB3WuW2YaWaYFJN389t6/SBsug19aNwH+PRLzDEQfCvtuP6NxRCido9OAoExd+ZuYJKF9my1Kpg==} + '@next/swc-linux-x64-musl@15.1.7': + resolution: {integrity: sha512-WrZ7jBhR7ATW1z5iEQ0ZJfE2twCNSXbpCSaAunF3BKcVeHFADSI/AW1y5Xt3DzTqPF1FzQlwQTewqetAABhZRQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1098,8 +1098,8 @@ packages: cpu: [arm64] os: [win32] - '@next/swc-win32-arm64-msvc@15.1.1': - resolution: {integrity: sha512-klbzXYwqHMwiucNFF0tWiWJyPb45MBX1q/ATmxrMjEYgA+V/0OXc9KmNVRIn6G/ab0ASUk4uWqxik5m6wvm1sg==} + '@next/swc-win32-arm64-msvc@15.1.7': + resolution: {integrity: sha512-LDnj1f3OVbou1BqvvXVqouJZKcwq++mV2F+oFHptToZtScIEnhNRJAhJzqAtTE2dB31qDYL45xJwrc+bLeKM2Q==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -1110,8 +1110,8 @@ packages: cpu: [x64] os: [win32] - '@next/swc-win32-x64-msvc@15.1.1': - resolution: {integrity: sha512-V5fm4aULqHSlMQt3U1rWAWuwJTFsb6Yh4P8p1kQFoayAF9jAQtjBvHku4zCdrtQuw9u9crPC0FNML00kN4WGhA==} + '@next/swc-win32-x64-msvc@15.1.7': + resolution: {integrity: sha512-dC01f1quuf97viOfW05/K8XYv2iuBgAxJZl7mbCKEjMgdQl5JjAKJ0D2qMKZCgPWDeFbFT0Q0nYWwytEW0DWTQ==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -3206,8 +3206,8 @@ packages: sass: optional: true - next@15.1.1: - resolution: {integrity: sha512-SBZlcvdIxajw8//H3uOR1G3iu3jxsra/77m2ulRIxi3m89p+s3ACsoOXR49JEAbaun/DVoRJ9cPKq8eF/oNB5g==} + next@15.1.7: + resolution: {integrity: sha512-GNeINPGS9c6OZKCvKypbL8GTsT5GhWPp4DM0fzkXJuXMilOO2EeFxuAY6JZbtk6XIl6Ws10ag3xRINDjSO5+wg==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: @@ -4389,13 +4389,13 @@ snapshots: '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 - picocolors: 1.0.1 + picocolors: 1.1.1 '@babel/code-frame@7.26.2': dependencies: '@babel/helper-validator-identifier': 7.25.9 js-tokens: 4.0.0 - picocolors: 1.0.1 + picocolors: 1.1.1 '@babel/compat-data@7.25.2': {} @@ -4541,7 +4541,7 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 js-tokens: 4.0.0 - picocolors: 1.0.1 + picocolors: 1.1.1 '@babel/parser@7.24.5': dependencies: @@ -5105,7 +5105,7 @@ snapshots: '@formatjs/icu-skeleton-parser@1.8.2': dependencies: '@formatjs/ecma402-abstract': 2.0.0 - tslib: 2.6.3 + tslib: 2.8.1 '@formatjs/intl-localematcher@0.5.4': dependencies: @@ -5256,54 +5256,54 @@ snapshots: '@next/env@15.0.4': {} - '@next/env@15.1.1': {} + '@next/env@15.1.7': {} '@next/swc-darwin-arm64@15.0.4': optional: true - '@next/swc-darwin-arm64@15.1.1': + '@next/swc-darwin-arm64@15.1.7': optional: true '@next/swc-darwin-x64@15.0.4': optional: true - '@next/swc-darwin-x64@15.1.1': + '@next/swc-darwin-x64@15.1.7': optional: true '@next/swc-linux-arm64-gnu@15.0.4': optional: true - '@next/swc-linux-arm64-gnu@15.1.1': + '@next/swc-linux-arm64-gnu@15.1.7': optional: true '@next/swc-linux-arm64-musl@15.0.4': optional: true - '@next/swc-linux-arm64-musl@15.1.1': + '@next/swc-linux-arm64-musl@15.1.7': optional: true '@next/swc-linux-x64-gnu@15.0.4': optional: true - '@next/swc-linux-x64-gnu@15.1.1': + '@next/swc-linux-x64-gnu@15.1.7': optional: true '@next/swc-linux-x64-musl@15.0.4': optional: true - '@next/swc-linux-x64-musl@15.1.1': + '@next/swc-linux-x64-musl@15.1.7': optional: true '@next/swc-win32-arm64-msvc@15.0.4': optional: true - '@next/swc-win32-arm64-msvc@15.1.1': + '@next/swc-win32-arm64-msvc@15.1.7': optional: true '@next/swc-win32-x64-msvc@15.0.4': optional: true - '@next/swc-win32-x64-msvc@15.1.1': + '@next/swc-win32-x64-msvc@15.1.7': optional: true '@nodelib/fs.scandir@2.1.5': @@ -6670,9 +6670,9 @@ snapshots: functions-have-names@1.2.3: {} - geist@1.3.1(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): + geist@1.3.1(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: - next: 15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + next: 15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) gensync@1.0.0-beta.2: {} @@ -7263,23 +7263,23 @@ snapshots: negotiator@1.0.0: {} - next-auth@5.0.0-beta.25(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): + next-auth@5.0.0-beta.25(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): dependencies: '@auth/core': 0.37.2 - next: 15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + next: 15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: 19.0.0 - next-intl@3.26.1(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): + next-intl@3.26.1(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): dependencies: '@formatjs/intl-localematcher': 0.5.4 negotiator: 1.0.0 - next: 15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + next: 15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: 19.0.0 use-intl: 3.26.1(react@19.0.0) - next-safe-action@7.10.2(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(zod@3.24.1): + next-safe-action@7.10.2(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(zod@3.24.1): dependencies: - next: 15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + next: 15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) optionalDependencies: @@ -7311,26 +7311,26 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@next/env': 15.1.1 + '@next/env': 15.1.7 '@swc/counter': 0.1.3 '@swc/helpers': 0.5.15 busboy: 1.6.0 - caniuse-lite: 1.0.30001651 + caniuse-lite: 1.0.30001689 postcss: 8.4.31 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) styled-jsx: 5.1.6(@babel/core@7.24.5)(react@19.0.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.1.1 - '@next/swc-darwin-x64': 15.1.1 - '@next/swc-linux-arm64-gnu': 15.1.1 - '@next/swc-linux-arm64-musl': 15.1.1 - '@next/swc-linux-x64-gnu': 15.1.1 - '@next/swc-linux-x64-musl': 15.1.1 - '@next/swc-win32-arm64-msvc': 15.1.1 - '@next/swc-win32-x64-msvc': 15.1.1 + '@next/swc-darwin-arm64': 15.1.7 + '@next/swc-darwin-x64': 15.1.7 + '@next/swc-linux-arm64-gnu': 15.1.7 + '@next/swc-linux-arm64-musl': 15.1.7 + '@next/swc-linux-x64-gnu': 15.1.7 + '@next/swc-linux-x64-musl': 15.1.7 + '@next/swc-win32-arm64-msvc': 15.1.7 + '@next/swc-win32-x64-msvc': 15.1.7 '@playwright/test': 1.46.1 sharp: 0.33.5 transitivePeerDependencies: @@ -7371,12 +7371,12 @@ snapshots: dependencies: path-key: 3.1.1 - nuqs@2.2.3(next@15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): + nuqs@2.2.3(next@15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): dependencies: mitt: 3.0.1 react: 19.0.0 optionalDependencies: - next: 15.1.1(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + next: 15.1.7(@babel/core@7.24.5)(@playwright/test@1.46.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) nwsapi@2.2.12: {} @@ -7555,8 +7555,8 @@ snapshots: postcss@8.4.31: dependencies: nanoid: 3.3.7 - picocolors: 1.0.1 - source-map-js: 1.2.0 + picocolors: 1.1.1 + source-map-js: 1.2.1 postcss@8.4.49: dependencies: @@ -8220,7 +8220,7 @@ snapshots: dependencies: browserslist: 4.23.3 escalade: 3.1.2 - picocolors: 1.0.1 + picocolors: 1.1.1 update-browserslist-db@1.1.1(browserslist@4.24.3): dependencies: diff --git a/tsconfig.json b/tsconfig.json index 4906cce..c6a7dc1 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,27 +6,25 @@ "allowJs": true, "skipLibCheck": true, "strict": true, - "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, - "noUncheckedIndexedAccess": true, + "plugins": [ + { + "name": "next" + } + ], "paths": { "@/*": ["./src/*"], "@design-system/*": ["./src/@design-system/*"], "#/state/*": ["./src/state/*"], "~/pkg": ["./package.json"] - }, - "plugins": [ - { - "name": "next" - } - ] + } }, "include": ["i18n.d.ts", "**/*.mjs", "next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"]