forked from ThorstenHans/ngx-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ngx-electron got some love and finally supports angular 7 BREAKING CHANGE: Module has been re-written using angular-cli library schema, this may lead to breaking changes depending on your packaging mechanism
- Loading branch information
1 parent
9c2924e
commit 0094d07
Showing
24 changed files
with
10,358 additions
and
3,002 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
language: node_js | ||
cache: | ||
directories: | ||
- node_modules | ||
sudo: required | ||
notifications: | ||
email: false | ||
node_js: | ||
- '7' | ||
- '6' | ||
- '4' | ||
- '10' | ||
before_install: | ||
- export CHROME_BIN=chromium-browser | ||
before_script: | ||
- npm prune | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- export CHROME_BIN=chromium-browser | ||
- if [[ `npm -v` != 6* ]]; then npm i -g npm@6; fi | ||
after_success: | ||
- npm run build | ||
- cp .git dist/ngx-electron/ -r | ||
- cp README.md dist/ngx-electron/ | ||
- cd dist/ngx-electron/ | ||
- npm install | ||
- npm run semantic-release | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"ngx-electron": { | ||
"root": "projects/ngx-electron", | ||
"sourceRoot": "projects/ngx-electron/src", | ||
"projectType": "library", | ||
"prefix": "lib", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "projects/ngx-electron/tsconfig.lib.json", | ||
"project": "projects/ngx-electron/ng-package.json" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "projects/ngx-electron/test.ts", | ||
"tsConfig": "projects/ngx-electron/tsconfig.tests.json", | ||
"karmaConfig": "projects/ngx-electron/karma.conf.js" | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"projects/ngx-electron/tsconfig.lib.json", | ||
"projects/ngx-electron/tsconfig.tests.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"defaultProject": "ngx-electron" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.