Upgrade to Angular 12 / Electron 13
This commit is contained in:
11
README.md
11
README.md
@@ -14,12 +14,12 @@
|
||||
|
||||
# Introduction
|
||||
|
||||
Bootstrap and package your project with Angular 11 and Electron 12 (Typescript + SASS + Hot Reload) for creating Desktop applications.
|
||||
Bootstrap and package your project with Angular 12 and Electron 13 (Typescript + SASS + Hot Reload) for creating Desktop applications.
|
||||
|
||||
Currently runs with:
|
||||
|
||||
- Angular v11.2.8
|
||||
- Electron v12.0.6
|
||||
- Angular v12.0.2
|
||||
- Electron v13.0.1
|
||||
- Electron Builder v22.10.5
|
||||
|
||||
With this sample, you can:
|
||||
@@ -30,7 +30,7 @@ With this sample, you can:
|
||||
|
||||
/!\ Hot reload only pertains to the renderer process. The main electron process is not able to be hot reloaded, only restarted.
|
||||
|
||||
/!\ Angular 11.x CLI needs Node 10.13 or later to work correctly.
|
||||
/!\ Angular 12.x CLI needs Node 11 or later to work correctly.
|
||||
|
||||
## Getting Started
|
||||
|
||||
@@ -150,7 +150,8 @@ Please note that Hot reload is only available in Renderer process.
|
||||
- Angular 8 & Electron 7 : Branch [angular8](https://github.com/maximegris/angular-electron/tree/angular8)
|
||||
- Angular 9 & Electron 7 : Branch [angular9](https://github.com/maximegris/angular-electron/tree/angular9)
|
||||
- Angular 10 & Electron 9 : Branch [angular10](https://github.com/maximegris/angular-electron/tree/angular10)
|
||||
- Angular 11 & Electron 12 : (master)
|
||||
- Angular 11 & Electron 12 : Branch [angular10](https://github.com/maximegris/angular-electron/tree/angular11)
|
||||
- Angular 12 & Electron 13 : (master)
|
||||
|
||||
[maintained-badge]: https://img.shields.io/badge/maintained-yes-brightgreen
|
||||
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||
|
||||
9218
package-lock.json
generated
9218
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
80
package.json
80
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "angular-electron",
|
||||
"version": "9.0.8",
|
||||
"description": "Angular 11 with Electron (Typescript + SASS + Hot Reload)",
|
||||
"version": "10.0.0",
|
||||
"description": "Angular 12 with Electron (Typescript + SASS + Hot Reload)",
|
||||
"homepage": "https://github.com/maximegris/angular-electron",
|
||||
"author": {
|
||||
"name": "Maxime GRIS",
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
"angular 11",
|
||||
"angular 12",
|
||||
"electron",
|
||||
"nodejs",
|
||||
"typescript",
|
||||
@@ -44,64 +44,64 @@
|
||||
"@electron/remote": "1.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-builders/custom-webpack": "11.1.1",
|
||||
"@angular-devkit/build-angular": "0.1102.7",
|
||||
"@angular-eslint/builder": "2.0.2",
|
||||
"@angular-eslint/eslint-plugin": "2.0.2",
|
||||
"@angular-eslint/eslint-plugin-template": "2.0.2",
|
||||
"@angular-eslint/schematics": "2.0.2",
|
||||
"@angular-eslint/template-parser": "2.0.2",
|
||||
"@angular/cli": "11.2.7",
|
||||
"@angular/common": "11.2.8",
|
||||
"@angular/compiler": "11.2.8",
|
||||
"@angular/compiler-cli": "11.2.8",
|
||||
"@angular/core": "11.2.8",
|
||||
"@angular/forms": "11.2.8",
|
||||
"@angular/language-service": "11.2.8",
|
||||
"@angular/platform-browser": "11.2.8",
|
||||
"@angular/platform-browser-dynamic": "11.2.8",
|
||||
"@angular/router": "11.2.8",
|
||||
"@angular-builders/custom-webpack": "12.0.0",
|
||||
"@angular-devkit/build-angular": "12.0.2",
|
||||
"@angular-eslint/builder": "12.0.0",
|
||||
"@angular-eslint/eslint-plugin": "12.0.0",
|
||||
"@angular-eslint/eslint-plugin-template": "12.0.0",
|
||||
"@angular-eslint/schematics": "12.0.0",
|
||||
"@angular-eslint/template-parser": "12.0.0",
|
||||
"@angular/cli": "12.0.2",
|
||||
"@angular/common": "12.0.2",
|
||||
"@angular/compiler": "12.0.2",
|
||||
"@angular/compiler-cli": "12.0.2",
|
||||
"@angular/core": "12.0.2",
|
||||
"@angular/forms": "12.0.2",
|
||||
"@angular/language-service": "12.0.2",
|
||||
"@angular/platform-browser": "12.0.2",
|
||||
"@angular/platform-browser-dynamic": "12.0.2",
|
||||
"@angular/router": "12.0.2",
|
||||
"@ngx-translate/core": "13.0.0",
|
||||
"@ngx-translate/http-loader": "6.0.0",
|
||||
"@types/jasmine": "3.6.7",
|
||||
"@types/jasminewd2": "2.0.8",
|
||||
"@types/mocha": "8.2.1",
|
||||
"@types/node": "14.14.35",
|
||||
"@typescript-eslint/eslint-plugin": "4.16.1",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "4.15.0",
|
||||
"@typescript-eslint/parser": "4.16.1",
|
||||
"@types/jasmine": "3.7.6",
|
||||
"@types/jasminewd2": "2.0.9",
|
||||
"@types/mocha": "8.2.2",
|
||||
"@types/node": "15.6.1",
|
||||
"@typescript-eslint/eslint-plugin": "4.25.0",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "4.25.0",
|
||||
"@typescript-eslint/parser": "4.25.0",
|
||||
"chai": "4.3.4",
|
||||
"conventional-changelog-cli": "2.1.1",
|
||||
"core-js": "3.6.5",
|
||||
"cross-env": "7.0.3",
|
||||
"electron": "12.0.6",
|
||||
"electron": "13.0.1",
|
||||
"electron-builder": "22.10.5",
|
||||
"electron-reload": "1.5.0",
|
||||
"eslint": "7.22.0",
|
||||
"eslint-plugin-import": "2.22.1",
|
||||
"eslint-plugin-jsdoc": "31.6.1",
|
||||
"eslint": "7.27.0",
|
||||
"eslint-plugin-import": "2.23.4",
|
||||
"eslint-plugin-jsdoc": "35.0.0",
|
||||
"eslint-plugin-prefer-arrow": "1.2.3",
|
||||
"jasmine-core": "3.7.1",
|
||||
"jasmine-spec-reporter": "6.0.0",
|
||||
"karma": "6.2.0",
|
||||
"jasmine-spec-reporter": "7.0.0",
|
||||
"karma": "6.3.2",
|
||||
"karma-coverage-istanbul-reporter": "3.0.3",
|
||||
"karma-electron": "6.3.3",
|
||||
"karma-electron": "7.0.0",
|
||||
"karma-jasmine": "4.0.1",
|
||||
"karma-jasmine-html-reporter": "1.5.4",
|
||||
"mocha": "8.3.2",
|
||||
"karma-jasmine-html-reporter": "1.6.0",
|
||||
"mocha": "8.4.0",
|
||||
"nan": "2.14.2",
|
||||
"npm-run-all": "4.1.5",
|
||||
"rxjs": "6.6.6",
|
||||
"spectron": "14.0.0",
|
||||
"spectron": "15.0.0",
|
||||
"ts-node": "9.1.1",
|
||||
"tslib": "2.1.0",
|
||||
"typescript": "4.0.5",
|
||||
"typescript": "4.2.4",
|
||||
"wait-on": "5.0.1",
|
||||
"webdriver-manager": "12.1.8",
|
||||
"zone.js": "0.10.3"
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=11.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"chrome 83"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
import 'core-js/es/reflect';
|
||||
import 'zone.js/dist/zone';
|
||||
import 'zone.js';
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
/***************************************************************************************************
|
||||
* Zone JS is required by default for Angular itself.
|
||||
*/
|
||||
import 'zone.js/dist/zone'; // Included with Angular CLI.
|
||||
import 'zone.js'; // Included with Angular CLI.
|
||||
|
||||
|
||||
/***************************************************************************************************
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
||||
|
||||
import 'zone.js/dist/zone-testing';
|
||||
import 'zone.js/testing';
|
||||
import { getTestBed } from '@angular/core/testing';
|
||||
import {
|
||||
BrowserDynamicTestingModule,
|
||||
|
||||
Reference in New Issue
Block a user