Skip to content

Commit f171504

Browse files
authored
Merge pull request #28 from VadimDez/feature/update-angular
Feature/update angular
2 parents 48712fb + 6de07e8 commit f171504

Some content is hidden

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

44 files changed

+6858
-10428
lines changed

.angular-cli.json

-60
This file was deleted.

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# Editor configuration, see https://editorconfig.org
22
root = true
33

44
[*]

.gitignore

+8-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22

33
# compiled output
44
/dist
5-
/dist-server
65
/tmp
76
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
89

910
# dependencies
1011
/node_modules
1112

13+
# profiling files
14+
chrome-profiler-events.json
15+
speed-measure-plugin.json
16+
1217
# IDEs and editors
1318
/.idea
1419
.project
@@ -24,20 +29,18 @@
2429
!.vscode/tasks.json
2530
!.vscode/launch.json
2631
!.vscode/extensions.json
32+
.history/*
2733

2834
# misc
2935
/.sass-cache
3036
/connect.lock
3137
/coverage
3238
/libpeerconnection.log
3339
npm-debug.log
40+
yarn-error.log
3441
testem.log
3542
/typings
3643

37-
# e2e
38-
/e2e/*.js
39-
/e2e/*.map
40-
4144
# System Files
4245
.DS_Store
4346
Thumbs.db

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 1.3.4
4+
* [[#27](https://github.com/VadimDez/ngx-img-fallback/issues/27)] - Upgrade Angular
5+
36
## 1.3.3
47
* [[#25](https://github.com/VadimDez/ngx-img-fallback/issues/25)] - loaded event does not fire on fallback
58
* [[#26](https://github.com/VadimDez/ngx-img-fallback/pull/26)] - onLoad to be called when the fallback image is used

angular.json

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"ngx-img-fallback": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "tsconfig.app.json",
25+
"assets": [
26+
"src/favicon.ico",
27+
"src/assets"
28+
],
29+
"styles": [
30+
"src/styles.scss"
31+
],
32+
"scripts": []
33+
},
34+
"configurations": {
35+
"production": {
36+
"fileReplacements": [{
37+
"replace": "src/environments/environment.ts",
38+
"with": "src/environments/environment.prod.ts"
39+
}],
40+
"optimization": true,
41+
"outputHashing": "all",
42+
"sourceMap": false,
43+
"extractCss": true,
44+
"namedChunks": false,
45+
"aot": true,
46+
"extractLicenses": true,
47+
"vendorChunk": false,
48+
"buildOptimizer": true,
49+
"budgets": [{
50+
"type": "initial",
51+
"maximumWarning": "2mb",
52+
"maximumError": "5mb"
53+
}]
54+
}
55+
}
56+
},
57+
"serve": {
58+
"builder": "@angular-devkit/build-angular:dev-server",
59+
"options": {
60+
"browserTarget": "ngx-img-fallback:build"
61+
},
62+
"configurations": {
63+
"production": {
64+
"browserTarget": "ngx-img-fallback:build:production"
65+
}
66+
}
67+
},
68+
"extract-i18n": {
69+
"builder": "@angular-devkit/build-angular:extract-i18n",
70+
"options": {
71+
"browserTarget": "ngx-img-fallback:build"
72+
}
73+
},
74+
"test": {
75+
"builder": "@angular-devkit/build-angular:karma",
76+
"options": {
77+
"main": "src/test.ts",
78+
"polyfills": "src/polyfills.ts",
79+
"tsConfig": "tsconfig.spec.json",
80+
"karmaConfig": "karma.conf.js",
81+
"assets": [
82+
"src/favicon.ico",
83+
"src/assets"
84+
],
85+
"styles": [
86+
"src/styles.scss"
87+
],
88+
"scripts": []
89+
}
90+
},
91+
"lint": {
92+
"builder": "@angular-devkit/build-angular:tslint",
93+
"options": {
94+
"tsConfig": [
95+
"tsconfig.app.json",
96+
"tsconfig.spec.json",
97+
"e2e/tsconfig.json"
98+
],
99+
"exclude": [
100+
"**/node_modules/**"
101+
]
102+
}
103+
},
104+
"e2e": {
105+
"builder": "@angular-devkit/build-angular:protractor",
106+
"options": {
107+
"protractorConfig": "e2e/protractor.conf.js",
108+
"devServerTarget": "ngx-img-fallback:serve"
109+
},
110+
"configurations": {
111+
"production": {
112+
"devServerTarget": "ngx-img-fallback:serve:production"
113+
}
114+
}
115+
}
116+
}
117+
}
118+
},
119+
"defaultProject": "ngx-img-fallback"
120+
}

0 commit comments

Comments
 (0)