Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d7e64c7
removed material colors dependencies
Vegita2 Oct 2, 2025
abc71f8
added console warning if debug map load is active
Vegita2 Oct 2, 2025
c311de5
updated angular to 18
Vegita2 Oct 2, 2025
3f8170c
updated angular material to 18
Vegita2 Oct 2, 2025
df97e3c
updated angular to 19
Vegita2 Oct 2, 2025
123ee9f
updated angular material to 19
Vegita2 Oct 2, 2025
026addc
updated angular to 20
Vegita2 Oct 2, 2025
56f7fae
updated angular material to 20
Vegita2 Oct 2, 2025
a05eabf
removed old scrollbar styles
Vegita2 Oct 2, 2025
795d02e
fixed some style issues
Vegita2 Oct 2, 2025
a628f01
fixed history button touch target beeing too large
Vegita2 Oct 2, 2025
1f5387c
migrated to control flow syntax
Vegita2 Oct 2, 2025
f1e9377
updated more dependencies
Vegita2 Oct 2, 2025
aa1af19
updated ci to use node 22
Vegita2 Oct 2, 2025
23a0ccc
updated changelog
Vegita2 Oct 2, 2025
6fbfc4f
updated to angular 21
Vegita2 Dec 30, 2025
5d4a62d
updated to angular material to 21
Vegita2 Dec 30, 2025
f1db663
made event editor scrollable
Vegita2 Dec 30, 2025
a44196f
fixed compiler error
Vegita2 Dec 30, 2025
28538fd
updated eslint
Vegita2 Dec 30, 2025
76ad8e2
updated eslint rules
Vegita2 Dec 30, 2025
93a8fd4
updated eslint rules
Vegita2 Dec 30, 2025
872193a
updated eslint rules
Vegita2 Dec 30, 2025
efb3a0c
migrate dependency injection from constructor to inject function
Vegita2 Dec 30, 2025
5ebde16
fixed some eslint errors
Vegita2 Dec 30, 2025
e1d7fbd
migrated to standalone components
Vegita2 Dec 30, 2025
4461b56
fixed circular dependency
Vegita2 Dec 30, 2025
f8a8167
removed editorComponent from splitpane import
Vegita2 Dec 30, 2025
f8b2209
use default select inputs for consistent styles
Vegita2 Dec 30, 2025
91b57ec
fixed eslint errors
Vegita2 Dec 30, 2025
d63ddf3
more eslint fixes
Vegita2 Dec 30, 2025
21bdbaf
migrated appcomponent to standalone
Vegita2 Dec 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '22'
- uses: ./.github/actions/build
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '22'
- name: update changelog
run: |
export NEXT_VERSION_V=${{ needs.check.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '22'
- uses: ./.github/actions/build

- name: Get version from tag
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]
### Changed
- Updated all dependencies (Angular 17 -> 20)

## [1.8.2] 2025-09-28
### Added
- Added Array Widget
Expand Down
4 changes: 2 additions & 2 deletions common/src/require.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ if (typeof window !== 'undefined' &&
const pathPath = globalThis['doesNotMatter'] ? 'path' : 'path';

// Regular nodejs
fsPromise = import(fsPath);
pathPromise = import(pathPath);
fsPromise = import( /* @vite-ignore */ fsPath);
pathPromise = import( /* @vite-ignore */ pathPath);
} else {
// Not a supported plattform. Return dummy, do not fail on execute of the lambda.
fsPromise = Promise.resolve((() => new Proxy({}, {
Expand Down
113 changes: 0 additions & 113 deletions webapp/.eslintrc.json

This file was deleted.

76 changes: 52 additions & 24 deletions webapp/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,23 @@
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular/build:application",
"options": {
"allowedCommonJsDependencies": ["earcut", "jsoneditor"],
"outputPath": "distAngular",
"allowedCommonJsDependencies": [
"earcut",
"jsoneditor"
],
"externalDependencies": [
"electron"
],
"outputPath": {
"base": "distAngular"
},
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"assets": [
"src/assets",
"src/favicon.ico"
Expand All @@ -31,12 +40,11 @@
},
"scripts": [],
"aot": true,
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": true,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -46,8 +54,6 @@
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand All @@ -58,24 +64,24 @@
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "map-editor:build"
"builder": "@angular/build:dev-server",
"options": {
"buildTarget": "map-editor:build"
},
"configurations": {
"production": {
"buildTarget": "map-editor:build:production"
"production": {
"buildTarget": "map-editor:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "map-editor:build"
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "map-editor:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular/build:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
Expand All @@ -100,20 +106,42 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts"],
"eslintConfig": "./.eslintrc.json"
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
}
},
},
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"style": "scss"
"style": "scss",
"type": "component"
},
"@schematics/angular:directive": {
"prefix": "app"
"prefix": "app",
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
},
"cli": {
Expand Down
80 changes: 80 additions & 0 deletions webapp/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// @ts-check
const eslint = require('@eslint/js');
const tseslint = require('typescript-eslint');
const angular = require('angular-eslint');

module.exports = tseslint.config(
{
files: ['**/*.ts'],
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
...angular.configs.tsRecommended,
],
processor: angular.processInlineTemplates,
languageOptions: {
parserOptions: {
project: './tsconfig.json',
},
},
rules: {
// Angular selectors with custom prefixes
'@angular-eslint/component-selector': [
'error',
{type: 'element', prefix: ['app', 'cc'], style: 'kebab-case'},
],
'@angular-eslint/directive-selector': [
'error',
{type: 'attribute', prefix: ['app', 'cc'], style: 'camelCase'},
],
'@angular-eslint/no-output-on-prefix': 'off',
'@angular-eslint/no-output-native': 'off',

// TypeScript rules - relaxed from defaults
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-inferrable-types': 'warn',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/prefer-for-of': 'off',
'@typescript-eslint/consistent-indexed-object-style': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off',

// Code style
quotes: ['error', 'single'],
semi: ['error', 'always'],
'brace-style': ['error', '1tbs'],
curly: 'error',
eqeqeq: ['error', 'smart'],
'guard-for-in': 'error',
'no-bitwise': 'error',
'no-caller': 'error',
'no-eval': 'error',
'no-new-wrappers': 'error',
'no-throw-literal': 'error',
radix: 'error',
'max-len': ['error', 180],

// Relaxed from defaults
'no-empty': 'off',
'no-constant-condition': 'off',
'no-unused-vars': 'off',


},
},
{
files: ['**/*.html'],
extends: [...angular.configs.templateRecommended],
rules: {
// Disable due to bug in angular-eslint with certain template expressions
'@angular-eslint/template/eqeqeq': 'off',
},
},
);
2 changes: 1 addition & 1 deletion webapp/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function (config) {
require('karma-phantomjs-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')

],
client:{
clearContext: false // leave Jasmine Spec Runner output visible in browser
Expand Down
Loading