Skip to content

Commit 7e6b336

Browse files
author
Mirek Simek
committed
Upgraded to the newest ng-dynamic-forms and angular 6
1 parent c50a452 commit 7e6b336

File tree

122 files changed

+7829
-16287
lines changed

Some content is hidden

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

122 files changed

+7829
-16287
lines changed
File renamed without changes.

angular.json

+166
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"angular-demo": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"prefix": "app",
11+
"schematics": {
12+
"@schematics/angular:component": {
13+
"styleext": "scss"
14+
}
15+
},
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/angular-demo",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "src/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+
{
38+
"replace": "src/environments/environment.ts",
39+
"with": "src/environments/environment.prod.ts"
40+
}
41+
],
42+
"optimization": true,
43+
"outputHashing": "all",
44+
"sourceMap": false,
45+
"extractCss": true,
46+
"namedChunks": false,
47+
"aot": true,
48+
"extractLicenses": true,
49+
"vendorChunk": false,
50+
"buildOptimizer": true
51+
}
52+
}
53+
},
54+
"serve": {
55+
"builder": "@angular-devkit/build-angular:dev-server",
56+
"options": {
57+
"browserTarget": "angular-demo:build"
58+
},
59+
"configurations": {
60+
"production": {
61+
"browserTarget": "angular-demo:build:production"
62+
}
63+
}
64+
},
65+
"extract-i18n": {
66+
"builder": "@angular-devkit/build-angular:extract-i18n",
67+
"options": {
68+
"browserTarget": "angular-demo:build"
69+
}
70+
},
71+
"test": {
72+
"builder": "@angular-devkit/build-angular:karma",
73+
"options": {
74+
"main": "src/test.ts",
75+
"polyfills": "src/polyfills.ts",
76+
"tsConfig": "src/tsconfig.spec.json",
77+
"karmaConfig": "src/karma.conf.js",
78+
"styles": [
79+
"src/styles.scss"
80+
],
81+
"scripts": [],
82+
"assets": [
83+
"src/favicon.ico",
84+
"src/assets"
85+
]
86+
}
87+
},
88+
"lint": {
89+
"builder": "@angular-devkit/build-angular:tslint",
90+
"options": {
91+
"tsConfig": [
92+
"src/tsconfig.app.json",
93+
"src/tsconfig.spec.json"
94+
],
95+
"exclude": [
96+
"**/node_modules/**"
97+
]
98+
}
99+
}
100+
}
101+
},
102+
"angular-demo-e2e": {
103+
"root": "e2e/",
104+
"projectType": "application",
105+
"architect": {
106+
"e2e": {
107+
"builder": "@angular-devkit/build-angular:protractor",
108+
"options": {
109+
"protractorConfig": "e2e/protractor.conf.js",
110+
"devServerTarget": "angular-demo:serve"
111+
}
112+
},
113+
"lint": {
114+
"builder": "@angular-devkit/build-angular:tslint",
115+
"options": {
116+
"tsConfig": "e2e/tsconfig.e2e.json",
117+
"exclude": [
118+
"**/node_modules/**"
119+
]
120+
}
121+
}
122+
}
123+
},
124+
"django-angular-dynamic-forms": {
125+
"root": "projects/django-angular-dynamic-forms",
126+
"sourceRoot": "projects/django-angular-dynamic-forms/src",
127+
"projectType": "library",
128+
"prefix": "lib",
129+
"architect": {
130+
"build": {
131+
"builder": "@angular-devkit/build-ng-packagr:build",
132+
"options": {
133+
"tsConfig": "projects/django-angular-dynamic-forms/tsconfig.lib.json",
134+
"project": "projects/django-angular-dynamic-forms/ng-package.json"
135+
},
136+
"configurations": {
137+
"production": {
138+
"project": "projects/django-angular-dynamic-forms/ng-package.prod.json"
139+
}
140+
}
141+
},
142+
"test": {
143+
"builder": "@angular-devkit/build-angular:karma",
144+
"options": {
145+
"main": "projects/django-angular-dynamic-forms/src/test.ts",
146+
"tsConfig": "projects/django-angular-dynamic-forms/tsconfig.spec.json",
147+
"karmaConfig": "projects/django-angular-dynamic-forms/karma.conf.js"
148+
}
149+
},
150+
"lint": {
151+
"builder": "@angular-devkit/build-angular:tslint",
152+
"options": {
153+
"tsConfig": [
154+
"projects/django-angular-dynamic-forms/tsconfig.lib.json",
155+
"projects/django-angular-dynamic-forms/tsconfig.spec.json"
156+
],
157+
"exclude": [
158+
"**/node_modules/**"
159+
]
160+
}
161+
}
162+
}
163+
}
164+
},
165+
"defaultProject": "angular-demo"
166+
}

angular/.angular-package.json

-5
This file was deleted.

angular/.editorconfig

-14
This file was deleted.

angular/.gitignore

-45
This file was deleted.

angular/.npmignore

-28
This file was deleted.

angular/.travis.yml

-23
This file was deleted.

angular/gulpfile.js

-63
This file was deleted.

angular/karma-test-entry.ts

-24
This file was deleted.

0 commit comments

Comments
 (0)