version bump
This commit is contained in:
16
README.md
16
README.md
@@ -1,4 +1,4 @@
|
|||||||
[](https://angular.io/) [](https://electron.atom.io/)
|
[](https://angular.io/) [](https://electronjs.org/)
|
||||||
|
|
||||||
[![Travis Build Status][build-badge]][build]
|
[![Travis Build Status][build-badge]][build]
|
||||||
[![Dependencies Status][dependencyci-badge]][dependencyci]
|
[![Dependencies Status][dependencyci-badge]][dependencyci]
|
||||||
@@ -15,8 +15,8 @@ Bootstrap and package your project with Angular 7 and Electron (Typescript + SAS
|
|||||||
|
|
||||||
Currently runs with:
|
Currently runs with:
|
||||||
|
|
||||||
- Angular v7.0.3
|
- Angular v7.1.4
|
||||||
- Electron v3.0.2
|
- Electron v4.0.0
|
||||||
- Electron Builder v20.28.1
|
- Electron Builder v20.28.1
|
||||||
|
|
||||||
With this sample, you can :
|
With this sample, you can :
|
||||||
@@ -42,7 +42,7 @@ npm install
|
|||||||
There is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependencies manager.
|
There is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependencies manager.
|
||||||
|
|
||||||
|
|
||||||
If you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.
|
If you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.
|
||||||
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.
|
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
@@ -51,12 +51,12 @@ npm install -g @angular/cli
|
|||||||
|
|
||||||
## To build for development
|
## To build for development
|
||||||
|
|
||||||
- **in a terminal window** -> npm start
|
- **in a terminal window** -> npm start
|
||||||
|
|
||||||
Voila! You can use your Angular + Electron app in a local development environment with hot reload !
|
Voila! You can use your Angular + Electron app in a local development environment with hot reload !
|
||||||
|
|
||||||
The application code is managed by `main.ts`. In this sample, the app runs with a simple Angular App (http://localhost:4200) and an Electron window.
|
The application code is managed by `main.ts`. In this sample, the app runs with a simple Angular App (http://localhost:4200) and an Electron window.
|
||||||
The Angular component contains an example of Electron and NodeJS native lib import.
|
The Angular component contains an example of Electron and NodeJS native lib import.
|
||||||
You can disable "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.ts`.
|
You can disable "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.ts`.
|
||||||
|
|
||||||
## Included Commands
|
## Included Commands
|
||||||
@@ -79,7 +79,7 @@ You can do this! Just by importing your library in npm dependencies (not devDepe
|
|||||||
|
|
||||||
## Browser mode
|
## Browser mode
|
||||||
|
|
||||||
Maybe you want to execute the application in the browser with hot reload ? You can do it with `npm run ng:serve:web`.
|
Maybe you want to execute the application in the browser with hot reload ? You can do it with `npm run ng:serve:web`.
|
||||||
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.
|
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.
|
||||||
|
|
||||||
## Branch & Packages version
|
## Branch & Packages version
|
||||||
|
|||||||
28
package.json
28
package.json
@@ -39,18 +39,18 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~0.10.0",
|
"@angular-devkit/build-angular": "0.11.4",
|
||||||
"@angular/cli": "7.0.6",
|
"@angular/cli": "7.1.4",
|
||||||
"@angular/common": "7.1.1",
|
"@angular/common": "7.1.4",
|
||||||
"@angular/compiler": "7.1.1",
|
"@angular/compiler": "7.1.4",
|
||||||
"@angular/compiler-cli": "7.1.1",
|
"@angular/compiler-cli": "7.1.4",
|
||||||
"@angular/core": "7.1.1",
|
"@angular/core": "7.1.4",
|
||||||
"@angular/forms": "7.1.1",
|
"@angular/forms": "7.1.4",
|
||||||
"@angular/http": "7.1.1",
|
"@angular/http": "7.1.4",
|
||||||
"@angular/language-service": "7.1.1",
|
"@angular/language-service": "7.1.4",
|
||||||
"@angular/platform-browser": "7.1.1",
|
"@angular/platform-browser": "7.1.4",
|
||||||
"@angular/platform-browser-dynamic": "7.1.1",
|
"@angular/platform-browser-dynamic": "7.1.4",
|
||||||
"@angular/router": "7.1.1",
|
"@angular/router": "7.1.4",
|
||||||
"@ngx-translate/core": "11.0.1",
|
"@ngx-translate/core": "11.0.1",
|
||||||
"@ngx-translate/http-loader": "4.0.0",
|
"@ngx-translate/http-loader": "4.0.0",
|
||||||
"@types/jasmine": "2.8.7",
|
"@types/jasmine": "2.8.7",
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
"@types/node": "8.9.4",
|
"@types/node": "8.9.4",
|
||||||
"codelyzer": "4.5.0",
|
"codelyzer": "4.5.0",
|
||||||
"conventional-changelog-cli": "2.0.11",
|
"conventional-changelog-cli": "2.0.11",
|
||||||
"core-js": "2.5.7",
|
"core-js": "2.6.1",
|
||||||
"electron": "3.0.10",
|
"electron": "4.0.0",
|
||||||
"electron-builder": "20.36.2",
|
"electron-builder": "20.36.2",
|
||||||
"electron-reload": "1.3.0",
|
"electron-reload": "1.3.0",
|
||||||
"jasmine-core": "3.3.0",
|
"jasmine-core": "3.3.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user