awd
This commit is contained in:
1 parent
0944e238a0
commit
ce0027e411
5 files changed
+21
-14
No files matched your search
+6
-4
@@ -11,16 +11,18 @@ RUN apk add --no-cache git
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
COPY .prettierrc.json ./
|
||||
COPY .prettierrc.json ./
|
||||
COPY eslint.config.mjs ./
|
||||
# Устанавливаем зависимости
|
||||
RUN npm cache clean --force && npm install
|
||||
# RUN npm install husky --save-dev
|
||||
RUN npm install prettier
|
||||
# npx husky install
|
||||
# Копируем остальные файлы приложения
|
||||
COPY ./src/front ./src/front
|
||||
# COPY ./.git ./.git
|
||||
COPY ./.git ./.git
|
||||
# COPY . .
|
||||
|
||||
RUN chmod -R 777 ./src/front
|
||||
# Указываем команду для запуска lint-staged
|
||||
CMD ["npm", "run", "lint-staged"]
|
||||
# CMD ["tail", "-f", "/dev/null"]
|
||||
Generated
+5
-5
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "PORTAL_COD2",
|
||||
"name": "app",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
@@ -17,7 +17,7 @@
|
||||
"eslint-plugin-vue": "^9.32.0",
|
||||
"globals": "^15.14.0",
|
||||
"lint-staged": "^15.4.3",
|
||||
"prettier": "^3.4.2",
|
||||
"prettier": "^3.5.1",
|
||||
"vitepress": "^1.6.3",
|
||||
"vue-md-parser": "^1.0.26"
|
||||
}
|
||||
@@ -5821,9 +5821,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "3.4.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
|
||||
"integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
|
||||
"version": "3.5.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.1.tgz",
|
||||
"integrity": "sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
|
||||
+3
-4
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"type": "module",
|
||||
|
||||
"scripts": {
|
||||
"dev": "cd src/front && npm run dev",
|
||||
"build": "cd src/front && npm run build",
|
||||
@@ -9,7 +8,7 @@
|
||||
"docs:preview": "vitepress preview docs",
|
||||
"lint": "eslint",
|
||||
"prepare2": "git config core.hooksPath .git-hooks",
|
||||
"postinstall2":"vitepress init ./docs",
|
||||
"postinstall2": "vitepress init ./docs",
|
||||
"lint-staged": "lint-staged",
|
||||
"commitlint": "commitlint --edit"
|
||||
},
|
||||
@@ -23,7 +22,7 @@
|
||||
"eslint-plugin-vue": "^9.32.0",
|
||||
"globals": "^15.14.0",
|
||||
"lint-staged": "^15.4.3",
|
||||
"prettier": "^3.4.2",
|
||||
"prettier": "^3.5.1",
|
||||
"vitepress": "^1.6.3",
|
||||
"vue-md-parser": "^1.0.26"
|
||||
},
|
||||
@@ -36,4 +35,4 @@
|
||||
"dependencies": {
|
||||
"commitlint": "^19.7.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,10 @@
|
||||
<news-crossroad />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
@@ -17,6 +21,8 @@ import newsCrossroad from '../components/news-crossroad.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
||||
|
||||
newsCrossroad
|
||||
},
|
||||
setup() {
|
||||
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
setup() {
|
||||
const activeTab = ref(0);
|
||||
const currentTest = ref('');
|
||||
|
||||
console.log('tag', 'dsd')
|
||||
const getAllTests = ref([]);
|
||||
|
||||
const getTestById = () => {
|
||||
|
||||
Reference in new issue
Block a user