Skip to content

Commit a0e4136

Browse files
authored
Merge pull request #525 from DefangLabs/kevin/newMastra
Update Mastra Sample
2 parents 3ae246a + 2f678d5 commit a0e4136

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4820
-5152
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The [PostgreSQL database connection string](https://www.postgresql.org/docs/curr
5454

5555
### `DB_SSL`
5656

57-
Set to `true` to enable SSL. Set to `false` to disable SSL. (Can be set directly in the Docker Compose file.)
57+
Set to `true` to enable SSL. Set to `false` to disable SSL, which is used for Defang Playground. (Can be set directly in the Docker Compose file.)
5858

5959
### `GITHUB_TOKEN` (Optional)
6060

app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apk add --no-cache curl
66
WORKDIR /app
77

88
# Install dependencies based on the preferred package manager
9-
COPY package.json package-lock.json* pnpm-lock.yaml* .npmrc* ./
9+
COPY package.json pnpm-lock.yaml* .npmrc* ./
1010

1111
RUN corepack enable pnpm && pnpm install --frozen-lockfile --prefer-offline
1212

app/drizzle.config.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/memory-vector.db

Whitespace-only changes.

app/next.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { NextConfig } from "next";
22

3-
const nextConfig: NextConfig = {};
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
};
46

57
export default nextConfig;

app/package.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,44 @@
22
"name": "repo-base",
33
"version": "0.1.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"dev": "next dev --turbopack",
78
"build": "next build",
89
"start": "next start",
910
"lint": "next lint"
1011
},
1112
"dependencies": {
12-
"@ai-sdk/google": "^1.1.11",
13-
"@assistant-ui/react": "^0.7.77",
14-
"@assistant-ui/react-ai-sdk": "^0.7.15",
15-
"@assistant-ui/react-markdown": "^0.7.20",
16-
"@mastra/core": "0.2.0-alpha.99",
17-
"@mastra/memory": "0.1.0-alpha.85",
18-
"@mastra/pg": "0.1.0-alpha.13",
13+
"@assistant-ui/react": "^0.11.39",
14+
"@assistant-ui/react-ai-sdk": "^1.1.11",
15+
"@assistant-ui/react-markdown": "^0.11.4",
16+
"@mastra/ai-sdk": "^0.2.7",
17+
"@mastra/core": "^0.24.1",
18+
"@mastra/memory": "^0.15.11",
19+
"@mastra/pg": "^0.17.8",
1920
"@radix-ui/react-avatar": "^1.1.3",
2021
"@radix-ui/react-dialog": "^1.1.6",
2122
"@radix-ui/react-label": "^2.1.2",
2223
"@radix-ui/react-separator": "^1.1.2",
2324
"@radix-ui/react-slot": "^1.1.2",
2425
"@radix-ui/react-tooltip": "^1.1.8",
2526
"@tailwindcss/postcss": "^4.0.6",
26-
"ai": "^4.1.34",
27+
"ai": "^5.0.95",
2728
"class-variance-authority": "^0.7.1",
2829
"clsx": "^2.1.1",
2930
"dotenv": "^16.4.7",
30-
"drizzle-orm": "^0.39.3",
3131
"lucide-react": "^0.475.0",
32-
"next": "15.1.7",
32+
"next": "^16.0.3",
3333
"next-safe-action": "^7.10.3",
3434
"next-themes": "^0.4.4",
35-
"octokit": "^4.1.1",
35+
"octokit": "^5.0.5",
3636
"react": "^19.0.0",
3737
"react-dom": "^19.0.0",
3838
"recharts": "^2.15.1",
3939
"remark-gfm": "^4.0.1",
4040
"tailwind-merge": "^3.0.1",
4141
"tailwindcss-animate": "^1.0.7",
42-
"zod": "^3.24.2"
42+
"zod": "^4.1.12"
4343
},
4444
"overrides": {
4545
"react-is": "^19.0.0"
@@ -51,12 +51,11 @@
5151
"@types/pg": "^8.11.11",
5252
"@types/react": "^19",
5353
"@types/react-dom": "^19",
54-
"drizzle-kit": "^0.30.4",
5554
"eslint": "^9",
5655
"eslint-config-next": "15.1.7",
5756
"import-in-the-middle": "^1.13.0",
5857
"libsql": "0.5.0-pre.6",
59-
"pg": "8.13.1",
58+
"pg": "^8.16.3",
6059
"postcss": "^8.5.2",
6160
"require-in-the-middle": "^7.5.1",
6261
"tailwindcss": "^4.0.0",

0 commit comments

Comments
 (0)