Compare commits

..

47 Commits

Author SHA1 Message Date
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
9 changed files with 1911 additions and 597 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
+1 -4
View File
@@ -15,10 +15,7 @@ node_modules/
/vendor/
/lib/vendor/
coverage/
phpunit.xml.cache
.phpunit.result.cache
.php-cs-fixer.cache
.phpstan.cache
*.cache
.phpactor/
# Editors
+1749 -587
View File
File diff suppressed because it is too large Load Diff
+12 -4
View File
@@ -11,12 +11,16 @@
"dev": "vite build --mode development --config vite.config.ts",
"watch": "vite build --mode development --watch --config vite.config.ts",
"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": {
"@mdi/js": "^7.4.47",
"echarts": "^6.0.0",
"pinia": "^3.0.0",
"pinia": "^4.0.0",
"vue": "^3.5.13",
"vue-echarts": "^8.0.0",
"vue-router": "^5.0.0",
@@ -27,9 +31,13 @@
"@vitejs/plugin-vue": "^6.0.0",
"@vue/tsconfig": "^0.9.0",
"sass": "^1.77.1",
"typescript": "^6.0.0",
"typescript": "~6.0.0",
"vite": "^8.0.0",
"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"
}
}
+2 -2
View File
@@ -2,8 +2,8 @@ const routes = [
{
name: 'home',
path: '/',
component: () => import('@/views/Main.vue'),
component: () => import('@/pages/Main.vue'),
},
];
export default routes;
export default routes;
+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/**',
],
},
},
})