diff --git a/next.config.js b/next.config.js index 3ad25ee..9c79b47 100644 --- a/next.config.js +++ b/next.config.js @@ -5,6 +5,16 @@ const { withSentryConfig } = require("@sentry/nextjs"); const moduleExports = { reactStrictMode: true, swcMinify: true, + transpilePackages: [ + "antd", + "rc-util", + "@ant-design/icons", + "@ant-design/icons-svg", + "rc-pagination", + "rc-picker", + "rc-tree", + "rc-table", + ], }; const sentryWebpackPluginOptions = { diff --git a/package.json b/package.json index fa7e38e..8ffd08a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "mobx": "^6.12.0", "mobx-react-lite": "^4.0.5", "moment": "^2.29.4", - "next": "^13.4.1", + "next": "^14.1.0", "nookies": "^2.5.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/yarn.lock b/yarn.lock index 54ab69a..1af028e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27,7 +27,7 @@ __metadata: mobx: "npm:^6.12.0" mobx-react-lite: "npm:^4.0.5" moment: "npm:^2.29.4" - next: "npm:^13.4.1" + next: "npm:^14.1.0" nookies: "npm:^2.5.2" prettier: "npm:^3.2.5" react: "npm:^18.2.0" @@ -960,10 +960,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.4.1": - version: 13.4.1 - resolution: "@next/env@npm:13.4.1" - checksum: 10c0/2e0810eec4ef8c606b97f6cd5b9358ea443f9ff89dbcdf12bf3396d48d0b6504548d4bb178b2e1dc514effab16ecb50954068b3b4cbf2b6382c439e4b5de3623 +"@next/env@npm:14.1.0": + version: 14.1.0 + resolution: "@next/env@npm:14.1.0" + checksum: 10c0/f45ce1e3dad87cdbddc58b06bd411f44a6d21dfc2c344d02a5e1b07f56fbc9a39e192c0b0917df9f2e9e4e2156306a8c78f173ca4b53932c2793e67797462a23 languageName: node linkType: hard @@ -976,65 +976,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-darwin-arm64@npm:13.4.1" +"@next/swc-darwin-arm64@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-darwin-arm64@npm:14.1.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-darwin-x64@npm:13.4.1" +"@next/swc-darwin-x64@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-darwin-x64@npm:14.1.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-linux-arm64-gnu@npm:13.4.1" +"@next/swc-linux-arm64-gnu@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-linux-arm64-gnu@npm:14.1.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-linux-arm64-musl@npm:13.4.1" +"@next/swc-linux-arm64-musl@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-linux-arm64-musl@npm:14.1.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-linux-x64-gnu@npm:13.4.1" +"@next/swc-linux-x64-gnu@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-linux-x64-gnu@npm:14.1.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-linux-x64-musl@npm:13.4.1" +"@next/swc-linux-x64-musl@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-linux-x64-musl@npm:14.1.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-win32-arm64-msvc@npm:13.4.1" +"@next/swc-win32-arm64-msvc@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-win32-arm64-msvc@npm:14.1.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-win32-ia32-msvc@npm:13.4.1" +"@next/swc-win32-ia32-msvc@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-win32-ia32-msvc@npm:14.1.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.4.1": - version: 13.4.1 - resolution: "@next/swc-win32-x64-msvc@npm:13.4.1" +"@next/swc-win32-x64-msvc@npm:14.1.0": + version: 14.1.0 + resolution: "@next/swc-win32-x64-msvc@npm:14.1.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1524,12 +1524,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: "npm:^2.4.0" - checksum: 10c0/2e2272c8278351670e1daf27cc634ace793afb378dcc85be2800d30a7b4d3afad37707371ead2a6d96662fa30294da678d66cdc4dc7f3e698bd8e111235c60fc + checksum: 10c0/b6fa49bcf6c00571d0eb7837b163f8609960d4d77538160585e27ed167361e9776bd6e5eb9646ffac2fb4d43c58df9ca50dab9d96ab097e6591bc82a75fd1164 languageName: node linkType: hard @@ -2482,7 +2482,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001406": +"caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001579": version: 1.0.30001584 resolution: "caniuse-lite@npm:1.0.30001584" checksum: 10c0/9f353d7b14ea218bf90f9aa908947be1119f3744bb4080aeef59dd2fbca2ca663a6eecad29deba41f7d02ef9f516240353809f31208396a1ec9824b515467d87 @@ -3930,7 +3930,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -5542,12 +5542,12 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4": - version: 3.3.4 - resolution: "nanoid@npm:3.3.4" +"nanoid@npm:^3.3.6": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" bin: nanoid: bin/nanoid.cjs - checksum: 10c0/a0747d5c6021828fe8d38334e5afb05d3268d7d4b06024058ec894ccc47070e4e81d268a6b75488d2ff3485fa79a75c251d4b7c6f31051bb54bb662b6fd2a27d + checksum: 10c0/e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3 languageName: node linkType: hard @@ -5565,30 +5565,28 @@ __metadata: languageName: node linkType: hard -"next@npm:^13.4.1": - version: 13.4.1 - resolution: "next@npm:13.4.1" - dependencies: - "@next/env": "npm:13.4.1" - "@next/swc-darwin-arm64": "npm:13.4.1" - "@next/swc-darwin-x64": "npm:13.4.1" - "@next/swc-linux-arm64-gnu": "npm:13.4.1" - "@next/swc-linux-arm64-musl": "npm:13.4.1" - "@next/swc-linux-x64-gnu": "npm:13.4.1" - "@next/swc-linux-x64-musl": "npm:13.4.1" - "@next/swc-win32-arm64-msvc": "npm:13.4.1" - "@next/swc-win32-ia32-msvc": "npm:13.4.1" - "@next/swc-win32-x64-msvc": "npm:13.4.1" - "@swc/helpers": "npm:0.5.1" +"next@npm:^14.1.0": + version: 14.1.0 + resolution: "next@npm:14.1.0" + dependencies: + "@next/env": "npm:14.1.0" + "@next/swc-darwin-arm64": "npm:14.1.0" + "@next/swc-darwin-x64": "npm:14.1.0" + "@next/swc-linux-arm64-gnu": "npm:14.1.0" + "@next/swc-linux-arm64-musl": "npm:14.1.0" + "@next/swc-linux-x64-gnu": "npm:14.1.0" + "@next/swc-linux-x64-musl": "npm:14.1.0" + "@next/swc-win32-arm64-msvc": "npm:14.1.0" + "@next/swc-win32-ia32-msvc": "npm:14.1.0" + "@next/swc-win32-x64-msvc": "npm:14.1.0" + "@swc/helpers": "npm:0.5.2" busboy: "npm:1.6.0" - caniuse-lite: "npm:^1.0.30001406" - postcss: "npm:8.4.14" + caniuse-lite: "npm:^1.0.30001579" + graceful-fs: "npm:^4.2.11" + postcss: "npm:8.4.31" styled-jsx: "npm:5.1.1" - zod: "npm:3.21.4" peerDependencies: "@opentelemetry/api": ^1.1.0 - fibers: ">= 3.1.0" - node-sass: ^6.0.0 || ^7.0.0 react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -5614,15 +5612,11 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true - fibers: - optional: true - node-sass: - optional: true sass: optional: true bin: next: dist/bin/next - checksum: 10c0/6d3ca1d6ee509ce6c910d7fcb15eec729801a9dc966183b9368a53f47c13b1101781301f42046dcd422bcd65d492205b09709f723ec637ad57c264c64bff9a20 + checksum: 10c0/dbb1ef8d22eec29a9127d28ed46eb34f14e3f7f7b4e4b91dc96027feb4d9ead554a804275484d9a54026e6e55d632d3997561e598c1fb8e8956e77614f39765f languageName: node linkType: hard @@ -6070,14 +6064,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: - nanoid: "npm:^3.3.4" + nanoid: "npm:^3.3.6" picocolors: "npm:^1.0.0" source-map-js: "npm:^1.0.2" - checksum: 10c0/2a4cfa28e2f1bfd358313501f7771bd596e494487c7b735c492e2f8b1faf493d24fcb43e2e6ad825863fc65a77abb949ca8f228602ae46a022f02dc812c4ac8b + checksum: 10c0/748b82e6e5fc34034dcf2ae88ea3d11fd09f69b6c50ecdd3b4a875cfc7cdca435c958b211e2cb52355422ab6fccb7d8f2f2923161d7a1b281029e4a913d59acf languageName: node linkType: hard @@ -8144,10 +8138,3 @@ __metadata: checksum: 10c0/dceb44c28578b31641e13695d200d34ec4ab3966a5729814d5445b194933c096b7ced71494ce53a0e8820685d1d010df8b2422e5bf2cdea7e469d97ffbea306f languageName: node linkType: hard - -"zod@npm:3.21.4": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: 10c0/161e8cf7aea38a99244d65da4a9477d9d966f6a533e503feaa20ff7968a9691065c38c6f1eab5cbbdc8374142fff4a05c9cacb8479803ab50ab6a6ca80e5d624 - languageName: node - linkType: hard