111 Commits

Author SHA1 Message Date
Sebastian 644e4120f6 Update dependency vue-router to v5.3.1
Build Test / test (pull_request) Successful in 1m2s
JS Unit Tests / test (pull_request) Successful in 1m6s
2026-09-06 03:01:44 +00:00
Sebastian 7b8da25747 Merge pull request 'Update dependency vue to v3.5.42' (#70) from renovate/vue-monorepo into main
Reviewed-on: #70
2026-09-06 01:20:10 +00:00
Sebastian fe4703925c Merge pull request 'Update vitest monorepo to v4.1.11' (#71) from renovate/vitest-monorepo into main
Reviewed-on: #71
2026-09-06 01:20:05 +00:00
Sebastian 90e8683a94 Merge pull request 'Update dependency @vue/test-utils to v2.5.0' (#72) from renovate/vue-test-utils-2.x-lockfile into main
Reviewed-on: #72
2026-09-06 01:20:00 +00:00
Sebastian 19abfec1ea Merge pull request 'Update dependency sass to v1.104.0' (#73) from renovate/sass-1.x-lockfile into main
Reviewed-on: #73
2026-09-06 01:19:55 +00:00
Sebastian 386a88488a Update dependency sass to v1.104.0
Build Test / test (pull_request) Successful in 49s
JS Unit Tests / test (pull_request) Successful in 55s
2026-09-05 03:02:37 +00:00
Sebastian 2594718914 Update dependency @vue/test-utils to v2.5.0
JS Unit Tests / test (pull_request) Successful in 1m5s
Build Test / test (pull_request) Successful in 1m16s
2026-09-03 03:02:31 +00:00
Sebastian fa4d859e70 Update vitest monorepo to v4.1.11
Build Test / test (pull_request) Successful in 1m5s
JS Unit Tests / test (pull_request) Successful in 1m8s
2026-09-03 03:02:28 +00:00
Sebastian 428cce9c7f Update dependency vue to v3.5.42
Build Test / test (pull_request) Successful in 1m30s
JS Unit Tests / test (pull_request) Successful in 1m34s
2026-09-02 03:03:11 +00:00
Sebastian ac3a2f6ca7 Merge pull request 'Update dependency jsdom to v30.0.1' (#64) from renovate/jsdom-30.x-lockfile into main
Reviewed-on: #64
2026-09-01 11:48:21 +00:00
Sebastian 07fe866150 Merge pull request 'Update dependency vuetify to v4.1.12' (#65) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #65
2026-09-01 11:48:16 +00:00
Sebastian a325afb463 Merge pull request 'Update dependency pinia to v4.0.3' (#67) from renovate/pinia-4.x-lockfile into main
Reviewed-on: #67
2026-09-01 11:48:10 +00:00
Sebastian 3a4376039d Merge pull request 'Update dependency vue-tsc to v3.3.11' (#68) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #68
2026-09-01 11:48:03 +00:00
Sebastian 96edaad9d7 Merge pull request 'Update dependency vue-echarts to v8.2.0' (#66) from renovate/vue-echarts-8.x-lockfile into main
Reviewed-on: #66
2026-09-01 11:47:52 +00:00
Sebastian a56eb9d5f0 Update dependency vue-echarts to v8.2.0
JS Unit Tests / test (pull_request) Successful in 1m23s
Build Test / test (pull_request) Successful in 1m28s
2026-09-01 03:02:59 +00:00
Sebastian e9b3b20334 Update dependency vuetify to v4.1.12
JS Unit Tests / test (pull_request) Successful in 1m35s
Build Test / test (pull_request) Successful in 1m40s
2026-09-01 03:02:57 +00:00
Sebastian 4dd44d9d98 Update dependency vue-tsc to v3.3.11
Build Test / test (pull_request) Successful in 1m32s
JS Unit Tests / test (pull_request) Successful in 1m33s
2026-09-01 03:02:43 +00:00
Sebastian f79e831e59 Update dependency pinia to v4.0.3
JS Unit Tests / test (pull_request) Successful in 1m25s
Build Test / test (pull_request) Successful in 1m29s
2026-09-01 03:02:41 +00:00
Sebastian 148a1a1624 Update dependency jsdom to v30.0.1
Build Test / test (pull_request) Successful in 56s
JS Unit Tests / test (pull_request) Successful in 1m3s
2026-09-01 03:02:37 +00:00
Sebastian 6e95e6e216 refactor(module): register integrations through runtime contexts
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-08-31 22:55:58 -04:00
Sebastian fd57b5c9e7 Merge pull request 'Update dependency vue to v3.5.41' (#62) from renovate/vue-monorepo into main
Reviewed-on: #62
2026-08-07 12:11:02 +00:00
Sebastian 7165a7e38a Merge pull request 'Update dependency vue-tsc to v3.3.9' (#63) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #63
2026-08-07 12:10:56 +00:00
Sebastian 9787fd470e Update dependency vue-tsc to v3.3.9
JS Unit Tests / test (pull_request) Successful in 17s
Build Test / test (pull_request) Successful in 17s
2026-08-07 12:10:20 +00:00
Sebastian e0dde2b33e Update dependency vue to v3.5.41
JS Unit Tests / test (pull_request) Successful in 17s
Build Test / test (pull_request) Successful in 17s
2026-08-07 12:10:19 +00:00
Sebastian 7bed43b36e Merge pull request 'Update dependency sass to v1.102.0' (#57) from renovate/sass-1.x-lockfile into main
Reviewed-on: #57
2026-08-07 12:08:50 +00:00
Sebastian 9f28f321bf Merge pull request 'Update dependency jsdom to v30' (#59) from renovate/jsdom-30.x into main
Reviewed-on: #59
2026-08-07 12:08:30 +00:00
Sebastian c025810ea8 Merge pull request 'Update dependency vuetify to v4.1.7' (#60) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #60
2026-08-07 12:08:21 +00:00
Sebastian 42bc9f55ed Merge pull request 'Update dependency vite to v8.2.1' (#61) from renovate/vite-8.x-lockfile into main
Reviewed-on: #61
2026-08-07 12:08:13 +00:00
Sebastian 4168172f68 Update dependency vite to v8.2.1
Build Test / test (pull_request) Successful in 52s
JS Unit Tests / test (pull_request) Successful in 49s
2026-08-07 03:06:59 +00:00
Sebastian 42494ef680 Update dependency vuetify to v4.1.7
Build Test / test (pull_request) Successful in 1m12s
JS Unit Tests / test (pull_request) Successful in 1m14s
2026-07-31 03:07:29 +00:00
Sebastian 9d798395d5 Update dependency jsdom to v30
JS Unit Tests / test (pull_request) Successful in 1m3s
Build Test / test (pull_request) Successful in 1m6s
2026-07-28 03:07:01 +00:00
Sebastian 770c58dfb0 Update dependency sass to v1.102.0
Build Test / test (pull_request) Successful in 54s
JS Unit Tests / test (pull_request) Successful in 44s
2026-07-26 03:05:07 +00:00
Sebastian 7bb4353fae Merge pull request 'Update dependency vue-tsc to v3.3.8' (#55) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #55
2026-07-25 23:50:30 +00:00
Sebastian ad8067a530 Merge pull request 'Update dependency vuetify to v4.1.6' (#56) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #56
2026-07-25 23:50:14 +00:00
Sebastian 38c060a9a9 Update dependency vuetify to v4.1.6
Build Test / test (pull_request) Successful in 1m7s
JS Unit Tests / test (pull_request) Successful in 1m5s
2026-07-25 03:05:31 +00:00
Sebastian 85ffc6fb0d Update dependency vue-tsc to v3.3.8
Build Test / test (pull_request) Successful in 1m15s
JS Unit Tests / test (pull_request) Successful in 1m13s
2026-07-25 03:05:25 +00:00
Sebastian 50535da347 Merge pull request 'chore: implement js test suites' (#54) from chore/js-test-suites into main
Reviewed-on: #54
2026-07-24 04:32:27 +00:00
Sebastian e7b1850a74 chore: implement js test suites
JS Unit Tests / test (pull_request) Successful in 33s
Build Test / test (pull_request) Successful in 36s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-24 00:31:22 -04:00
Sebastian 8266934198 Merge pull request 'Update dependency vuetify to v4.1.6' (#53) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #53
2026-07-24 03:15:17 +00:00
Sebastian f0a1388155 Update dependency vuetify to v4.1.6 2026-07-24 03:13:16 +00:00
Sebastian c387bc8501 Merge pull request 'Update dependency sass to v1.101.7' (#51) from renovate/sass-1.x-lockfile into main
Reviewed-on: #51
2026-07-24 03:04:39 +00:00
Sebastian 8d121943a9 Merge pull request 'Update dependency vue-tsc to v3.3.8' (#52) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #52
2026-07-24 03:04:32 +00:00
Sebastian 468045fb1c Merge pull request 'Update dependency pinia to v4' (#48) from renovate/pinia-4.x into main
Reviewed-on: #48
2026-07-24 03:04:25 +00:00
Sebastian 4326ae0bca Update dependency pinia to v4 2026-07-24 02:56:30 +00:00
Sebastian 6f760be919 Update dependency vue-tsc to v3.3.8 2026-07-24 02:56:27 +00:00
Sebastian 129bbdef2d Update dependency sass to v1.101.7 2026-07-24 02:56:24 +00:00
Sebastian 481d7bdb05 Merge pull request 'Update dependency @vitejs/plugin-vue to v6.0.8' (#45) from renovate/vitejs-plugin-vue-6.x-lockfile into main
Reviewed-on: #45
2026-07-24 02:42:09 +00:00
Sebastian 1a83237102 Merge pull request 'Update dependency vue to v3.5.40' (#46) from renovate/vue-monorepo into main
Reviewed-on: #46
2026-07-24 02:42:04 +00:00
Sebastian 764420b4fc Merge pull request 'Update dependency vue-router to v5.2.0' (#47) from renovate/vue-router-5.x-lockfile into main
Reviewed-on: #47
2026-07-24 02:41:59 +00:00
Sebastian 2858e6ed2f Merge pull request 'Update dependency sass to v1.101.6' (#49) from renovate/sass-1.x-lockfile into main
Reviewed-on: #49
2026-07-24 02:41:52 +00:00
Sebastian 415c842696 Merge pull request 'chore: implement php test suites' (#50) from chore/php83-test-suites into main
Reviewed-on: #50
2026-07-24 02:26:37 +00:00
Sebastian d787fbf358 chore: implement php test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-23 22:20:36 -04:00
Sebastian b763742da7 Update dependency sass to v1.101.6 2026-07-23 03:05:42 +00:00
Sebastian 40421c10ca Update dependency vue-router to v5.2.0 2026-07-20 03:05:37 +00:00
Sebastian 1d1e85571a Update dependency vue to v3.5.40 2026-07-18 03:03:04 +00:00
Sebastian 08e5db5835 Update dependency @vitejs/plugin-vue to v6.0.8 2026-07-18 03:03:02 +00:00
Sebastian 43b1cdf94f Merge pull request 'Update dependency @types/node to v24.13.3' (#40) from renovate/node-24.x-lockfile into main
Reviewed-on: #40
2026-07-17 23:20:01 +00:00
Sebastian 91f1b63201 Merge pull request 'Update dependency vue-tsc to v3.3.7' (#42) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #42
2026-07-17 23:19:54 +00:00
Sebastian 8f01e1b361 Merge pull request 'Update dependency vuetify to v4.1.5' (#43) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #43
2026-07-17 23:19:50 +00:00
Sebastian 4e586ab27d Merge pull request 'Update dependency typescript to v7' (#44) from renovate/typescript-7.x into main
Reviewed-on: #44
2026-07-17 23:19:45 +00:00
Sebastian 1827535ee8 Merge pull request 'Update dependency vite to v8.1.5' (#41) from renovate/vite-8.x-lockfile into main
Reviewed-on: #41
2026-07-17 23:19:39 +00:00
Sebastian 9342299ea3 Update dependency vite to v8.1.5 2026-07-17 03:05:54 +00:00
Sebastian 321a05be78 refactor: rename main entry point
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-14 17:40:10 -04:00
Sebastian efc93ef701 Update dependency vuetify to v4.1.5 2026-07-14 03:06:24 +00:00
Sebastian a19deb8414 Update dependency typescript to v7 2026-07-12 03:06:10 +00:00
Sebastian 52a548355e Update dependency vue-tsc to v3.3.7 2026-07-11 03:05:05 +00:00
Sebastian 20001f7a50 Update dependency @types/node to v24.13.3 2026-07-10 03:05:37 +00:00
Sebastian 1324c3bb81 Track Composer dependencies
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-09 22:56:21 -04:00
Sebastian 27435d7bf3 fix(renovate): install renovate in runner temp
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-09 20:12:07 -04:00
Sebastian 4b7b61d7b6 Merge pull request 'Update dependency vue to v3.5.39' (#36) from renovate/vue-monorepo into main
Reviewed-on: #36
2026-07-09 23:49:56 +00:00
Sebastian 476b74a57e Merge pull request 'Update dependency vite to v8.1.3' (#37) from renovate/vite-8.x-lockfile into main
Reviewed-on: #37
2026-07-09 23:49:49 +00:00
Sebastian 0c127cf847 Merge pull request 'Update dependency vue-tsc to v3.3.6' (#38) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #38
2026-07-07 22:18:51 +00:00
Sebastian 8196b55292 Merge pull request 'Update dependency vuetify to v4.1.3' (#39) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #39
2026-07-07 22:17:58 +00:00
Sebastian f75a05f3f6 Update dependency vuetify to v4.1.3 2026-07-07 03:06:08 +00:00
Sebastian 9739f0b7d2 Update dependency vue-tsc to v3.3.6 2026-07-05 03:06:25 +00:00
Sebastian 005a34e826 Update dependency vite to v8.1.3 2026-07-05 03:06:21 +00:00
Sebastian f3aa4c61fc Update dependency vue to v3.5.39 2026-06-29 03:06:33 +00:00
Sebastian 020306f8aa Merge pull request 'Update dependency vite to v8.1.0' (#35) from renovate/vite-8.x-lockfile into main
Reviewed-on: #35
2026-06-24 15:01:08 +00:00
Sebastian e3a5c2f40d Update dependency vite to v8.1.0 2026-06-24 03:04:46 +00:00
Sebastian cf361c1758 Merge pull request 'Update dependency vuetify to v4.1.2' (#34) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #34
2026-06-20 22:59:59 +00:00
Sebastian 975f669747 Update dependency vuetify to v4.1.2 2026-06-20 03:03:05 +00:00
Sebastian 4a3c02273a Merge pull request 'Update vue-language-tools monorepo to v3.3.5' (#32) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #32
2026-06-18 23:08:54 +00:00
Sebastian 31e75ac53e Merge pull request 'Update dependency vue-router to v5.1.0' (#33) from renovate/vue-router-5.x-lockfile into main
Reviewed-on: #33
2026-06-18 23:08:46 +00:00
Sebastian 842241bf65 Update dependency vue-router to v5.1.0 2026-06-18 03:06:43 +00:00
Sebastian 5d819f2fa5 Update vue-language-tools monorepo to v3.3.5 2026-06-18 03:06:38 +00:00
Sebastian 78d047b76c Merge pull request 'Update vue-language-tools monorepo to v3.3.4' (#28) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #28
2026-06-16 17:41:23 +00:00
Sebastian 5c0a06be1f Merge pull request 'Update dependency @types/node to v24.13.2' (#29) from renovate/node-24.x-lockfile into main
Reviewed-on: #29
2026-06-16 17:41:17 +00:00
Sebastian d9b2f878f7 Merge pull request 'Update vue monorepo to v3.5.38' (#30) from renovate/vue-monorepo into main
Reviewed-on: #30
2026-06-16 17:41:10 +00:00
Sebastian ccf0e544eb Merge pull request 'Update dependency sass to v1.101.0' (#31) from renovate/sass-1.x-lockfile into main
Reviewed-on: #31
2026-06-16 17:41:02 +00:00
Sebastian c51d4f3fd8 Update dependency sass to v1.101.0 2026-06-13 03:02:31 +00:00
Sebastian 4577b5a9d4 Update dependency @types/node to v24.13.2 2026-06-13 03:02:29 +00:00
Sebastian 5c4c2ea098 Update vue monorepo to v3.5.38 2026-06-13 03:02:25 +00:00
Sebastian 5e822cab54 Update vue-language-tools monorepo to v3.3.4 2026-06-10 03:03:26 +00:00
Sebastian ebcb6fd27f Merge pull request 'Update dependency vite to v8.0.16' (#26) from renovate/vite-8.x-lockfile into main
Renovate / renovate (push) Failing after 2m35s
Reviewed-on: #26
2026-06-06 04:10:38 +00:00
Sebastian dce1543eb6 Merge pull request 'Update vue-language-tools monorepo to v3.3.3' (#27) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #27
2026-06-06 04:10:29 +00:00
Sebastian 8afead78d8 Update vue-language-tools monorepo to v3.3.3 2026-06-05 03:03:10 +00:00
Sebastian e067046380 Update dependency vite to v8.0.16 2026-06-05 03:03:07 +00:00
Sebastian 4517c16ab1 Merge pull request 'Update dependency vite to v8.0.14' (#22) from renovate/vite-8.x-lockfile into main
Renovate / renovate (push) Failing after 1m22s
Reviewed-on: #22
2026-05-29 03:12:33 +00:00
Sebastian 75e25482d1 Merge pull request 'Update dependency vue to v3.5.35' (#24) from renovate/vue-monorepo into main
Reviewed-on: #24
2026-05-29 03:10:50 +00:00
Sebastian cb1d231759 Merge pull request 'Update dependency vue-tsc to v3.3.2' (#25) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #25
2026-05-29 03:10:43 +00:00
Sebastian 2682593683 Update dependency vue-tsc to v3.3.2 2026-05-29 03:02:29 +00:00
Sebastian af92e711d9 Update dependency vue to v3.5.35 2026-05-29 03:02:27 +00:00
Sebastian 10f51530d8 Update dependency vite to v8.0.14 2026-05-26 03:02:35 +00:00
Sebastian 896f284ca7 Merge pull request 'Update dependency vue-tsc to v3.3.1' (#21) from renovate/vue-tsc-3.x-lockfile into main
Renovate / renovate (push) Successful in 2m17s
Reviewed-on: #21
2026-05-21 03:40:22 +00:00
Sebastian cd82ab0035 Merge pull request 'Update dependency echarts to v6.1.0' (#20) from renovate/echarts-6.x-lockfile into main
Reviewed-on: #20
2026-05-21 03:40:14 +00:00
Sebastian 59fa4633f0 Update dependency vue-tsc to v3.3.1 2026-05-20 03:02:21 +00:00
Sebastian c10ec20bf4 Update dependency echarts to v6.1.0 2026-05-20 03:02:19 +00:00
Sebastian d0632d6b76 Merge pull request 'Update dependency vuetify to v4' (#17) from renovate/vuetify-4.x into main
Renovate / renovate (push) Failing after 1m29s
Reviewed-on: #17
2026-05-15 13:19:13 +00:00
Sebastian 55d4c5dea3 Update dependency vuetify to v4 2026-05-15 13:18:51 +00:00
Sebastian 48218b9633 Merge pull request 'Update dependency vite-plugin-vuetify to v2.1.3' (#18) from renovate/vite-plugin-vuetify-2.x into main
Reviewed-on: #18
2026-05-15 13:17:24 +00:00
Sebastian 9ade39b5e6 Update dependency vite-plugin-vuetify to v2.1.3 2026-05-15 13:17:09 +00:00
12 changed files with 1658 additions and 740 deletions
+42
View File
@@ -0,0 +1,42 @@
name: Build Test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Retrieve Server Install Action
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/action-server-install
ref: main
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Install Server
uses: ./action-server-install
with:
install-php: 'false'
install-node: 'true'
php-version: '8.5'
node-version: '24'
server-path: './server'
- name: Checkout Pull Request
uses: actions/checkout@v6.0.2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
path: server/modules/dashboard
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/dashboard
- name: Build
run: npm run build
working-directory: server/modules/dashboard
+42
View File
@@ -0,0 +1,42 @@
name: JS Unit Tests
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Retrieve Server Install Action
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/action-server-install
ref: main
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Install Server
uses: ./action-server-install
with:
install-php: 'false'
install-node: 'true'
php-version: '8.5'
node-version: '24'
server-path: './server'
- name: Checkout Pull Request
uses: actions/checkout@v6.0.2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
path: server/modules/dashboard
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/dashboard
- name: Run tests
run: npm run test:unit
working-directory: server/modules/dashboard
+8 -2
View File
@@ -25,11 +25,17 @@ jobs:
tools: composer:v2 tools: composer:v2
- name: Install Renovate - name: Install Renovate
run: npm install -g renovate run: |
npm install --global --no-audit --fund=false \
--prefix "${{ runner.temp }}/renovate-npm" \
--cache "${{ runner.temp }}/renovate-npm-cache" \
renovate
"${{ runner.temp }}/renovate-npm/bin/renovate" --version
- name: Run Renovate - name: Run Renovate
env: env:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_PLATFORM: gitea RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: https://git.ktrix.dev/api/v1 RENOVATE_ENDPOINT: https://git.ktrix.dev/api/v1
run: renovate ${{ gitea.repository }} run: |
"${{ runner.temp }}/renovate-npm/bin/renovate" ${{ gitea.repository }}
+2 -4
View File
@@ -12,12 +12,10 @@ node_modules/
/static/ /static/
# Backend development # Backend development
/vendor/
/lib/vendor/ /lib/vendor/
coverage/ coverage/
phpunit.xml.cache *.cache
.phpunit.result.cache
.php-cs-fixer.cache
.phpstan.cache
.phpactor/ .phpactor/
# Editors # Editors
Generated
+18
View File
@@ -0,0 +1,18 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "475c660425ef552cb502e7a5cd7300c0",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {},
"platform-dev": {},
"plugin-api-version": "2.6.0"
}
+8 -12
View File
@@ -2,13 +2,14 @@
namespace KTXM\Dashboard; namespace KTXM\Dashboard;
use KTXF\Module\ModuleBrowserInterface; use KTXF\Module\Configuration\BrowserModuleContextInterface;
use KTXF\Module\Configuration\ModuleContextInterface;
use KTXF\Module\ModuleInstanceAbstract; use KTXF\Module\ModuleInstanceAbstract;
/** /**
* Dashboard Module * Dashboard Module
*/ */
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface class Module extends ModuleInstanceAbstract
{ {
public function __construct() public function __construct()
@@ -50,16 +51,11 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
]; ];
} }
public function registerBI(): array { public function configure(ModuleContextInterface $context): void
return [ {
'handle' => $this->handle(), if ($context instanceof BrowserModuleContextInterface) {
'namespace' => 'Dashboard', $context->registerModule($this, 'Dashboard', 'static/module.mjs');
'version' => $this->version(), }
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
} }
} }
+1460 -715
View File
File diff suppressed because it is too large Load Diff
+13 -5
View File
@@ -11,12 +11,16 @@
"dev": "vite build --mode development --config vite.config.ts", "dev": "vite build --mode development --config vite.config.ts",
"watch": "vite build --mode development --watch --config vite.config.ts", "watch": "vite build --mode development --watch --config vite.config.ts",
"typecheck": "vue-tsc --noEmit", "typecheck": "vue-tsc --noEmit",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"test": "vitest run --config tests/js/vitest.config.ts",
"test:unit": "vitest run --config tests/js/vitest.config.ts",
"test:watch": "vitest watch --config tests/js/vitest.config.ts",
"test:coverage": "vitest run --coverage --config tests/js/vitest.config.ts"
}, },
"dependencies": { "dependencies": {
"@mdi/js": "^7.4.47", "@mdi/js": "^7.4.47",
"echarts": "^6.0.0", "echarts": "^6.0.0",
"pinia": "^3.0.0", "pinia": "^4.0.0",
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-echarts": "^8.0.0", "vue-echarts": "^8.0.0",
"vue-router": "^5.0.0", "vue-router": "^5.0.0",
@@ -27,9 +31,13 @@
"@vitejs/plugin-vue": "^6.0.0", "@vitejs/plugin-vue": "^6.0.0",
"@vue/tsconfig": "^0.9.0", "@vue/tsconfig": "^0.9.0",
"sass": "^1.77.1", "sass": "^1.77.1",
"typescript": "^6.0.0", "typescript": "~6.0.0",
"vite": "^8.0.0", "vite": "^8.0.0",
"vite-plugin-vuetify": "2.0.4", "vite-plugin-vuetify": "2.1.3",
"vue-tsc": "^3.0.0" "vue-tsc": "^3.0.0",
"@vitest/coverage-v8": "^4.1.6",
"@vue/test-utils": "^2.4.10",
"jsdom": "^30.0.0",
"vitest": "^4.1.6"
} }
} }
+1 -1
View File
@@ -2,7 +2,7 @@ const routes = [
{ {
name: 'home', name: 'home',
path: '/', path: '/',
component: () => import('@/views/Main.vue'), component: () => import('@/pages/Main.vue'),
}, },
]; ];
+30
View File
@@ -0,0 +1,30 @@
import { describe, it, expect } from 'vitest'
describe('Basic Tests', () => {
it('should perform basic assertion', () => {
expect(true).toBe(true)
})
it('should test array operations', () => {
const array = ['foo', 'bar', 'baz']
expect(array).toHaveLength(3)
expect(array).toContain('bar')
expect(array[0]).toBe('foo')
})
it('should test string operations', () => {
const string = 'Hello, World!'
expect(string).toContain('World')
expect(string.length).toBe(13)
})
it('should test object operations', () => {
const obj = { foo: 'bar', count: 42 }
expect(obj).toHaveProperty('foo')
expect(obj.foo).toBe('bar')
expect(obj.count).toBeGreaterThan(40)
})
})
+33
View File
@@ -0,0 +1,33 @@
import { fileURLToPath } from 'node:url'
import { defineConfig, configDefaults } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import path from 'path'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, '../../src'),
'@KTXC': path.resolve(__dirname, '../../../../core/src'),
},
},
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('../../', import.meta.url)),
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'tests/',
'**/*.d.ts',
'**/*.config.*',
'**/dist/**',
],
},
},
})