Skip to content

Commit c961527

Browse files
committed
feat: add AgentCode app shell
1 parent c0674e3 commit c961527

29 files changed

Lines changed: 6026 additions & 0 deletions

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DATABASE_URL="postgresql://agentcode:agentcode@localhost:5432/agentcode?schema=public"

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
agent.md
22

3+
# dependencies
4+
node_modules/
5+
6+
# Next.js
7+
.next/
8+
out/
9+
10+
# build output
11+
dist/
12+
coverage/
13+
*.tsbuildinfo
14+
15+
# local env
16+
.env
17+
.env.*
18+
!.env.example
19+
20+
# logs
21+
*.log
22+
pnpm-debug.log*

eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import nextVitals from "eslint-config-next/core-web-vitals";
3+
import nextTs from "eslint-config-next/typescript";
4+
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
globalIgnores([".next/**", "out/**", "build/**", "next-env.d.ts"])
9+
]);
10+
11+
export default eslintConfig;

next-env.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
import "./.next/types/routes.d.ts";
4+
5+
// NOTE: This file should not be edited
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {};
4+
5+
export default nextConfig;

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "agentcode",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "eslint .",
10+
"typecheck": "tsc --noEmit",
11+
"db:generate": "prisma generate",
12+
"db:push": "prisma db push"
13+
},
14+
"dependencies": {
15+
"@prisma/client": "^7.2.0",
16+
"next": "^16.2.9",
17+
"react": "^19.2.1",
18+
"react-dom": "^19.2.1"
19+
},
20+
"devDependencies": {
21+
"@types/node": "^25.0.3",
22+
"@types/react": "^19.2.7",
23+
"@types/react-dom": "^19.2.3",
24+
"eslint": "^9.39.2",
25+
"eslint-config-next": "^16.2.9",
26+
"prisma": "^7.2.0",
27+
"typescript": "^5.9.3"
28+
}
29+
}

0 commit comments

Comments
 (0)