mirror of
https://github.com/homarr-labs/dashboard-icons.git
synced 2026-01-12 16:25:38 +08:00
feat(web): General upkeep add mise config
This commit is contained in:
52
web/.dockerignore
Normal file
52
web/.dockerignore
Normal file
@@ -0,0 +1,52 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/versions
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# next.js
|
||||
/.next/
|
||||
/out/
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
|
||||
# Cursor
|
||||
.cursor
|
||||
.env.local
|
||||
# Turborepo
|
||||
.turbo
|
||||
|
||||
# Pocketbase
|
||||
backend/pocketbase
|
||||
backend/pb_data
|
||||
backend/pb_migrations
|
||||
20
web/Dockerfile
Normal file
20
web/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM node:20-slim AS base
|
||||
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
|
||||
FROM base AS prod
|
||||
|
||||
COPY pnpm-lock.yaml .
|
||||
RUN pnpm fetch --prod
|
||||
|
||||
COPY . .
|
||||
RUN pnpm install
|
||||
RUN pnpm run build
|
||||
|
||||
FROM base
|
||||
COPY --from=prod /app/node_modules .
|
||||
COPY --from=prod /app/.next .
|
||||
EXPOSE 3000
|
||||
CMD [ "pnpm", "start" ]
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.7/schema.json",
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
@@ -28,6 +28,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"css": {
|
||||
"parser": {
|
||||
"tailwindDirectives": true
|
||||
}
|
||||
},
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
|
||||
5
web/mise.toml
Normal file
5
web/mise.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[tools]
|
||||
biome = "latest"
|
||||
node = "latest"
|
||||
pnpm = "latest"
|
||||
"ubi:railwayapp/railpack" = "latest"
|
||||
@@ -5,6 +5,7 @@ const nextConfig: NextConfig = {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
output: "standalone",
|
||||
};
|
||||
|
||||
export default nextConfig
|
||||
@@ -82,15 +82,14 @@
|
||||
"zod": "^4.1.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.2.4",
|
||||
"@biomejs/biome": "2.3.7",
|
||||
"@tailwindcss/postcss": "^4.1.13",
|
||||
"@types/canvas-confetti": "^1.9.0",
|
||||
"@types/node": "^24.10.1",
|
||||
"@types/react": "^19.2.5",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"tailwindcss": "^4.1.13",
|
||||
"typescript": "^5.9.2",
|
||||
"wrangler": "^4.42.2"
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"packageManager": "pnpm@10.18.2",
|
||||
"pnpm": {
|
||||
@@ -104,4 +103,4 @@
|
||||
"workerd"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
3610
web/pnpm-lock.yaml
generated
3610
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user