Compare commits

...

92 Commits

Author SHA1 Message Date
5664ede980 Merge pull request 'chore(deps): update linters' (!133) from renovate/linters into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #133
2024-11-04 16:33:32 +01:00
e03064852b chore(deps): update linters
All checks were successful
continuous-integration/drone/pr Build is passing
2024-11-04 16:30:45 +01:00
a159fd7b04 Merge pull request 'chore(deps): update dependency core-js to v3.39.0' (!138) from renovate/core-js-3.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #138
2024-11-04 16:29:53 +01:00
1cd0d4dc27 Merge pull request 'chore(deps): update dependency sass-loader to v16.0.3' (!139) from renovate/sass-loader-16.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #139
2024-11-04 16:29:29 +01:00
f969d2d061 chore(deps): update dependency sass-loader to v16.0.3
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-11-04 00:39:22 +00:00
b1a3852b86 chore(deps): update dependency core-js to v3.39.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-11-03 00:40:10 +00:00
958725ad73 Merge pull request 'chore(deps): update node.js to v20.18.0' (!127) from renovate/node-20.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #127
2024-10-29 11:05:26 +01:00
b14c4389d6 Merge pull request 'chore(deps): update dependency sass to v1.80.4' (!122) from renovate/sass-1.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #122
2024-10-28 22:19:13 +01:00
a39970216c Merge pull request 'chore(deps): update dependency sass-embedded to v1.80.4' (!131) from renovate/sass-embedded-1.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #131
2024-10-28 22:09:58 +01:00
c3beea3814 chore(deps): update dependency sass-embedded to v1.80.4
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-10-26 23:50:20 +00:00
6a4026e7cb chore(deps): update dependency sass to v1.80.4
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-10-26 23:43:20 +00:00
7ceaf18d53 Merge pull request 'chore(deps): update dependency sass-embedded to v1.79.4' (!123) from renovate/sass-embedded-1.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #123
2024-10-14 18:47:04 +02:00
6dabb6ea81 Merge pull request 'chore(deps): update nginx:1.27-alpine docker digest to 2140dad' (!126) from renovate/nginx-1.27-alpine into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #126
2024-10-14 18:03:19 +02:00
062c47be14 Merge pull request 'chore(deps): update dependency sass-loader to v16.0.2' (!121) from renovate/sass-loader-16.x into main
Some checks are pending
continuous-integration/drone/push Build is pending
Reviewed-on: #121
2024-10-14 18:01:54 +02:00
6ef06e7b27 Merge pull request 'chore(deps): update linters' (!128) from renovate/linters into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #128
2024-10-14 18:01:35 +02:00
ceabff143b chore(deps): update linters
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-10-14 06:47:58 +00:00
df437fad47 chore(deps): update node.js to v20.18.0
All checks were successful
continuous-integration/drone/pr Build is passing
2024-10-05 01:36:13 +00:00
dcf5c81029 chore(deps): update nginx:1.27-alpine docker digest to 2140dad
All checks were successful
continuous-integration/drone/pr Build is passing
2024-10-03 06:36:00 +00:00
8582ef41e5 chore(deps): update dependency sass-embedded to v1.79.4
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-10-01 03:36:23 +00:00
5167716f85 chore(deps): update dependency sass-loader to v16.0.2
All checks were successful
continuous-integration/drone/pr Build is passing
renovate/stability-days Updates have met minimum release age requirement
2024-09-20 12:59:29 +00:00
0957580308 Merge pull request 'chore(deps): update vue monorepo to v3.5.6' (!119) from renovate/vue-monorepo into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #119
2024-09-19 21:38:42 +02:00
47294f9e3e Merge pull request 'chore(deps): update dependency eslint to v8.57.1' (!120) from renovate/linters into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #120
2024-09-19 20:15:33 +02:00
62aec412dd chore(deps): update dependency eslint to v8.57.1
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-19 15:36:14 +00:00
0d738885e8 chore(deps): update vue monorepo to v3.5.6
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-19 08:36:14 +00:00
7d19f57fb0 Merge pull request 'chore(deps): update dependency vue-router to v4.4.5' (!117) from renovate/vue-router-4.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #117
2024-09-16 16:17:04 +02:00
2a40a203cf chore(deps): update dependency vue-router to v4.4.5
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-16 07:36:00 +00:00
808d155a85 Merge pull request 'chore(deps): update vue monorepo to v3.5.4' (!110) from renovate/vue-monorepo into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #110
2024-09-13 12:15:15 +02:00
5aee683180 chore(deps): update vue monorepo to v3.5.4
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-13 09:36:13 +00:00
fc352864cc Merge pull request 'chore(deps): update dependency sass-embedded to v1.78.0' (!112) from renovate/sass-embedded-1.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #112
2024-09-10 13:10:05 +02:00
cc22f6767f Merge pull request 'chore(deps): update dependency sass to v1.78.0' (!111) from renovate/sass-1.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #111
2024-09-10 12:58:15 +02:00
99fe35dee4 Merge pull request 'Speedup CI runs' (!116) from ci-speedup into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #116
2024-09-10 12:53:34 +02:00
f6673d5819 Merge pull request 'chore(deps): update nginx:1.27-alpine docker digest to a5127da' (!113) from renovate/nginx-1.27-alpine into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #113
2024-09-10 12:48:34 +02:00
c58c727ff9 chore(deps): update dependency sass to v1.78.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-10 10:36:03 +00:00
41f079fc03
Switch to alpine image of Node.js in CI
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-10 12:30:19 +02:00
31b4e21034
Only run Docker dry-run on Pull Requests 2024-09-10 12:27:33 +02:00
acb5ab5f40 Merge pull request 'chore(deps): update node.js to 2d07db0' (!114) from renovate/node-20.17.0-alpine into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #114
2024-09-10 12:18:44 +02:00
66bf9d9a98 Merge pull request 'chore(deps): update node.js to 48db4f6' (!108) from renovate/node-20.17.0 into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #108
2024-09-10 12:18:30 +02:00
32f9d792e4 Merge pull request 'chore(deps): update dependency eslint-plugin-vue to v9.28.0' (!109) from renovate/linters into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #109
2024-09-10 12:16:22 +02:00
8e395d9c16 chore(deps): update nginx:1.27-alpine docker digest to a5127da
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-07 15:35:54 +00:00
86db7774ea chore(deps): update node.js to 2d07db0
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-07 10:35:52 +00:00
b0b29c77df chore(deps): update dependency sass-embedded to v1.78.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-06 23:36:17 +00:00
d2075123a2 chore(deps): update node.js to 48db4f6
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-06 04:35:47 +00:00
71ca40dc61 chore(deps): update dependency eslint-plugin-vue to v9.28.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-09-06 02:36:06 +00:00
ee6097bc10 Merge pull request 'chore(deps): update node.js to 4bc7ea5' (!107) from renovate/node-20.17.0 into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #107
2024-09-05 11:30:02 +02:00
d90bc32c53 chore(deps): update node.js to 4bc7ea5
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-05 06:35:44 +00:00
b25e0c2ce5 Merge pull request 'Run linter in CI without fixing issues' (!105) from lint-no-fix into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #105
2024-08-28 15:22:13 +02:00
bdaec983d8
Run linter in CI without fixing issues
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-28 15:00:45 +02:00
4850d79f54 Merge pull request 'chore(deps): update fsfe/reuse docker tag to v4' (!102) from renovate/fsfe-reuse-4.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #102
2024-08-27 18:42:00 +02:00
df8b79bc53
Specify license for REUSE.toml
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-27 18:36:30 +02:00
348b589d6b
Convert .reuse/dep5 to REUSE.toml
Some checks failed
continuous-integration/drone/pr Build is failing
2024-08-27 18:32:07 +02:00
312acee0f2 Merge pull request 'chore(deps): lock file maintenance' (!104) from renovate/lock-file-maintenance into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #104
2024-08-27 11:42:27 +02:00
f5b7fe8f12 chore(deps): lock file maintenance
Some checks failed
continuous-integration/drone/pr Build is failing
2024-08-26 00:36:14 +00:00
9bf644161d Merge pull request 'chore(deps): update plugins/docker docker tag to v20.18.4' (!103) from renovate/plugins-docker-20.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #103
2024-08-22 19:46:33 +02:00
4cd12bfe59 chore(deps): update plugins/docker docker tag to v20.18.4
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 15:36:04 +00:00
f5b7fd3dee chore(deps): update fsfe/reuse docker tag to v4
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 14:36:29 +00:00
bd4242a7e1 Merge pull request 'chore(deps): update dependency sass-loader to v16' (!101) from renovate/sass-loader-16.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #101
2024-08-22 15:52:51 +02:00
93c4fac780
chore(deps): Add optional (preferred) dependency
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 15:48:05 +02:00
b2b295df43 Merge pull request 'chore(deps): update dependency eslint to v8' (!98) from renovate/major-8-linters into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #98
2024-08-22 15:40:54 +02:00
cac4ceb173 chore(deps): update dependency sass-loader to v16
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-08-22 13:36:33 +00:00
aed94f4237 chore(deps): update dependency eslint to v8
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-08-22 12:36:22 +00:00
efd3d5bca5 Merge pull request 'chore(deps): update plugins/docker docker tag to v20.18.3' (!97) from renovate/plugins-docker-20.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #97
2024-08-22 13:56:10 +02:00
cf5eb08db6 Merge pull request 'chore(deps): update node.js to v20.17.0' (!96) from renovate/node-20.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #96
2024-08-22 13:44:57 +02:00
a4891afa1d chore(deps): update plugins/docker docker tag to v20.18.3
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 11:36:05 +00:00
087adf71c1 chore(deps): update node.js to v20.17.0
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 11:35:56 +00:00
83164e3f54 Merge pull request 'chore(deps): update nginx docker tag to v1.27' (!95) from renovate/nginx-1.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #95
2024-08-22 13:21:20 +02:00
27f399b0f3 Merge pull request 'chore(deps): update linters' (!94) from renovate/linters into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #94
2024-08-22 13:12:38 +02:00
da20c22ba4 chore(deps): update nginx docker tag to v1.27
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 10:36:17 +00:00
9a056b6977 chore(deps): update linters
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
2024-08-22 10:36:06 +00:00
fccf9a55b6 Merge pull request 'chore(deps): pin dependencies' (!92) from renovate/pin-dependencies into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #92
2024-08-22 11:56:38 +02:00
775cf303d1 chore(deps): pin dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 09:36:14 +00:00
abd1e0ee31 Merge pull request 'chore: Configure Renovate' (!91) from renovate/configure into main
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Reviewed-on: #91
2024-08-22 11:26:15 +02:00
563f492bc3
Disable Dependency Dashboard because of external issues
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-21 22:12:43 +02:00
72d6756749
Update Renovate config
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-21 22:01:01 +02:00
d1fdde6d10 Add renovate.json
Some checks failed
continuous-integration/drone/pr Build is failing
2024-08-21 19:35:10 +00:00
a1c758a4b6 Merge pull request 'Upgrade dependencies' (!90) from upgrade-dependencies into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #90
2024-08-21 20:28:45 +02:00
c463c2f1ad
Use Bootstrap classes
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-21 20:25:28 +02:00
eb5de926d0
chore(deps): Update dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-21 19:49:40 +02:00
5c4c76356a
Merge remote-tracking branch 'origin/main' into upgrade-dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-21 19:40:45 +02:00
61a6115071
Pin Docker images in CI 2024-08-21 19:33:50 +02:00
d46aaa0f31 Merge pull request 'Fix Dockerfile' (!89) from fix-dockerfile into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #89
2024-04-23 23:07:43 +02:00
f728f1f72b Merge branch 'main' into feature/upgrade-dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-21 20:21:57 +01:00
663db94cb8 ISSUE-72| Move audit to qa in drone
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-21 09:42:31 +01:00
a49bd3feef ISSUE-72| Update more deps
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-21 06:40:53 +01:00
6f12f577d4 ISSUE-72| Update more deps
Some checks failed
continuous-integration/drone/pr Build is failing
2024-02-21 06:31:13 +01:00
872ff894b5 ISSUE-72| Update coreks
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-20 21:07:53 +01:00
0b02df26e8 ISSUE-72| Update eslint
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-20 21:01:15 +01:00
17e43d94c4 ISSUE-72| Update eslint
Some checks failed
continuous-integration/drone/pr Build is failing
2024-02-20 20:58:50 +01:00
7b0e38296f Add pre requirements to readme
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-11 15:09:35 +01:00
bc1a079503 KI-frontend update
* Add better npm audit to pipeline
* pipeline will fail if vulneralabity is found higher then moderate
2024-02-11 11:52:11 +01:00
cd36d39fad KI Frontend update| Update vue-compiler-sfc 2024-02-11 10:06:03 +01:00
ba701b2ac8 KI Frontend update| Update sass 2024-02-11 10:02:50 +01:00
9d35989ba9 Updating ki-frontend
* Frontend works with node 20
* vue dependencies are updated
2024-02-11 09:48:56 +01:00
15 changed files with 7964 additions and 22460 deletions

View File

@ -15,19 +15,27 @@ trigger:
steps:
- name: reuse
image: fsfe/reuse
image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399
- name: lint
image: node:20
image: node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
commands:
- npm ci
- npm run lint
- name: docker-build
image: plugins/docker
- npm run lint -- --no-fix
- name: audit
image: node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
commands:
- npm install -g better-npm-audit
- better-npm-audit audit --production --level=moderate
- name: docker-dry-run
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
settings:
registry: git.wtf-eg.de
repo: git.wtf-eg.de/kompetenzinventar/frontend
target: ki-frontend
dry_run: true
when:
event:
- pull_request
---
kind: pipeline
@ -45,7 +53,7 @@ depends_on:
steps:
- name: docker-publish
image: plugins/docker
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
settings:
registry: git.wtf-eg.de
repo: git.wtf-eg.de/kompetenzinventar/frontend
@ -72,7 +80,7 @@ depends_on:
steps:
- name: deploy-dev
image: appleboy/drone-ssh
image: appleboy/drone-ssh:1.7.5@sha256:995677e073454912f26d4c0fdd2f9df2e1f5a30d6603d3f2ece667311b6babb3
settings:
host:
- dev01.wtf-eg.net
@ -94,14 +102,14 @@ trigger:
steps:
- name: reuse
image: fsfe/reuse
image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399
- name: lint
image: node:20
image: node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
commands:
- npm ci
- npm run lint
- npm run lint -- --no-fix
- name: docker-publish
image: plugins/docker
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
settings:
registry: git.wtf-eg.de
repo: git.wtf-eg.de/kompetenzinventar/frontend

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

@ -1,28 +0,0 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ki-frontend
Upstream-Contact: Scammo <kontakt@samuelbrinkmann.de>
Source: https://git.wtf-eg.de/kompetenzinventar/ki-frontend
Files: package.json package-lock.json
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
License: AGPL-3.0-or-later
Files: .browserslistrc .dockerignore .eslintrc.js .gitignore
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
License: AGPL-3.0-or-later
Files: src/assets/img/wtf*
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
License: LicenseRef-WTF
Files: src/assets/language_level.json src/assets/skill_level.json
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
License: AGPL-3.0-or-later
Files: public/img/bootstrap-icons-1.5.0/*
Copyright: Copyright (c) 2019-2020 The Bootstrap Authors
License: MIT
Files: public/fonts/Lato*
Copyright: 2010-2015, Łukasz Dziedzic (dziedzic@typoland.com)
License: OFL-1.1-RFN

View File

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later
FROM node:14-alpine as builder
FROM node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 as builder
COPY package.json package-lock.json ./
RUN npm install
@ -15,7 +15,7 @@ COPY src src
RUN npm ci && npm run build
FROM nginx as ki-frontend
FROM nginx:1.27-alpine@sha256:2140dad235c130ac861018a4e13a6bc8aea3a35f3a40e20c1b060d51a7efd250 as ki-frontend
LABEL org.opencontainers.image.source=https://git.wtf-eg.de/kompetenzinventar/ki-frontend.git
LABEL org.opencontainers.image.url=https://git.wtf-eg.de/kompetenzinventar/ki-frontend

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

40
REUSE.toml Normal file
View File

@ -0,0 +1,40 @@
version = 1
SPDX-PackageName = "ki-frontend"
SPDX-PackageSupplier = "Scammo <kontakt@samuelbrinkmann.de>"
SPDX-PackageDownloadLocation = "https://git.wtf-eg.de/kompetenzinventar/ki-frontend"
[[annotations]]
path = ["package.json", "package-lock.json", "renovate.json"]
precedence = "aggregate"
SPDX-FileCopyrightText = "WTF Kooperative eG <https://wtf-eg.de/>"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = [".browserslistrc", ".dockerignore", ".eslintrc.js", ".gitignore", "REUSE.toml"]
precedence = "aggregate"
SPDX-FileCopyrightText = "WTF Kooperative eG <https://wtf-eg.de/>"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = "src/assets/img/wtf**"
precedence = "aggregate"
SPDX-FileCopyrightText = "WTF Kooperative eG <https://wtf-eg.de/>"
SPDX-License-Identifier = "LicenseRef-WTF"
[[annotations]]
path = ["src/assets/language_level.json", "src/assets/skill_level.json"]
precedence = "aggregate"
SPDX-FileCopyrightText = "WTF Kooperative eG <https://wtf-eg.de/>"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = "public/img/bootstrap-icons-1.5.0/**"
precedence = "aggregate"
SPDX-FileCopyrightText = "Copyright (c) 2019-2020 The Bootstrap Authors"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "public/fonts/Lato**"
precedence = "aggregate"
SPDX-FileCopyrightText = "2010-2015, Łukasz Dziedzic (dziedzic@typoland.com)"
SPDX-License-Identifier = "OFL-1.1-RFN"

30233
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,28 +1,31 @@
{
"name": "@wtf/ki-frontend",
"version": "0.1.0",
"version": "1.1.0",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"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.25.9",
"@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.5.6",
"bootstrap": "5.3.3",
"bootstrap-icons": "1.11.3",
"core-js": "3.39.0",
"eslint": "8.57.1",
"eslint-plugin-vue": "9.30.0",
"sass": "1.80.4",
"sass-loader": "16.0.3",
"v-tooltip": "4.0.0-beta.17",
"vue": "3.5.6",
"vue-router": "4.4.5",
"vuex": "4.1.0"
},
"optionalDependencies": {
"sass-embedded": "1.80.4"
}
}

21
renovate.json Normal file
View File

@ -0,0 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
"group:linters",
"group:test",
"npm:unpublishSafe",
":disableDependencyDashboard",
":maintainLockFilesWeekly",
":pinAllExceptPeerDependencies",
":separateMultipleMajorReleases"
],
"packageRules": [
{
"matchPackageNames": [
"node"
],
"allowedVersions": "/^[1-9][02468]\\./"
}
]
}

View File

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
@update-values="this.$emit('update-values', this.values)"
>
</profile-list>
<div v-bind="$attrs" class="card-body">
<div v-bind="$attrs" class="card-body bg-white">
<div class="row">
<div class="col-12 col-md-4 col-lg-3 col-xl-2">
<div class="form-control-plaintext form-control-sm">Eintrag hinzufügen:</div>
@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div v-if="searchResults">
<ul class="list-group">
<li
class="list-group-item"
class="list-group-item bg-white"
v-for="result in searchResults"
:key="result.id"
@click="addResult(result)"

View File

@ -14,6 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
>
<span
class="page-link pointer"
:class="{ 'bg-white': page !== current }"
@click="onPageClicked(page)"
>
{{ page }}

View File

@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<template>
<ul class="list-group list-group-flush">
<li
class="list-group-item"
class="list-group-item bg-white"
v-for="(value, valueKey) in values"
:key="value.id"
>

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
class="text-decoration-none d-flex"
:to="{ path: `/s/profile/${profile.user_id}` }"
>
<div class="card w-100">
<div class="card w-100 bg-white">
<div class="card-body d-flex">
<div class="d-flex align-items-center justify-content-center me-3">
<Avatar :name="profile.nickname"/>

View File

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</h3>
<div class="card w-100">
<slot name="card-body">
<div class="card-body">
<div class="card-body bg-white">
<slot></slot>
</div>
</slot>

View File

@ -167,7 +167,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</Section>
<Section title="Sonstiges">
<div class="mb-3">
<div class="mb-3 bg-white">
<label class="form-label">Über mich</label>
<textarea
class="form-control"