chore: bumps packages

This commit is contained in:
James 2024-03-10 22:52:41 -04:00
parent 86bf05f4d1
commit 3594aa9053
3 changed files with 66 additions and 142 deletions

View File

@ -1,84 +1,8 @@
/** @type {import('next').NextConfig} */ const withPayload = (nextConfig = {}) => {
return {
...nextConfig,
experimental: {
...(nextConfig?.experimental || {}),
outputFileTracingExcludes: {
'**/*': [
...(nextConfig.experimental?.outputFileTracingExcludes?.['**/*'] || []),
'drizzle-kit',
'drizzle-kit/payload',
'libsql',
],
},
serverComponentsExternalPackages: [
...(nextConfig?.experimental?.serverComponentsExternalPackages || []),
'drizzle-kit',
'drizzle-kit/payload',
'libsql',
'pino',
'pino-pretty',
],
},
webpack: (webpackConfig, webpackOptions) => {
const incomingWebpackConfig =
typeof nextConfig.webpack === 'function'
? nextConfig.webpack(webpackConfig, webpackOptions)
: webpackConfig
return {
...incomingWebpackConfig,
externals: [
...(incomingWebpackConfig?.externals || []),
'drizzle-kit',
'drizzle-kit/payload',
'sharp',
'libsql',
],
ignoreWarnings: [
...(incomingWebpackConfig?.ignoreWarnings || []),
{
module: /node_modules\/mongodb\/lib\/utils\.js/,
},
{
file: /node_modules\/mongodb\/lib\/utils\.js/,
},
{
module: /node_modules\/mongodb\/lib\/bson\.js/,
},
{
file: /node_modules\/mongodb\/lib\/bson\.js/,
},
],
resolve: {
...(incomingWebpackConfig?.resolve || {}),
alias: {
...(incomingWebpackConfig?.resolve?.alias || {}),
},
fallback: {
...(incomingWebpackConfig?.resolve?.fallback || {}),
'@aws-sdk/credential-providers': false,
'@mongodb-js/zstd': false,
aws4: false,
kerberos: false,
'mongodb-client-encryption': false,
snappy: false,
'supports-color': false,
'yocto-queue': false,
},
},
}
},
}
}
//# sourceMappingURL=withPayload.js.map
import withPayload from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
// experimental: {
// outputFileTracingIncludes: {
// pino: ['./node_modules/pino'],
// },
// },
// Your Next.js config here
}
export default withPayload(nextConfig)

View File

@ -12,16 +12,16 @@
"lint": "NODE_OPTIONS=--no-deprecation next lint"
},
"engines": {
"node": ">=18.17.0"
"node": ">=18.19.0"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.0.0-alpha.42",
"@payloadcms/db-postgres": "3.0.0-alpha.42",
"@payloadcms/next": "3.0.0-alpha.42",
"@payloadcms/richtext-lexical": "3.0.0-alpha.42",
"@payloadcms/richtext-slate": "3.0.0-alpha.42",
"@payloadcms/db-mongodb": "3.0.0-alpha.44",
"@payloadcms/db-postgres": "3.0.0-alpha.44",
"@payloadcms/next": "3.0.0-alpha.44",
"@payloadcms/richtext-lexical": "3.0.0-alpha.44",
"@payloadcms/richtext-slate": "3.0.0-alpha.44",
"next": "14.2.0-canary.10",
"payload": "3.0.0-alpha.42",
"payload": "3.0.0-alpha.44",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sharp": "0.32.6"

View File

@ -6,26 +6,26 @@ settings:
dependencies:
'@payloadcms/db-mongodb':
specifier: 3.0.0-alpha.42
version: 3.0.0-alpha.42(payload@3.0.0-alpha.42)
specifier: 3.0.0-alpha.44
version: 3.0.0-alpha.44(payload@3.0.0-alpha.44)
'@payloadcms/db-postgres':
specifier: 3.0.0-alpha.42
version: 3.0.0-alpha.42(@types/react@18.2.64)(payload@3.0.0-alpha.42)(react@18.2.0)
specifier: 3.0.0-alpha.44
version: 3.0.0-alpha.44(@types/react@18.2.64)(payload@3.0.0-alpha.44)(react@18.2.0)
'@payloadcms/next':
specifier: 3.0.0-alpha.42
version: 3.0.0-alpha.42(@types/react@18.2.64)(http-status@1.6.2)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.42)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
specifier: 3.0.0-alpha.44
version: 3.0.0-alpha.44(@types/react@18.2.64)(http-status@1.6.2)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.44)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
'@payloadcms/richtext-lexical':
specifier: 3.0.0-alpha.42
version: 3.0.0-alpha.42(@lexical/clipboard@0.13.1)(@payloadcms/translations@3.0.0-alpha.42)(@payloadcms/ui@3.0.0-alpha.42)(payload@3.0.0-alpha.42)(typescript@5.4.2)(yjs@13.6.14)
specifier: 3.0.0-alpha.44
version: 3.0.0-alpha.44(@lexical/clipboard@0.13.1)(@payloadcms/translations@3.0.0-alpha.44)(@payloadcms/ui@3.0.0-alpha.44)(payload@3.0.0-alpha.44)(typescript@5.4.2)(yjs@13.6.14)
'@payloadcms/richtext-slate':
specifier: 3.0.0-alpha.42
version: 3.0.0-alpha.42(@payloadcms/translations@3.0.0-alpha.42)(@payloadcms/ui@3.0.0-alpha.42)(payload@3.0.0-alpha.42)(react-dom@18.2.0)
specifier: 3.0.0-alpha.44
version: 3.0.0-alpha.44(@payloadcms/translations@3.0.0-alpha.44)(@payloadcms/ui@3.0.0-alpha.44)(payload@3.0.0-alpha.44)(react-dom@18.2.0)
next:
specifier: 14.2.0-canary.10
version: 14.2.0-canary.10(react-dom@18.2.0)(react@18.2.0)
payload:
specifier: 3.0.0-alpha.42
version: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
specifier: 3.0.0-alpha.44
version: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
react:
specifier: ^18.2.0
version: 18.2.0
@ -1920,10 +1920,10 @@ packages:
fastq: 1.17.1
dev: true
/@payloadcms/db-mongodb@3.0.0-alpha.42(payload@3.0.0-alpha.42):
resolution: {integrity: sha512-GvIVprEmuLOIH98YdP3R0A9PBFMvJkkcUUQhwltLKkWOsl2dbAbiyRfFYCQuNlXahoQrf+da1yFeOOmbGgNiRQ==}
/@payloadcms/db-mongodb@3.0.0-alpha.44(payload@3.0.0-alpha.44):
resolution: {integrity: sha512-Fq1jogIsNMPg8aG1csSkcpEirmf0bl0HyrKSV8WP91LFkTAbZoa+6Ca4fN2X/ZS3w5Cfhs0lwp8lg7ReDna5zg==}
peerDependencies:
payload: 3.0.0-alpha.42
payload: 3.0.0-alpha.44
dependencies:
bson-objectid: 2.0.4
deepmerge: 4.3.1
@ -1932,7 +1932,7 @@ packages:
mongoose: 6.12.3
mongoose-aggregate-paginate-v2: 1.0.6
mongoose-paginate-v2: 1.7.22
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
prompts: 2.4.2
uuid: 9.0.0
transitivePeerDependencies:
@ -1940,16 +1940,16 @@ packages:
- supports-color
dev: false
/@payloadcms/db-postgres@3.0.0-alpha.42(@types/react@18.2.64)(payload@3.0.0-alpha.42)(react@18.2.0):
resolution: {integrity: sha512-JsvHxHCQH1Pn+T/EbdKnbQeaMSIpXk4EEg97PG4SHWXZBouDnwSPHQwm7I8DDz1mSmUqwNBX2zQKr8yRCkLuXg==}
/@payloadcms/db-postgres@3.0.0-alpha.44(@types/react@18.2.64)(payload@3.0.0-alpha.44)(react@18.2.0):
resolution: {integrity: sha512-4c05Pv0qPYMe36GY+tZthHyEAQlWj/5M+rt58H/XLUlNjrhRfPFxlj5Fg3dm1ac/UQlEcajQCpvFysnVl2qS0w==}
peerDependencies:
payload: 3.0.0-alpha.42
payload: 3.0.0-alpha.44
dependencies:
'@libsql/client': 0.5.3
console-table-printer: 2.11.2
drizzle-kit: 0.20.14-1f2c838
drizzle-orm: 0.29.4(@libsql/client@0.5.3)(@types/react@18.2.64)(pg@8.11.3)(react@18.2.0)
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
pg: 8.11.3
prompts: 2.4.2
to-snake-case: 1.0.0
@ -1982,10 +1982,10 @@ packages:
- utf-8-validate
dev: false
/@payloadcms/graphql@3.0.0-alpha.42(payload@3.0.0-alpha.42):
resolution: {integrity: sha512-3XOJiFlIYsqM4bHeCM3yavrv/mB6EQTx1gtbnYvKY6N09KxUTMsoy1ofMhClUHo1b4BnhENtzYHIYaZc7uksBw==}
/@payloadcms/graphql@3.0.0-alpha.44(payload@3.0.0-alpha.44):
resolution: {integrity: sha512-3iiZJwnAhQzW4r2tl2CevCbZZkWlL0RqB5eyduYiY7EIv5SbCgMmk+3hioE6YkX/aG/fmWt/LvTZkSL08HPlyQ==}
peerDependencies:
payload: 3.0.0-alpha.42
payload: 3.0.0-alpha.44
dependencies:
graphql: 16.8.1
graphql-http: 1.22.0(graphql@16.8.1)
@ -1993,23 +1993,23 @@ packages:
graphql-query-complexity: 0.12.0(graphql@16.8.1)
graphql-scalars: 1.22.2(graphql@16.8.1)
graphql-type-json: 0.3.2(graphql@16.8.1)
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
pluralize: 8.0.0
dev: false
/@payloadcms/next@3.0.0-alpha.42(@types/react@18.2.64)(http-status@1.6.2)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.42)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0):
resolution: {integrity: sha512-fYhZ9flNS6axW4OlhHm0lwszxyNNWcOsck1G1AsL0bBrmZAA95VsIPYMwYv9KDas6Tv9gRqlvdUUeN1AXoptBA==}
/@payloadcms/next@3.0.0-alpha.44(@types/react@18.2.64)(http-status@1.6.2)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.44)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0):
resolution: {integrity: sha512-lxi4TcNiDb48m6sAo+s6EPBN+ak0bXM+1rsUbTsmBbIuZnDr0YE0bWMmeR9Ho58/JQeP2bH3JkQu9nmaUNjU6Q==}
engines: {node: '>=18.17.0'}
hasBin: true
peerDependencies:
http-status: 1.6.2
next: 14.2.0-canary.7
payload: 3.0.0-alpha.42
payload: 3.0.0-alpha.44
dependencies:
'@dnd-kit/core': 6.0.8(react-dom@18.2.0)(react@18.2.0)
'@payloadcms/graphql': 3.0.0-alpha.42(payload@3.0.0-alpha.42)
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/ui': 3.0.0-alpha.42(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.42)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
'@payloadcms/graphql': 3.0.0-alpha.44(payload@3.0.0-alpha.44)
'@payloadcms/translations': 3.0.0-alpha.44
'@payloadcms/ui': 3.0.0-alpha.44(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.44)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
'@types/busboy': 1.5.3
busboy: 1.6.0
deep-equal: 2.2.2
@ -2019,7 +2019,7 @@ packages:
http-status: 1.6.2
next: 14.2.0-canary.10(react-dom@18.2.0)(react@18.2.0)
path-to-regexp: 6.2.1
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
qs: 6.11.2
react-diff-viewer-continued: 3.2.6(react-dom@18.2.0)(react@18.2.0)
react-toastify: 8.2.0(react-dom@18.2.0)(react@18.2.0)
@ -2036,13 +2036,13 @@ packages:
- utf-8-validate
dev: false
/@payloadcms/richtext-lexical@3.0.0-alpha.42(@lexical/clipboard@0.13.1)(@payloadcms/translations@3.0.0-alpha.42)(@payloadcms/ui@3.0.0-alpha.42)(payload@3.0.0-alpha.42)(typescript@5.4.2)(yjs@13.6.14):
resolution: {integrity: sha512-lAva+GVgdVWNmtYdWgTIOh3vxfxurrk9l5MwiDuMPXFpyq3pbmhTAR+66VFz+nvYN1l954X+4qxILJXzEUEiqg==}
/@payloadcms/richtext-lexical@3.0.0-alpha.44(@lexical/clipboard@0.13.1)(@payloadcms/translations@3.0.0-alpha.44)(@payloadcms/ui@3.0.0-alpha.44)(payload@3.0.0-alpha.44)(typescript@5.4.2)(yjs@13.6.14):
resolution: {integrity: sha512-XV4A+PoKtPJVdCbfjbX6DCDcvhoTvZVF8HdeZt+TFbo44dq5DHOXoQ/qJZHZml8zSzGvNxdCcKJ9lzH9ZYikuQ==}
engines: {node: '>=18.17.0'}
peerDependencies:
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/ui': 3.0.0-alpha.42
payload: 3.0.0-alpha.42
'@payloadcms/translations': 3.0.0-alpha.44
'@payloadcms/ui': 3.0.0-alpha.44
payload: 3.0.0-alpha.44
dependencies:
'@faceless-ui/modal': 2.0.2(react-dom@18.2.0)(react@18.2.0)
'@lexical/headless': 0.13.1(lexical@0.13.1)
@ -2054,15 +2054,15 @@ packages:
'@lexical/rich-text': 0.13.1(@lexical/clipboard@0.13.1)(@lexical/selection@0.13.1)(@lexical/utils@0.13.1)(lexical@0.13.1)
'@lexical/selection': 0.13.1(lexical@0.13.1)
'@lexical/utils': 0.13.1(lexical@0.13.1)
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/ui': 3.0.0-alpha.42(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.42)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
'@payloadcms/translations': 3.0.0-alpha.44
'@payloadcms/ui': 3.0.0-alpha.44(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.44)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
bson-objectid: 2.0.4
classnames: 2.5.1
deep-equal: 2.2.3
json-schema: 0.4.0
lexical: 0.13.1
lodash: 4.17.21
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
react-error-boundary: 4.0.12(react@18.2.0)
@ -2073,19 +2073,19 @@ packages:
- yjs
dev: false
/@payloadcms/richtext-slate@3.0.0-alpha.42(@payloadcms/translations@3.0.0-alpha.42)(@payloadcms/ui@3.0.0-alpha.42)(payload@3.0.0-alpha.42)(react-dom@18.2.0):
resolution: {integrity: sha512-Oc7hrXzdKeqi6urK7bIJuc3TQIlL8u9jQkCoVpENp+G2NCloIc7Dtz1xtgYyNa31LN49g3JGDCZORONjSMUQ5w==}
/@payloadcms/richtext-slate@3.0.0-alpha.44(@payloadcms/translations@3.0.0-alpha.44)(@payloadcms/ui@3.0.0-alpha.44)(payload@3.0.0-alpha.44)(react-dom@18.2.0):
resolution: {integrity: sha512-405RdFNC6BqMEpmLUktiVemjwav/Dq5jtm+Xtn0CD3qo/gJiT2VrsdDHYO776ytmSFEbsFC6vKcM6P1sUvTMYg==}
engines: {node: '>=18.17.0'}
peerDependencies:
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/ui': 3.0.0-alpha.42
payload: 3.0.0-alpha.42
'@payloadcms/translations': 3.0.0-alpha.44
'@payloadcms/ui': 3.0.0-alpha.44
payload: 3.0.0-alpha.44
dependencies:
'@faceless-ui/modal': 2.0.2(react-dom@18.2.0)(react@18.2.0)
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/ui': 3.0.0-alpha.42(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.42)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
'@payloadcms/translations': 3.0.0-alpha.44
'@payloadcms/ui': 3.0.0-alpha.44(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.44)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)
is-hotkey: 0.2.0
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
react: 18.2.0
slate: 0.91.4
slate-history: 0.86.0(slate@0.91.4)
@ -2095,16 +2095,16 @@ packages:
- react-dom
dev: false
/@payloadcms/translations@3.0.0-alpha.42:
resolution: {integrity: sha512-OsxqrlUSYcx6zfHMLpXCf+8qp/wHAwSmWn/ILJv3anFZuOyOiyg0F0grGRAoGKla1uDsMslyorQP08+oXTQ6Xg==}
/@payloadcms/translations@3.0.0-alpha.44:
resolution: {integrity: sha512-4uO/LqKFUSUuAl79L1sKAEoLQRm2RZEU7lIbfUxSMxLsSx3i/PAB7hBNTRzzsKBDr9T0KTiIoR3555h83fi55A==}
dev: false
/@payloadcms/ui@3.0.0-alpha.42(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.42)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0):
resolution: {integrity: sha512-dajDd6bQrz+jzIrwl2ALlG2iVopYibE0C+BzTjHZBCZvyu4H9J1PdHn6tgJ/qnzg/0bXijW4BXLWuqxi+PBSiA==}
/@payloadcms/ui@3.0.0-alpha.44(@types/react@18.2.64)(monaco-editor@0.47.0)(next@14.2.0-canary.10)(payload@3.0.0-alpha.44)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0):
resolution: {integrity: sha512-pq/pDyWwQ6RwqNomWDkXAae1mqshTD1kHFMovUnWYu0zH2q/uF0wsburZzuIvDLU+e7RiWU7YBQlSAqc1VflDA==}
engines: {node: '>=18.17.0'}
peerDependencies:
next: 14.2.0-canary.7
payload: 3.0.0-alpha.42
payload: 3.0.0-alpha.44
react: ^18.0.0
dependencies:
'@dnd-kit/core': 6.0.8(react-dom@18.2.0)(react@18.2.0)
@ -2113,7 +2113,7 @@ packages:
'@faceless-ui/scroll-info': 1.3.0(react-dom@18.2.0)(react@18.2.0)
'@faceless-ui/window-info': 2.1.2(react-dom@18.2.0)(react@18.2.0)
'@monaco-editor/react': 4.5.1(monaco-editor@0.47.0)(react-dom@18.2.0)(react@18.2.0)
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/translations': 3.0.0-alpha.44
body-scroll-lock: 4.0.0-beta.0
bson-objectid: 2.0.4
date-fns: 3.3.1
@ -2122,7 +2122,7 @@ packages:
md5: 2.3.0
next: 14.2.0-canary.10(react-dom@18.2.0)(react@18.2.0)
object-to-formdata: 4.5.1
payload: 3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5)
payload: 3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5)
qs: 6.11.2
react: 18.2.0
react-animate-height: 2.1.2(react-dom@18.2.0)(react@18.2.0)
@ -5971,12 +5971,12 @@ packages:
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
/payload@3.0.0-alpha.42(@swc/core@1.4.6)(@swc/types@0.1.5):
resolution: {integrity: sha512-sVTRc/DxLFOCcKJRA+mzWk4SGyW8hycr+xJ5Ux/XLHndHWoqt7tKv/5b3tNJ0gILLnqkLjuMtHNJjq9TAgC3Lg==}
/payload@3.0.0-alpha.44(@swc/core@1.4.6)(@swc/types@0.1.5):
resolution: {integrity: sha512-YucbjYXOXbBi7/+lNb4UUxywm3UIFPa8Va+QSSCPNnPr18T9vNOYyQrUrF9O4GSVzj9vTtLDwIwgToF2JafnTQ==}
engines: {node: '>=18.17.0'}
hasBin: true
dependencies:
'@payloadcms/translations': 3.0.0-alpha.42
'@payloadcms/translations': 3.0.0-alpha.44
'@swc-node/core': 1.13.0(@swc/core@1.4.6)(@swc/types@0.1.5)
'@swc-node/sourcemap-support': 0.5.0
bson-objectid: 2.0.4