42 Commits

Author SHA1 Message Date
Sebastian d7818663f9 Update dependency vite to v8.3.0
Build Test / test (pull_request) Successful in 55s
JS Unit Tests / test (pull_request) Successful in 1m11s
2026-09-11 03:02:55 +00:00
Sebastian 8ee4e1f2cf Merge pull request 'Update dependency typescript to v7' (#54) from renovate/typescript-7.x into main
Reviewed-on: #54
2026-09-06 01:21:00 +00:00
Sebastian 7243e0bd61 Merge pull request 'Update dependency @vue/test-utils to v2.5.0' (#59) from renovate/vue-test-utils-2.x-lockfile into main
Reviewed-on: #59
2026-09-06 01:20:52 +00:00
Sebastian 66bde92b51 Merge pull request 'Update dependency vue to v3.5.42' (#61) from renovate/vue-monorepo into main
Reviewed-on: #61
2026-09-06 01:20:47 +00:00
Sebastian 029ed2e721 Merge pull request 'Update dependency sass to v1.104.0' (#60) from renovate/sass-1.x-lockfile into main
Reviewed-on: #60
2026-09-06 01:20:42 +00:00
Sebastian db3f63409f Update dependency sass to v1.104.0
Build Test / test (pull_request) Successful in 7m21s
JS Unit Tests / test (pull_request) Successful in 7m47s
2026-09-04 03:02:40 +00:00
Sebastian dd9f7e2b1b Update dependency vue to v3.5.42
JS Unit Tests / test (pull_request) Successful in 1m56s
Build Test / test (pull_request) Successful in 3m19s
2026-09-04 03:02:35 +00:00
Sebastian a4549235ce Update dependency @vue/test-utils to v2.5.0
Build Test / test (pull_request) Successful in 41s
JS Unit Tests / test (pull_request) Successful in 43s
2026-09-02 03:02:51 +00:00
Sebastian 9e8dc72fee Merge pull request 'Update dependency jsdom to v30' (#55) from renovate/jsdom-30.x into main
Reviewed-on: #55
2026-09-01 11:47:14 +00:00
Sebastian d53e3f2232 Merge pull request 'Update dependency vue-tsc to v3.3.11' (#57) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #57
2026-09-01 11:47:09 +00:00
Sebastian 46db58fc06 Merge pull request 'Update vitest monorepo to v4.1.11' (#58) from renovate/vitest-monorepo into main
Reviewed-on: #58
2026-09-01 11:47:04 +00:00
Sebastian 6dc70dc162 Update vitest monorepo to v4.1.11
Build Test / test (pull_request) Successful in 1m21s
JS Unit Tests / test (pull_request) Successful in 1m21s
2026-09-01 03:03:00 +00:00
Sebastian 62928977df Update dependency vue-tsc to v3.3.11
Build Test / test (pull_request) Successful in 1m14s
JS Unit Tests / test (pull_request) Successful in 1m14s
2026-09-01 03:02:50 +00:00
Sebastian b1e3deeb71 refactor(module): register integrations through runtime contexts
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-08-31 22:55:59 -04:00
Sebastian 211d935148 Update dependency jsdom to v30
Build Test / test (pull_request) Successful in 50s
JS Unit Tests / test (pull_request) Successful in 1m25s
2026-08-30 03:04:29 +00:00
Sebastian e4afeba0eb Merge pull request 'Update dependency vuetify to v4.1.12' (#56) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #56
2026-08-29 13:09:39 +00:00
Sebastian 05cb457069 Merge pull request 'Update dependency vue-router to v5.3.0' (#52) from renovate/vue-router-5.x-lockfile into main
Reviewed-on: #52
2026-08-29 13:09:31 +00:00
Sebastian 304d0efbfe Update dependency vue-router to v5.3.0
Build Test / test (pull_request) Successful in 47s
JS Unit Tests / test (pull_request) Successful in 38s
2026-08-28 03:10:04 +00:00
Sebastian bffaabe43d Update dependency vuetify to v4.1.12
Build Test / test (pull_request) Successful in 45s
JS Unit Tests / test (pull_request) Successful in 35s
2026-08-27 03:08:23 +00:00
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 25b421840b Update dependency typescript to v7 2026-07-11 03:02:34 +00:00
10 changed files with 2123 additions and 449 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
+7 -12
View File
@@ -2,13 +2,14 @@
namespace KTXM\ModuleManager;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\Configuration\BrowserModuleContextInterface;
use KTXF\Module\Configuration\ModuleContextInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Module Manager Module
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
class Module extends ModuleInstanceAbstract
{
public function __construct()
@@ -65,16 +66,10 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
];
}
public function registerBI(): array
public function configure(ModuleContextInterface $context): void
{
return [
'handle' => $this->handle(),
'namespace' => 'ModuleManager',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
if ($context instanceof BrowserModuleContextInterface) {
$context->registerModule($this, 'ModuleManager', 'static/module.mjs');
}
}
}
+1948 -418
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": "^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/**',
],
},
},
})
+5 -11
View File
@@ -1,13 +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",
"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"]
}
}