4
0
forked from crowetic/commerce

Upgrade to canary and fix static build

This commit is contained in:
Malte Ubl 2024-02-04 16:57:55 -08:00
parent 47a1c3eea1
commit 0c3283f591
4 changed files with 41 additions and 39 deletions

View File

@ -2,8 +2,8 @@
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true,
"source.sortMembers": true
"source.fixAll": "explicit",
"source.organizeImports": "explicit",
"source.sortMembers": "explicit"
}
}

View File

@ -35,7 +35,9 @@ export default async function RootLayout({ children }: { children: ReactNode })
return (
<html lang="en" className={GeistSans.variable}>
<body className="bg-neutral-50 text-black selection:bg-teal-300 dark:bg-neutral-900 dark:text-white dark:selection:bg-pink-500 dark:selection:text-white">
<Navbar />
<Suspense>
<Navbar />
</Suspense>
<Suspense>
<main>{children}</main>
</Suspense>

View File

@ -27,7 +27,7 @@
"ai": "^2.2.33",
"clsx": "^2.0.0",
"geist": "^1.0.0",
"next": "14.1.0",
"next": "14.1.1-canary.27",
"openai": "^4.26.0",
"react": "18.2.0",
"react-dom": "18.2.0"

68
pnpm-lock.yaml generated
View File

@ -21,8 +21,8 @@ dependencies:
specifier: ^1.0.0
version: 1.0.0
next:
specifier: 14.1.0
version: 14.1.0(react-dom@18.2.0)(react@18.2.0)
specifier: 14.1.1-canary.27
version: 14.1.1-canary.27(react-dom@18.2.0)(react@18.2.0)
openai:
specifier: ^4.26.0
version: 4.26.0
@ -258,8 +258,8 @@ packages:
'@jridgewell/resolve-uri': 3.1.1
'@jridgewell/sourcemap-codec': 1.4.15
/@next/env@14.1.0:
resolution: {integrity: sha512-Py8zIo+02ht82brwwhTg36iogzFqGLPXlRGKQw5s+qP/kMNc4MAyDeEwBKDijk6zTIbegEgu8Qy7C1LboslQAw==}
/@next/env@14.1.1-canary.27:
resolution: {integrity: sha512-v6FRSD3aZ1lf9sLAaGBlvGccffSRx3NhbANdFO2yrj6TVdFkAOvemhwL6GBZ2V+2MlAbTqWtVW7oJie+GgQWoA==}
dev: false
/@next/eslint-plugin-next@14.0.0:
@ -272,8 +272,8 @@ packages:
resolution: {integrity: sha512-urmUq05uCVJsBqAAJEV+xK5OTTodrSxdiG+351SOSjlWctywdBM6qX+K9pIe3K48RxjfnxlBbXjGyOJAji+pfw==}
dev: false
/@next/swc-darwin-arm64@14.1.0:
resolution: {integrity: sha512-nUDn7TOGcIeyQni6lZHfzNoo9S0euXnu0jhsbMOmMJUBfgsnESdjN97kM7cBqQxZa8L/bM9om/S5/1dzCrW6wQ==}
/@next/swc-darwin-arm64@14.1.1-canary.27:
resolution: {integrity: sha512-9E38as2/pXDXiNILNESv8jyajghyBzQ4Vki9V2cMD2o48pfC97ZuewCZmV5pYkoAqY9iC2jHsWodyypNwHlS4w==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@ -281,8 +281,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64@14.1.0:
resolution: {integrity: sha512-1jgudN5haWxiAl3O1ljUS2GfupPmcftu2RYJqZiMJmmbBT5M1XDffjUtRUzP4W3cBHsrvkfOFdQ71hAreNQP6g==}
/@next/swc-darwin-x64@14.1.1-canary.27:
resolution: {integrity: sha512-BQ7p8U3N+Zijh5oWfUDKoyTurw38jSUFs38K9vAoE3EZQJB+WFtHkS5X01K50YwacdgryjTlje5Bxf9PrqCvVA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@ -290,8 +290,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu@14.1.0:
resolution: {integrity: sha512-RHo7Tcj+jllXUbK7xk2NyIDod3YcCPDZxj1WLIYxd709BQ7WuRYl3OWUNG+WUfqeQBds6kvZYlc42NJJTNi4tQ==}
/@next/swc-linux-arm64-gnu@14.1.1-canary.27:
resolution: {integrity: sha512-/kcfFxteFg52mtEbNMt1emKTSJaHx0t2FDCrZNsasrWEbsx3T8d3J3ROUNLRiLpvDCeYaTDZO1PU52TYfj50dA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -299,8 +299,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl@14.1.0:
resolution: {integrity: sha512-v6kP8sHYxjO8RwHmWMJSq7VZP2nYCkRVQ0qolh2l6xroe9QjbgV8siTbduED4u0hlk0+tjS6/Tuy4n5XCp+l6g==}
/@next/swc-linux-arm64-musl@14.1.1-canary.27:
resolution: {integrity: sha512-Liugqgu29KODzg+GiJLxDyDdT42v4WgzqjOr+Xq3jUv7v28IBfyx1MRPlOrOUFoD2jOr8XHo02JLBlURg/0oLA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -308,8 +308,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu@14.1.0:
resolution: {integrity: sha512-zJ2pnoFYB1F4vmEVlb/eSe+VH679zT1VdXlZKX+pE66grOgjmKJHKacf82g/sWE4MQ4Rk2FMBCRnX+l6/TVYzQ==}
/@next/swc-linux-x64-gnu@14.1.1-canary.27:
resolution: {integrity: sha512-rWEdjhteOKBNN5IgX/xq+nJgUoh1qlZU4IZkM5G1R90f/HzNG/uux7k3GLiunAEx3cBZCKwmHXMwyUd8QY4KcQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -317,8 +317,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl@14.1.0:
resolution: {integrity: sha512-rbaIYFt2X9YZBSbH/CwGAjbBG2/MrACCVu2X0+kSykHzHnYH5FjHxwXLkcoJ10cX0aWCEynpu+rP76x0914atg==}
/@next/swc-linux-x64-musl@14.1.1-canary.27:
resolution: {integrity: sha512-oXrh9UxTEoZI0kuiGcs2XHuI8VSdipBnIvZAAiOokY+GCkv163DgQh2IpKM/RlPso++m2a8Ch671pSWN8Zd4Iw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -326,8 +326,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc@14.1.0:
resolution: {integrity: sha512-o1N5TsYc8f/HpGt39OUQpQ9AKIGApd3QLueu7hXk//2xq5Z9OxmV6sQfNp8C7qYmiOlHYODOGqNNa0e9jvchGQ==}
/@next/swc-win32-arm64-msvc@14.1.1-canary.27:
resolution: {integrity: sha512-fQsn+Y66UpFeppIe6TDMjM9BfMUM8h7WKh+gA/zCKBBpWv6BEo0QZTOHtoVbwYlb3VwDQi9T8yT8Ad3dl7TP2g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@ -335,8 +335,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc@14.1.0:
resolution: {integrity: sha512-XXIuB1DBRCFwNO6EEzCTMHT5pauwaSj4SWs7CYnME57eaReAKBXCnkUE80p/pAZcewm7hs+vGvNqDPacEXHVkw==}
/@next/swc-win32-ia32-msvc@14.1.1-canary.27:
resolution: {integrity: sha512-iLdMJG8hzJ2+a+YTalqqhjl0vuX+VC9SBJMs0nPth3XiKvhmwWtwOqQU7PiK1Ea8OgIvJvF+o1GAq+P/SeC5jA==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@ -344,8 +344,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc@14.1.0:
resolution: {integrity: sha512-9WEbVRRAqJ3YFVqEZIxUqkiO8l1nool1LmNxygr5HWF8AcSYsEpneUDhmjUVJEzO2A04+oPtZdombzzPPkTtgg==}
/@next/swc-win32-x64-msvc@14.1.1-canary.27:
resolution: {integrity: sha512-EpIJEBSWVig3E82wnNkaLgwkw6HkZ4+x6x5YB2wurHQZJt9+jFLFJex3wt7rO9XJI8R5sn+kVHwF2g25BJUihQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -2531,8 +2531,8 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
/next@14.1.0(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-wlzrsbfeSU48YQBjZhDzOwhWhGsy+uQycR8bHAOt1LY1bn3zZEcDyHQOEoN3aWzQ8LHCAJ1nqrWCc9XF2+O45Q==}
/next@14.1.1-canary.27(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-DedZm3VgO4i4Owt6xVeSs6VbwspdxyEXPzCE+gWz7c3QJSBa/0J3hV+uPETeZ2YexdVvWYAj5YxJMNTfLTKTqw==}
engines: {node: '>=18.17.0'}
hasBin: true
peerDependencies:
@ -2546,7 +2546,7 @@ packages:
sass:
optional: true
dependencies:
'@next/env': 14.1.0
'@next/env': 14.1.1-canary.27
'@swc/helpers': 0.5.2
busboy: 1.6.0
caniuse-lite: 1.0.30001583
@ -2556,15 +2556,15 @@ packages:
react-dom: 18.2.0(react@18.2.0)
styled-jsx: 5.1.1(react@18.2.0)
optionalDependencies:
'@next/swc-darwin-arm64': 14.1.0
'@next/swc-darwin-x64': 14.1.0
'@next/swc-linux-arm64-gnu': 14.1.0
'@next/swc-linux-arm64-musl': 14.1.0
'@next/swc-linux-x64-gnu': 14.1.0
'@next/swc-linux-x64-musl': 14.1.0
'@next/swc-win32-arm64-msvc': 14.1.0
'@next/swc-win32-ia32-msvc': 14.1.0
'@next/swc-win32-x64-msvc': 14.1.0
'@next/swc-darwin-arm64': 14.1.1-canary.27
'@next/swc-darwin-x64': 14.1.1-canary.27
'@next/swc-linux-arm64-gnu': 14.1.1-canary.27
'@next/swc-linux-arm64-musl': 14.1.1-canary.27
'@next/swc-linux-x64-gnu': 14.1.1-canary.27
'@next/swc-linux-x64-musl': 14.1.1-canary.27
'@next/swc-win32-arm64-msvc': 14.1.1-canary.27
'@next/swc-win32-ia32-msvc': 14.1.1-canary.27
'@next/swc-win32-x64-msvc': 14.1.1-canary.27
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros