This commit is contained in:
Nukeap committed 2025-02-11 10:22:12 +03:00
1 parent ff9cce42da
commit 7502cf513c
6 files changed
+8 -3

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ WORKDIR /app
COPY --chown=app:app package.json ./
# COPY package-lock.json ./ # Раскомментируйте эту строку, если у вас есть package-lock.json
COPY --chown=app:app ./docs/ ./docs/
# COPY --chown=app:app ./node_modules ./node_modules
# Очищаем кэш npm и устанавливаем зависимости
RUN npm install
+1 -2
View File
@@ -14,8 +14,7 @@ services:
volumes:
- ./docs:/app/docs
- ./src/front:/app/src/front
- /app/node_modules
- /app/src/front/node_modules
ports:
- "3000:3000"
- "5173:5173"
+1
View File
@@ -4,6 +4,7 @@
"requires": true,
"packages": {
"": {
"hasInstallScript": true,
"dependencies": {
"commitlint": "^19.7.1"
},
+2 -1
View File
@@ -7,7 +7,8 @@
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"githooks": "git config core.hooksPath .git-hooks",
"prepare2": "git config core.hooksPath .git-hooks",
"postinstall2":"vitepress init ./docs",
"lint-staged": "lint-staged",
"commitlint": "commitlint --edit"
},
@@ -11,6 +11,8 @@
slim
>
<template v-slot:prepend>
@@ -8,6 +8,7 @@
>
<v-icon :icon="feedalert.ico" />
<span class="pl-2 text-body-2">
{{ feedalert.text }}
</span>