Skip to content

Commit 624bff4

Browse files
committed
misc: upgrade to angular 22
1 parent 414147c commit 624bff4

18 files changed

Lines changed: 2720 additions & 2967 deletions

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: npm run lint
6868

6969
- name: Install Playwright Browsers
70-
run: npx playwright@1.59.1 install --with-deps
70+
run: npx playwright@1.60.0 install --with-deps
7171

7272
- name: Run headless unit test
7373
run: npm run test -- --reporters=default

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: npm run lint
7070

7171
- name: Install Playwright Browsers
72-
run: npx playwright@1.59.1 install --with-deps
72+
run: npx playwright@1.60.0 install --with-deps
7373

7474
- name: Run headless unit test
7575
uses: GabrielBB/xvfb-action@v1

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: npm run lint
6666

6767
- name: Install Playwright Browsers
68-
run: npx playwright@1.59.1 install --with-deps
68+
run: npx playwright@1.60.0 install --with-deps
6969

7070
- name: Run headless unit test
7171
run: npm run test -- --reporters=default

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
# Introduction
1616

17-
Bootstrap and package your project with Angular 21 and Electron 41 (Typescript + SASS + Hot Reload) for creating Desktop applications.
17+
Bootstrap and package your project with Angular 22 and Electron 42 (Typescript + SASS + Hot Reload) for creating Desktop applications.
1818

1919
Currently runs with:
2020

21-
- Angular v21.2.10
22-
- Electron v41.3.0
21+
- Angular v22.0.0
22+
- Electron v42.4.0
2323

2424
With this sample, you can:
2525

eslint.config.js

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// @ts-check
2+
const eslint = require('@eslint/js');
3+
const tseslint = require('typescript-eslint');
4+
const angular = require('angular-eslint');
5+
6+
module.exports = tseslint.config(
7+
{
8+
ignores: [
9+
'app/**/*',
10+
'dist/**/*',
11+
'release/**/*',
12+
'src/environments/*',
13+
'e2e/playwright.config.ts',
14+
],
15+
},
16+
{
17+
files: ['**/*.ts'],
18+
extends: [
19+
eslint.configs.recommended,
20+
...tseslint.configs.recommended,
21+
...tseslint.configs.recommendedTypeChecked,
22+
...angular.configs.tsRecommended,
23+
],
24+
processor: angular.processInlineTemplates,
25+
languageOptions: {
26+
parserOptions: {
27+
projectService: true,
28+
},
29+
},
30+
rules: {
31+
'@typescript-eslint/no-empty-function': 'off',
32+
'@typescript-eslint/no-explicit-any': 'off',
33+
'@typescript-eslint/no-unsafe-assignment': 'off',
34+
'@typescript-eslint/no-unsafe-call': 'off',
35+
'@typescript-eslint/no-unsafe-member-access': 'off',
36+
'@angular-eslint/directive-selector': 'off',
37+
'@angular-eslint/component-selector': [
38+
'error',
39+
{
40+
type: 'element',
41+
prefix: 'app',
42+
style: 'kebab-case',
43+
},
44+
],
45+
},
46+
},
47+
{
48+
files: ['**/*.html'],
49+
extends: [...angular.configs.templateRecommended],
50+
rules: {},
51+
}
52+
);

0 commit comments

Comments
 (0)