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