Skip to content

Commit 8f13440

Browse files
authored
feat(*): Upgrade to Angular 7 (#134)
- Updgrade to Angular 7 - Migrate to Angular CLI project structure - Update docs BREAKING CHANGE: The upgrade to Angular 7 breaks compatibility with Angular 6 (and previous versions).
1 parent 5f228c7 commit 8f13440

File tree

73 files changed

+10787
-14582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+10787
-14582
lines changed

.angular-package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.editorconfig

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# Editor configuration (see http://EditorConfig.org)
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
23

34
[*]
45
charset = utf-8
5-
end_of_line = crlf
6-
indent_size = 4
76
indent_style = tab
7+
indent_size = 4
88
insert_final_newline = true
99
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 41 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,46 @@
1-
# Dependencies
2-
/node_modules
1+
# Created by https://www.gitignore.io/api/angular,visualstudiocode
2+
# Edit at https://www.gitignore.io/?templates=angular,visualstudiocode
33

4-
# Build
5-
/dist
4+
### Angular ###
5+
## Angular ##
6+
# compiled output
7+
dist/
8+
tmp/
9+
app/**/*.js
10+
app/**/*.js.map
611

7-
# Test coverage
8-
/coverage
12+
# dependencies
13+
node_modules/
14+
bower_components/
915

10-
# Development
11-
/.vscode
16+
# IDEs and editors
17+
.idea/
1218

13-
# Logs
14-
*.log
19+
# misc
20+
.sass-cache/
21+
connect.lock/
22+
coverage/
23+
libpeerconnection.log/
24+
npm-debug.log
25+
testem.log
26+
typings/
1527

16-
# Other
17-
*.todo
18-
*.old
19-
*.temp
20-
*.tmp
28+
# e2e
29+
e2e/*.js
30+
e2e/*.map
31+
32+
#System Files
33+
.DS_Store/
34+
35+
### VisualStudioCode ###
36+
.vscode/*
37+
!.vscode/settings.json
38+
!.vscode/tasks.json
39+
!.vscode/launch.json
40+
!.vscode/extensions.json
41+
42+
### VisualStudioCode Patch ###
43+
# Ignore all local history of files
44+
.history
45+
46+
# End of https://www.gitignore.io/api/angular,visualstudiocode

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,18 @@ jobs:
2929
install:
3030
- npm ci
3131
script:
32-
- npm run build
32+
- npm run build:library
33+
- npm run build:demo
3334

3435
- stage: test
3536
before_install:
3637
- npm install -g npm
3738
install:
3839
- npm ci
3940
script:
40-
- npm run test
41+
- npm run test:library
4142
after_success:
42-
- npm run test:coverage
43+
- npm run test:library:coverage
4344

4445
- stage: release
4546
before_install:
@@ -60,14 +61,14 @@ jobs:
6061
- echo "https://$GH_TOKEN:@github.com" > .git/credentials;
6162
# Do release
6263
- npm run release
63-
- npm run build
64-
- npm run release:copy
64+
- npm run build:library
65+
- npm run release:complete
6566
# Publish the dist folder
66-
- cd dist
67+
- cd dist/angular-notifier
6768
deploy:
6869
provider: npm
6970
7071
api_key: "$NPM_TOKEN"
7172
skip_cleanup: true
7273
after_deploy:
73-
- cd ..
74+
- cd ../..

0 commit comments

Comments
 (0)