Skip to content

Commit fa776d6

Browse files
authored
Merge pull request #423 from flauc/feature/angular-16
Feature/angular 16
2 parents 13ad1e6 + d594a1e commit fa776d6

Some content is hidden

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

49 files changed

+11594
-29184
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.angular/cache
12
# Node
23
node_modules/*
34
npm-debug.log
@@ -33,3 +34,6 @@ dist/*
3334

3435
# Playground tmp files
3536
.playground
37+
38+
# Docs
39+
docs/*

angular.json

Lines changed: 100 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,126 @@
44
"newProjectRoot": "projects",
55
"projects": {
66
"angular2-notifications": {
7-
"root": "",
8-
"sourceRoot": "src",
97
"projectType": "library",
8+
"root": "projects/angular2-notifications",
9+
"sourceRoot": "projects/angular2-notifications/src",
1010
"prefix": "lib",
1111
"architect": {
1212
"build": {
1313
"builder": "@angular-devkit/build-angular:ng-packagr",
1414
"options": {
15-
"tsConfig": "src/lib/tsconfig.lib.json",
16-
"project": "ng-package.json"
15+
"project": "projects/angular2-notifications/ng-package.json"
1716
},
1817
"configurations": {
19-
"production": {
20-
"tsConfig": "src/lib/tsconfig.lib.prod.json"
21-
}
22-
}
18+
"production": { },
19+
"development": { }
20+
},
21+
"defaultConfiguration": "production"
2322
},
2423
"test": {
2524
"builder": "@angular-devkit/build-angular:karma",
2625
"options": {
27-
"main": "src/lib/test.ts",
28-
"tsConfig": "src/lib/tsconfig.spec.json",
29-
"karmaConfig": "src/lib/karma.conf.js"
26+
"tsConfig": "projects/angular2-notifications/tsconfig.spec.json",
27+
"polyfills": [
28+
"zone.js",
29+
"zone.js/testing"
30+
]
31+
}
32+
}
33+
}
34+
},
35+
"demo-app": {
36+
"projectType": "application",
37+
"schematics": {},
38+
"root": "projects/demo-app",
39+
"sourceRoot": "projects/demo-app/src",
40+
"prefix": "app",
41+
"architect": {
42+
"build": {
43+
"builder": "@angular-devkit/build-angular:browser",
44+
"options": {
45+
"outputPath": "dist/demo-app",
46+
"index": "projects/demo-app/src/index.html",
47+
"main": "projects/demo-app/src/main.ts",
48+
"polyfills": [
49+
"zone.js"
50+
],
51+
"tsConfig": "projects/demo-app/tsconfig.app.json",
52+
"assets": [
53+
"projects/demo-app/src/favicon.ico",
54+
"projects/demo-app/src/assets"
55+
],
56+
"styles": [
57+
"projects/demo-app/src/styles.css"
58+
],
59+
"scripts": []
60+
},
61+
"configurations": {
62+
"production": {
63+
"budgets": [
64+
{
65+
"type": "initial",
66+
"maximumWarning": "500kb",
67+
"maximumError": "1mb"
68+
},
69+
{
70+
"type": "anyComponentStyle",
71+
"maximumWarning": "2kb",
72+
"maximumError": "4kb"
73+
}
74+
],
75+
"outputHashing": "all"
76+
},
77+
"development": {
78+
"buildOptimizer": false,
79+
"optimization": false,
80+
"vendorChunk": true,
81+
"extractLicenses": false,
82+
"sourceMap": true,
83+
"namedChunks": true
84+
}
85+
},
86+
"defaultConfiguration": "production"
87+
},
88+
"serve": {
89+
"builder": "@angular-devkit/build-angular:dev-server",
90+
"configurations": {
91+
"production": {
92+
"browserTarget": "demo-app:build:production"
93+
},
94+
"development": {
95+
"browserTarget": "demo-app:build:development"
96+
}
97+
},
98+
"defaultConfiguration": "development"
99+
},
100+
"extract-i18n": {
101+
"builder": "@angular-devkit/build-angular:extract-i18n",
102+
"options": {
103+
"browserTarget": "demo-app:build"
30104
}
31105
},
32-
"lint": {
33-
"builder": "@angular-eslint/builder:lint",
106+
"test": {
107+
"builder": "@angular-devkit/build-angular:karma",
34108
"options": {
35-
"lintFilePatterns": [
36-
"src/**/*.ts",
37-
"src/**/*.html"
38-
]
109+
"polyfills": [
110+
"zone.js",
111+
"zone.js/testing"
112+
],
113+
"tsConfig": "projects/demo-app/tsconfig.spec.json",
114+
"assets": [
115+
"projects/demo-app/src/favicon.ico",
116+
"projects/demo-app/src/assets"
117+
],
118+
"styles": [
119+
"projects/demo-app/src/styles.css"
120+
],
121+
"scripts": []
39122
}
40123
}
41124
}
42125
}
43126
},
44-
"defaultProject": "angular2-notifications",
45127
"cli": {
46128
"analytics": "77332a81-cd25-487c-805b-f20186e07788"
47129
}

ng-package.json

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

0 commit comments

Comments
 (0)