Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
feat: add support for ng7
Browse files Browse the repository at this point in the history
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
ThorstenHans committed Nov 1, 2018
1 parent 9c2924e commit 0094d07
Show file tree
Hide file tree
Showing 24 changed files with 10,358 additions and 3,002 deletions.
18 changes: 0 additions & 18 deletions .npmignore

This file was deleted.

23 changes: 12 additions & 11 deletions .travis.yml
@@ -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
43 changes: 43 additions & 0 deletions angular.json
@@ -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"
}
32 changes: 0 additions & 32 deletions config/helpers.js

This file was deleted.

37 changes: 0 additions & 37 deletions config/karma.js

This file was deleted.

53 changes: 0 additions & 53 deletions config/specBundle.js

This file was deleted.

91 changes: 0 additions & 91 deletions config/webpack.test.js

This file was deleted.

15 changes: 0 additions & 15 deletions index.ts

This file was deleted.

1 change: 0 additions & 1 deletion karma.conf.js

This file was deleted.

0 comments on commit 0094d07

Please sign in to comment.