25 Commits

Author SHA1 Message Date
Sebastian 6725a03676 Update dependency typescript to v7
Build Test / test (pull_request) Successful in 41s
JS Unit Tests / test (pull_request) Successful in 42s
2026-07-27 03:04:44 +00:00
Sebastian a23b5ff314 Merge pull request 'Update dependency vuetify to v4.1.6' (#50) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #50
2026-07-25 23:51:47 +00:00
Sebastian d683008640 Merge pull request 'Update dependency sass to v1.102.0' (#51) from renovate/sass-1.x-lockfile into main
Reviewed-on: #51
2026-07-25 23:51:38 +00:00
Sebastian c2d27c805c Update dependency sass to v1.102.0
JS Unit Tests / test (pull_request) Successful in 1m2s
Build Test / test (pull_request) Successful in 1m5s
2026-07-25 03:04:23 +00:00
Sebastian e18f239cf5 Update dependency vuetify to v4.1.6
Build Test / test (pull_request) Successful in 45s
JS Unit Tests / test (pull_request) Successful in 46s
2026-07-25 03:04:21 +00:00
Sebastian 3439265cd8 Merge pull request 'chore: implement js test suites' (#49) from chore/js-test-suites into main
Reviewed-on: #49
2026-07-24 04:35:13 +00:00
Sebastian 2c571a8fbc chore: implement js test suites
Build Test / test (pull_request) Successful in 41s
JS Unit Tests / test (pull_request) Successful in 45s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-24 00:32:56 -04:00
Sebastian 2660a5fa15 Merge pull request 'Update dependency @vitejs/plugin-vue to v6.0.8' (#47) from renovate/vitejs-plugin-vue-6.x-lockfile into main
Reviewed-on: #47
2026-07-24 03:16:12 +00:00
Sebastian 144e546779 Merge pull request 'Update dependency sass to v1.101.7' (#48) from renovate/sass-1.x-lockfile into main
Reviewed-on: #48
2026-07-24 03:16:05 +00:00
Sebastian 2d106461de Update dependency sass to v1.101.7 2026-07-24 03:12:17 +00:00
Sebastian 027cf244be Update dependency @vitejs/plugin-vue to v6.0.8 2026-07-24 03:12:15 +00:00
Sebastian 731a74ae97 Merge pull request 'Update dependency @types/node to v24.13.3' (#41) from renovate/node-24.x-lockfile into main
Reviewed-on: #41
2026-07-24 02:46:28 +00:00
Sebastian 8da1b50233 Merge pull request 'Update dependency vite to v8.1.5' (#42) from renovate/vite-8.x-lockfile into main
Reviewed-on: #42
2026-07-24 02:46:22 +00:00
Sebastian 6c3f5bddf7 Merge pull request 'Update dependency typescript to v7' (#44) from renovate/typescript-7.x into main
Reviewed-on: #44
2026-07-24 02:46:16 +00:00
Sebastian a06dfd2d9e Merge pull request 'Update dependency vuetify to v4.1.5' (#45) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #45
2026-07-24 02:46:09 +00:00
Sebastian 848c19aa4f Merge pull request 'Update dependency vue-tsc to v3.3.8' (#43) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #43
2026-07-24 02:46:01 +00:00
Sebastian eca7c62169 Merge pull request 'chore: implement php test suites' (#46) from chore/php83-test-suites into main
Reviewed-on: #46
2026-07-24 02:31:49 +00:00
Sebastian 455002b0e2 chore: implement php test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-23 22:20:36 -04:00
Sebastian 1dd0090254 Update dependency vue-tsc to v3.3.8 2026-07-23 03:02:59 +00:00
Sebastian 71375c4b55 Update dependency vite to v8.1.5 2026-07-23 03:02:57 +00:00
Sebastian 1c12ef6d28 Update dependency vuetify to v4.1.5 2026-07-19 03:02:36 +00:00
Sebastian dc67751c40 Update dependency @types/node to v24.13.3 2026-07-19 03:02:22 +00:00
Sebastian dcc160377c fix: remove deprecated baseUrl from module tsconfigs
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-18 21:34:28 -04:00
Sebastian 8705843729 refactor: rename main entry point
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-14 17:40:11 -04:00
Sebastian 25b421840b Update dependency typescript to v7 2026-07-11 03:02:34 +00:00
12 changed files with 2369 additions and 126 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/module_manager
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/module_manager
- name: Build
run: npm run build
working-directory: server/modules/module_manager
+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/module_manager
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/module_manager
- name: Run tests
run: npm run test:unit
working-directory: server/modules/module_manager
+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
+2200 -104
View File
File diff suppressed because it is too large Load Diff
+11 -3
View File
@@ -11,7 +11,11 @@
"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",
@@ -25,9 +29,13 @@
"@vitejs/plugin-vue": "^6.0.0",
"@vue/tsconfig": "^0.9.0",
"sass": "^1.77.1",
"typescript": "^6.0.0",
"typescript": "~7.0.0",
"vite": "^8.0.0",
"vite-plugin-vuetify": "^2.1.0",
"vue-tsc": "^3.0.0"
"vue-tsc": "^3.0.0",
"@vitest/coverage-v8": "^4.1.6",
"@vue/test-utils": "^2.4.10",
"jsdom": "^29.1.1",
"vitest": "^4.1.6"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@ const routes = [
{
name: 'module_manager',
path: '/modules',
component: () => import('@/views/ModuleList.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/**',
],
},
},
})
-1
View File
@@ -5,7 +5,6 @@
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@KTXC/*": ["../../core/src/*"]
+5 -12
View File
@@ -1,14 +1,7 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["src/**/*", "src/**/*.vue"],
"exclude": ["node_modules"],
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@KTXC/*": ["../../core/src/*"]
}
}
"files": [],
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.node.json" }
]
}
+4 -1
View File
@@ -1,5 +1,4 @@
{
"extends": "@vue/tsconfig/tsconfig.node.json",
"include": [
"vite.config.*",
"vitest.config.*",
@@ -8,11 +7,15 @@
"playwright.config.*"
],
"compilerOptions": {
"target": "ES2023",
"lib": ["ES2023"],
"skipLibCheck": true,
"composite": true,
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"module": "ESNext",
"moduleResolution": "Bundler",
"moduleDetection": "force",
"types": ["node"]
}
}