Skip to content

Commit 3f3527e

Browse files
committed
misc: upgrade to angular 20 & Electron 39
1 parent 1117613 commit 3f3527e

File tree

10 files changed

+20501
-17744
lines changed

10 files changed

+20501
-17744
lines changed

README.md

Lines changed: 5 additions & 6 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 19 and Electron 36 (Typescript + SASS + Hot Reload) for creating Desktop applications.
17+
Bootstrap and package your project with Angular 20 and Electron 39 (Typescript + SASS + Hot Reload) for creating Desktop applications.
1818

1919
Currently runs with:
2020

21-
- Angular v19.2.14
22-
- Electron v36.0.0
21+
- Angular v20.3.15
22+
- Electron v39.2.5
2323

2424
With this sample, you can:
2525

@@ -30,8 +30,6 @@ With this sample, you can:
3030

3131
/!\ Hot reload only pertains to the renderer process. The main electron process is not able to be hot reloaded, only restarted.
3232

33-
/!\ Angular CLI & Electron Builder needs Node 18.10 or later to work correctly.
34-
3533
## Getting Started
3634

3735
*Clone this repository locally:*
@@ -161,7 +159,8 @@ Please refer to [HOW_TO file](./HOW_TO.md)
161159
- Angular 15 & Electron 24 : Branch [angular15](https://github.com/maximegris/angular-electron/tree/angular15)
162160
- Angular 16 & Electron 25 : Branch [angular16](https://github.com/maximegris/angular-electron/tree/angular16)
163161
- Angular 17 & Electron 30 : Branch [angular17](https://github.com/maximegris/angular-electron/tree/angular17)
164-
- Angular 19 & Electron 36 : (main)
162+
Angular 19 & Electron 36 : Branch [angular19](https://github.com/maximegris/angular-electron/tree/angular19)
163+
- Angular 20 & Electron 39 : (main)
165164

166165
[maintained-badge]: https://img.shields.io/badge/maintained-yes-brightgreen
167166
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg

angular.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,30 @@
177177
},
178178
"@angular-eslint/schematics:library": {
179179
"setParserOptionsProject": true
180+
},
181+
"@schematics/angular:component": {
182+
"type": "component"
183+
},
184+
"@schematics/angular:directive": {
185+
"type": "directive"
186+
},
187+
"@schematics/angular:service": {
188+
"type": "service"
189+
},
190+
"@schematics/angular:guard": {
191+
"typeSeparator": "."
192+
},
193+
"@schematics/angular:interceptor": {
194+
"typeSeparator": "."
195+
},
196+
"@schematics/angular:module": {
197+
"typeSeparator": "."
198+
},
199+
"@schematics/angular:pipe": {
200+
"typeSeparator": "."
201+
},
202+
"@schematics/angular:resolver": {
203+
"typeSeparator": "."
180204
}
181205
}
182206
}

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
const { createCjsPreset } = require('jest-preset-angular/presets');
12
const esModules = [].join('|');
23

34
module.exports = {
5+
...createCjsPreset(),
46
rootDir : './src',
57
transformIgnorePatterns: [`<rootDir>/node_modules/(?!${esModules})`],
68
transform: {

0 commit comments

Comments
 (0)