Compare commits

...

2 Commits

Author SHA1 Message Date
Thuc Pham c17351b727 Create curly-eyes-rest.md 2024-06-27 15:55:23 +07:00
Thuc Pham 61595ff7ea feat: upgrade to nextjs 15 2024-06-27 15:53:59 +07:00
4 changed files with 31 additions and 25 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"create-llama": patch
---
Upgrade to nextjs 15
@@ -2,7 +2,7 @@
"experimental": {
"outputFileTracingIncludes": {
"/*": ["./cache/**/*"]
},
"serverComponentsExternalPackages": ["sharp", "onnxruntime-node"]
}
}
},
"serverExternalPackages": ["sharp", "onnxruntime-node"]
}
+22 -22
View File
@@ -13,23 +13,23 @@
"@apidevtools/swagger-parser": "^10.1.0",
"@e2b/code-interpreter": "^0.0.5",
"@llamaindex/pdf-viewer": "^1.1.1",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-slot": "^1.0.2",
"ai": "^3.0.21",
"ajv": "^8.12.0",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"ai": "^3.2.11",
"ajv": "^8.16.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.3.1",
"dotenv": "^16.4.5",
"duck-duck-scrape": "^2.2.5",
"formdata-node": "^6.0.3",
"got": "^14.4.1",
"llamaindex": "0.4.3",
"lucide-react": "^0.294.0",
"next": "^14.2.4",
"next": "15.0.0-rc.0",
"pdf2json": "3.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-8971381549-20240625",
"react-dom": "19.0.0-rc-8971381549-20240625",
"react-markdown": "^8.0.7",
"react-syntax-highlighter": "^15.5.0",
"rehype-katex": "^7.0.0",
@@ -38,27 +38,27 @@
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"supports-color": "^8.1.1",
"tailwind-merge": "^2.1.0",
"tailwind-merge": "^2.3.0",
"tiktoken": "^1.0.15",
"uuid": "^9.0.1",
"vaul": "^0.9.1"
},
"devDependencies": {
"@types/node": "^20.10.3",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/react-syntax-highlighter": "^15.5.11",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/uuid": "^9.0.8",
"autoprefixer": "^10.4.16",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"eslint": "^8.55.0",
"eslint-config-next": "^14.2.4",
"eslint": "^8.57.0",
"eslint-config-next": "15.0.0-rc.0",
"eslint-config-prettier": "^8.10.0",
"postcss": "^8.4.32",
"prettier": "^3.2.5",
"postcss": "^8.4.38",
"prettier": "^3.3.2",
"prettier-plugin-organize-imports": "^3.2.4",
"tailwindcss": "^3.3.6",
"tsx": "^4.7.2",
"typescript": "^5.3.2"
"tailwindcss": "^3.4.4",
"tsx": "^4.15.7",
"typescript": "^5.5.2"
}
}
@@ -9,6 +9,7 @@ export default function webpack(config) {
config.externals.push({
"onnxruntime-node": "commonjs onnxruntime-node",
sharp: "commonjs sharp",
canvas: "commonjs canvas",
});
return config;