32 Commits

Author SHA1 Message Date
Sebastian 08e8298fca Merge pull request 'Update dependency vue-tsc to v3.3.9' (#46) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #46
2026-08-07 12:06:18 +00:00
Sebastian 5c9b93c803 Merge pull request 'Update dependency vuetify to v4.1.7' (#44) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #44
2026-08-07 12:06:08 +00:00
Sebastian 5315a3bace Merge pull request 'Update dependency jsdom to v30' (#43) from renovate/jsdom-30.x into main
Reviewed-on: #43
2026-08-07 12:05:58 +00:00
Sebastian a9cdc7bf19 Merge pull request 'Update dependency vue to v3.5.41' (#47) from renovate/vue-monorepo into main
Reviewed-on: #47
2026-08-07 12:05:48 +00:00
Sebastian dfaa7fe55b Merge pull request 'Update dependency vite to v8.2.1' (#45) from renovate/vite-8.x-lockfile into main
Reviewed-on: #45
2026-08-07 12:05:37 +00:00
Sebastian c61036d874 Update dependency vite to v8.2.1
Build Test / test (pull_request) Successful in 45s
JS Unit Tests / test (pull_request) Successful in 45s
2026-08-07 03:07:19 +00:00
Sebastian b5bc78c35f Update dependency vue to v3.5.41
Build Test / test (pull_request) Successful in 1m27s
JS Unit Tests / test (pull_request) Successful in 1m18s
2026-08-06 03:06:27 +00:00
Sebastian e891110e2a Update dependency vue-tsc to v3.3.9
Build Test / test (pull_request) Successful in 45s
JS Unit Tests / test (pull_request) Successful in 34s
2026-08-01 03:07:44 +00:00
Sebastian 19ed1fcab8 Update dependency vuetify to v4.1.7
JS Unit Tests / test (pull_request) Successful in 42s
Build Test / test (pull_request) Successful in 45s
2026-07-31 03:07:12 +00:00
Sebastian d8f83aa989 Update dependency jsdom to v30
Build Test / test (pull_request) Successful in 1m2s
JS Unit Tests / test (pull_request) Successful in 1m2s
2026-07-28 03:07:18 +00:00
Sebastian ca5febd0f7 Merge pull request 'Update dependency vuetify to v4.1.6' (#41) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #41
2026-07-25 23:51:19 +00:00
Sebastian 7d67ff94bc Update dependency vuetify to v4.1.6
Build Test / test (pull_request) Successful in 38s
JS Unit Tests / test (pull_request) Successful in 43s
2026-07-25 03:05:10 +00:00
Sebastian 997f06af76 Merge pull request 'chore: implement js test suites' (#40) from chore/js-test-suites into main
Reviewed-on: #40
2026-07-24 04:32:34 +00:00
Sebastian 436e7e590d chore: implement js test suites
JS Unit Tests / test (pull_request) Successful in 36s
Build Test / test (pull_request) Successful in 38s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-24 00:30:52 -04:00
Sebastian a814023f41 Merge pull request 'Update dependency pinia to v4' (#34) from renovate/pinia-4.x into main
Reviewed-on: #34
2026-07-24 03:09:16 +00:00
Sebastian 4ca895b891 Merge pull request 'Update dependency vuetify to v4.1.6' (#39) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #39
2026-07-24 03:09:09 +00:00
Sebastian 10d169fdeb Update dependency pinia to v4 2026-07-24 02:55:39 +00:00
Sebastian daae008724 Update dependency vuetify to v4.1.6 2026-07-24 02:55:36 +00:00
Sebastian 97ac43cbe6 Merge pull request 'Update dependency vue to v3.5.40' (#36) from renovate/vue-monorepo into main
Reviewed-on: #36
2026-07-24 02:43:33 +00:00
Sebastian 11e116ae12 Merge pull request 'Update dependency vue-tsc to v3.3.8' (#37) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #37
2026-07-24 02:43:26 +00:00
Sebastian 9e8a6af850 Merge pull request 'chore: implement php test suites' (#38) from chore/php83-test-suites into main
Reviewed-on: #38
2026-07-24 02:27:05 +00:00
Sebastian e4ef6d4ce4 chore: implement php test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-23 22:20:36 -04:00
Sebastian bc5fa3986e Update dependency vue-tsc to v3.3.8 2026-07-23 03:05:38 +00:00
Sebastian 979a9bfa48 Update dependency vue to v3.5.40 2026-07-18 03:03:07 +00:00
Sebastian 1b71a100ee Merge pull request 'Update dependency vuetify to v4.1.5' (#32) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #32
2026-07-17 23:20:46 +00:00
Sebastian 7c5251b7d5 Merge pull request 'Update dependency @vitejs/plugin-vue to v6.0.8' (#33) from renovate/vitejs-plugin-vue-6.x-lockfile into main
Reviewed-on: #33
2026-07-17 23:20:41 +00:00
Sebastian 75d32408f2 Merge pull request 'Update dependency vue-router to v5.2.0' (#35) from renovate/vue-router-5.x-lockfile into main
Reviewed-on: #35
2026-07-17 23:20:33 +00:00
Sebastian 234d37221e Merge pull request 'Update dependency vite to v8.1.5' (#31) from renovate/vite-8.x-lockfile into main
Reviewed-on: #31
2026-07-17 23:20:28 +00:00
Sebastian f11eccba6e Update dependency vite to v8.1.5 2026-07-17 03:05:42 +00:00
Sebastian 04cd59722c Update dependency vue-router to v5.2.0 2026-07-16 03:05:37 +00:00
Sebastian 63915306ac Update dependency @vitejs/plugin-vue to v6.0.8 2026-07-15 03:05:21 +00:00
Sebastian daf19971d6 Update dependency vuetify to v4.1.5 2026-07-14 03:06:37 +00:00
7 changed files with 1913 additions and 881 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/demo
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/demo
- name: Build
run: npm run build
working-directory: server/modules/demo
+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/demo
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/demo
- name: Run tests
run: npm run test:unit
working-directory: server/modules/demo
+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
+1754 -874
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": {
"pinia": "^4.0.0",
@@ -22,8 +26,12 @@
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"@vue/tsconfig": "^0.9.0",
"typescript": "~7.0.0",
"typescript": "~6.0.0",
"vite": "^8.0.0",
"vue-tsc": "^3.0.5"
"vue-tsc": "^3.0.5",
"@vitest/coverage-v8": "^4.1.6",
"@vue/test-utils": "^2.4.10",
"jsdom": "^30.0.0",
"vitest": "^4.1.6"
}
}
+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/**',
],
},
},
})