3 Commits

Author SHA1 Message Date
typist
da20e34dc9 0.0.6
All checks were successful
Build and Push Docker Image / build (push) Successful in 30s
2025-10-28 04:20:13 +08:00
typist
a43b5a96bb chore: add release scripts for versioning in package.json 2025-10-28 04:20:11 +08:00
typist
48aaa262c1 chore: optimize pnpm install with build cache in Dockerfile 2025-10-28 04:17:10 +08:00
2 changed files with 7 additions and 3 deletions

View File

@@ -11,7 +11,8 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
# 安装依赖 # 安装依赖
RUN pnpm install --frozen-lockfile RUN --mount=type=cache,target=/root/.local/share/pnpm/store \
pnpm install --frozen-lockfile
# 复制源代码 # 复制源代码
COPY . . COPY . .

View File

@@ -1,13 +1,16 @@
{ {
"name": "litek", "name": "litek",
"private": true, "private": true,
"version": "0.0.5", "version": "0.0.6",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc -b && vite build", "build": "tsc -b && vite build",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview" "preview": "vite preview",
"release:patch": "npm version patch && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:major": "npm version major && git push --follow-tags"
}, },
"dependencies": { "dependencies": {
"@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-dialog": "^1.1.15",