Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions typescript/.changeset/tangy-horses-lose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-onchain-agent": patch
---

Updated to next 16, react 19 and tailwind 4
17 changes: 11 additions & 6 deletions typescript/create-onchain-agent/templates/next/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";

body {
@apply bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@theme {
--font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
}

@layer base {
body {
@apply bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100;
font-family: var(--font-sans);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ const nextConfig = {
reactStrictMode: true,
};

module.exports = nextConfig;
export default nextConfig;
18 changes: 8 additions & 10 deletions typescript/create-onchain-agent/templates/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,19 @@
"@tanstack/react-query": "^5",
"ai": "^4.1.54",
"bs58": "^6.0.0",
"next": "15.5.3",
"react": "^18",
"react-dom": "^18",
"next": "^16.0.8",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-markdown": "^10.0.0",
"viem": "^2.24.1",
"wagmi": "^2.11.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "15.5.3",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"@types/react": "^19",
"@types/react-dom": "^19",
"tailwindcss": "^4.0.0",
"typescript": "^5.1.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
"@tailwindcss/postcss": {},
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ const config: Config = {
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ["DM Sans", "sans-serif"],
},
},
},
plugins: [],
};

export default config;
Loading