Skip to content

Commit e96a6c1

Browse files
authored
UI Scaffolding & CI Setup (#1)
1 parent 6bb9502 commit e96a6c1

11 files changed

Lines changed: 471 additions & 8 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
- name: Install Dependencies
12+
run: npm install -g pnpm && pnpm install
13+
- name: Copy .env.example files
14+
shell: bash
15+
run: find . -type f -name ".env.example" -exec sh -c 'cp "$1" "${1%.*}"' _ {} \;
16+
- name: Typecheck
17+
run: pnpm typecheck
18+
- name: Lint
19+
run: pnpm lint

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ official documentation linked below. Additional support is available via the
2222
- [Drizzle](https://orm.drizzle.team)
2323
- [Tailwind CSS](https://tailwindcss.com)
2424

25+
### UI Scaffolding
26+
27+
The base UI for this project was created using [v0](https://v0.dev/), a tool
28+
that enables fast UI generation through _vibe coding_. An
29+
[example](https://v0.dev/chat/google-drive-clone-ui-6jEAM0wxOgc?b=b_fFQhsfElqQi&f=0)
30+
of this approach can be seen in Theo’s walkthrough on YouTube.
31+
32+
To apply the same base UI in a project, run the following command:
33+
34+
```bash
35+
npx shadcn@latest add "https://v0.dev/chat/b/b_fFQhsfElqQi"
36+
```
37+
2538
### Learn More about the T3 Stack
2639

2740
To explore more about the [T3 Stack](https://create.t3.gg/), refer to the

components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/styles/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "~/components",
15+
"utils": "~/lib/utils",
16+
"ui": "~/components/ui",
17+
"lib": "~/lib",
18+
"hooks": "~/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

next.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
/**
2-
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
3-
* for Docker builds.
2+
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
3+
* This is especially useful for Docker builds.
44
*/
55
import "./src/env.js";
66

77
/** @type {import("next").NextConfig} */
8-
const config = {};
8+
const config = {
9+
eslint: { ignoreDuringBuilds: true },
10+
typescript: { ignoreBuildErrors: true },
11+
};
912

1013
export default config;

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@
2121
},
2222
"dependencies": {
2323
"@libsql/client": "^0.14.0",
24+
"@radix-ui/react-slot": "^1.2.3",
2425
"@t3-oss/env-nextjs": "^0.12.0",
26+
"class-variance-authority": "^0.7.1",
27+
"clsx": "^2.1.1",
2528
"drizzle-orm": "^0.41.0",
29+
"lucide-react": "^0.511.0",
2630
"next": "^15.2.3",
2731
"react": "^19.0.0",
2832
"react-dom": "^19.0.0",
33+
"tailwind-merge": "^3.3.0",
2934
"zod": "^3.24.2"
3035
},
3136
"devDependencies": {
@@ -42,6 +47,7 @@
4247
"prettier": "^3.5.3",
4348
"prettier-plugin-tailwindcss": "^0.6.11",
4449
"tailwindcss": "^4.0.15",
50+
"tw-animate-css": "^1.3.0",
4551
"typescript": "^5.8.2",
4652
"typescript-eslint": "^8.27.0"
4753
},

pnpm-lock.yaml

Lines changed: 81 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)