feature/upgrade-dependencies #88

Open
Nikolai wants to merge 12 commits from Nikolai/ki-frontend:feature/upgrade-dependencies into main
7 changed files with 10029 additions and 17076 deletions

View File

@ -21,6 +21,11 @@ steps:
commands:
- npm ci
- npm run lint
- name: audit
image: node:20
commands:
- npm install -g better-npm-audit
- better-npm-audit audit --production --level=moderate
---
kind: pipeline

View File

@ -8,10 +8,13 @@ module.exports = {
'eslint:recommended'
],
parserOptions: {
parser: 'babel-eslint'
parser: '@babel/eslint-parser'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/multi-word-component-names': 'off',
'vue/no-useless-template-attributes': 'off',
'vue/no-reserved-component-names': 'off'
}
}

View File

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later
FROM node:14-alpine as builder
FROM node:20-alpine as builder
COPY . ./

View File

@ -41,6 +41,14 @@ Folgende Kanäle gibt es für die Kommunikation über das Kompetenzinventar:
npm ci
```
### Pre requirements
* Node 20
* Wenn du eine andere node version installiert hast, kannst du [nvm](https://github.com/nvm-sh/nvm) benutzen um schnell zwischen node version zu wechseln
* NPM
* (KI-backend)[https://git.wtf-eg.de/kompetenzinventar/ki-backend] muss lokal laufen
### Konfigurationsdatei anpassen
```
@ -48,7 +56,6 @@ cp public/config.js.dev public/config.js
vi public/config.js
```
### Compiles and hot-reloads for development
```
npm run serve

27040
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,22 +7,22 @@
"lint": "vue-cli-service lint"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.5.0",
"@vue/cli-plugin-eslint": "^4.5.0",
"@vue/cli-plugin-router": "^4.5.0",
"@vue/cli-service": "^4.5.0",
"@vue/compiler-sfc": "^3.0.0",
"babel-eslint": "^10.1.0",
"bootstrap": "^5.0.1",
"bootstrap-icons": "^1.5.0",
"core-js": "^3.6.5",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^7.0.0",
"sass": "^1.37.5",
"sass-loader": "^10.2.0",
"v-tooltip": "^4.0.0-alpha.1",
"vue": "^3.0.0",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.2"
"@babel/eslint-parser": "7.23.10",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-plugin-router": "~5.0.8",
"@vue/cli-service": "~5.0.8",
"@vue/compiler-sfc": "^3.4.19",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.11.3",
"core-js": "^3.36.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^9.21.1",
"sass": "^1.71.0",
"sass-loader": "^14.1.1",
"v-tooltip": "^4.0.0-beta.17",
"vue": "^3.4.0",
"vue-router": "^4.2.5",
"vuex": "^4.1.0"
}
}

View File

@ -21,3 +21,11 @@
.search-card{
height: 100%;
}
.card-body {
background-color: #fff;
}
.list-group-flush > .list-group-item {
background-color: #fff;
}