Skip to content

Commit cfc4c63

Browse files
committed
update init repo
1 parent bd17a5f commit cfc4c63

File tree

12 files changed

+104
-84
lines changed

12 files changed

+104
-84
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ coverage*
1717
.turbo
1818
.yarn
1919
.yarnrc.yml
20-
.yarnrc.yml
20+
.yarnrc.yml

.github/workflows/docker.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Docker Image Build and Push to GHCR
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Or your main branch
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-push:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
packages: write
16+
contents: read
17+
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
- name: Set up Docker Buildx
23+
uses: docker/setup-buildx-action@v3
24+
25+
- name: Build and push Docker image to GHCR
26+
id: build-and-push
27+
uses: docker/build-push-action@v5
28+
with:
29+
context: .
30+
file: ./Dockerfile
31+
push: true
32+
tags: |
33+
ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
34+
ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }}

.gitignore

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,9 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.*
7-
.yarn/*
8-
!.yarn/patches
9-
!.yarn/plugins
10-
!.yarn/releases
11-
!.yarn/versions
12-
13-
# testing
14-
/coverage
15-
16-
# next.js
17-
/.next/
18-
/out/
19-
20-
# production
1+
node_modules
2+
.next
3+
.env*
214
/build
22-
23-
# misc
5+
/out/
246
.DS_Store
25-
*.pem
26-
27-
# debug
28-
npm-debug.log*
29-
yarn-debug.log*
30-
yarn-error.log*
31-
.pnpm-debug.log*
32-
33-
# env files (can opt-in for committing if needed)
34-
.env*
35-
36-
# vercel
377
.vercel
38-
39-
# typescript
408
*.tsbuildinfo
41-
next-env.d.ts
9+
next-env.d.ts

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ ENV PORT 3000
5353
# Set hostname to localhost
5454
ENV HOSTNAME "0.0.0.0"
5555

56-
CMD ["bun", "server.js"]
56+
CMD ["bun", "server.js"]

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
1-
# FlushDeck
2-
A visualizer to share info server info and plugin/mod specific diagnostic information dumped by Toilet
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

bun.lockb

-4.37 KB
Binary file not shown.

next.config.ts

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

33
const nextConfig: NextConfig = {
44
/* config options here */
5-
output: "standalone",
65
};
76

87
export default nextConfig;

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
{
2-
"name": "flush-deck",
2+
"name": "qflushdeck",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbopack",
77
"build": "next build",
8-
"start": "nextnext start",
8+
"start": "next start",
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"next": "15.1.7",
13-
"prismjs": "^1.29.0",
1412
"react": "^19.0.0",
15-
"react-dom": "^19.0.0"
13+
"react-dom": "^19.0.0",
14+
"next": "15.2.4"
1615
},
1716
"devDependencies": {
1817
"typescript": "^5",
1918
"@types/node": "^20",
2019
"@types/react": "^19",
2120
"@types/react-dom": "^19",
22-
"postcss": "^8",
23-
"tailwindcss": "^3.4.1",
21+
"@tailwindcss/postcss": "^4",
22+
"tailwindcss": "^4",
2423
"eslint": "^9",
25-
"eslint-config-next": "15.1.7",
24+
"eslint-config-next": "15.2.4",
2625
"@eslint/eslintrc": "^3"
2726
}
2827
}

postcss.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
/** @type {import('postcss-load-config').Config} */
21
const config = {
3-
plugins: {
4-
tailwindcss: {},
5-
},
2+
plugins: ["@tailwindcss/postcss"],
63
};
74

85
export default config;

src/app/globals.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
42

53
:root {
64
--background: #ffffff;
75
--foreground: #171717;
86
}
97

8+
@theme inline {
9+
--color-background: var(--background);
10+
--color-foreground: var(--foreground);
11+
--font-sans: var(--font-geist-sans);
12+
--font-mono: var(--font-geist-mono);
13+
}
14+
1015
@media (prefers-color-scheme: dark) {
1116
:root {
1217
--background: #0a0a0a;
@@ -15,7 +20,7 @@
1520
}
1621

1722
body {
18-
color: var(--foreground);
1923
background: var(--background);
24+
color: var(--foreground);
2025
font-family: Arial, Helvetica, sans-serif;
2126
}

0 commit comments

Comments
 (0)