Skip to content

Commit 3941522

Browse files
committed
Angular 15
1 parent e7f666f commit 3941522

File tree

120 files changed

+9960
-26174
lines changed

Some content is hidden

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

120 files changed

+9960
-26174
lines changed

.browserslistrc

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

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ indent_size = 2
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11+
[*.ts]
12+
quote_type = single
13+
1114
[*.md]
1215
max_line_length = off
1316
trim_trailing_whitespace = false

.eslintrc.json

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

.gitignore

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,42 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

3-
# compiled output
3+
# Compiled output
44
/dist
55
/tmp
66
/out-tsc
7-
# Only exists if Bazel was run
87
/bazel-out
98

10-
# dependencies
9+
# Node
1110
/node_modules
12-
13-
# documentation
14-
/documentation
15-
16-
# profiling files
17-
chrome-profiler-events*.json
18-
speed-measure-plugin*.json
11+
npm-debug.log
12+
yarn-error.log
1913

2014
# IDEs and editors
21-
/.idea
22-
/.vscode
15+
.idea/
2316
.project
2417
.classpath
2518
.c9/
2619
*.launch
2720
.settings/
2821
*.sublime-workspace
2922

30-
# IDE - VSCode
23+
# Visual Studio Code
3124
.vscode/*
3225
!.vscode/settings.json
3326
!.vscode/tasks.json
3427
!.vscode/launch.json
3528
!.vscode/extensions.json
3629
.history/*
3730

38-
# misc
31+
# Miscellaneous
3932
/.angular/cache
40-
/.sass-cache
33+
.sass-cache/
4134
/connect.lock
4235
/coverage
4336
/libpeerconnection.log
44-
npm-debug.log
45-
yarn-error.log
4637
testem.log
4738
/typings
4839

49-
# System Files
40+
# System files
5041
.DS_Store
5142
Thumbs.db

.vscode/launch.json

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

angular.json

Lines changed: 36 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"outputPath": "dist/json-schema-form",
1717
"index": "src/index.html",
1818
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
19+
"polyfills": [
20+
"zone.js"
21+
],
2022
"tsConfig": "tsconfig.app.json",
2123
"assets": [
2224
"src/favicon.ico",
@@ -25,55 +27,46 @@
2527
"styles": [
2628
"src/styles.css"
2729
],
28-
"scripts": [],
29-
"vendorChunk": true,
30-
"extractLicenses": false,
31-
"buildOptimizer": false,
32-
"sourceMap": true,
33-
"optimization": false,
34-
"namedChunks": true
30+
"scripts": []
3531
},
3632
"configurations": {
3733
"production": {
38-
"fileReplacements": [
39-
{
40-
"replace": "src/environments/environment.ts",
41-
"with": "src/environments/environment.prod.ts"
42-
}
43-
],
44-
"optimization": true,
45-
"outputHashing": "all",
46-
"sourceMap": false,
47-
"namedChunks": false,
48-
"extractLicenses": true,
49-
"vendorChunk": false,
50-
"buildOptimizer": true,
5134
"budgets": [
5235
{
5336
"type": "initial",
5437
"maximumWarning": "2mb",
55-
"maximumError": "5mb"
38+
"maximumError": "10mb"
5639
},
5740
{
5841
"type": "anyComponentStyle",
59-
"maximumWarning": "6kb",
60-
"maximumError": "10kb"
42+
"maximumWarning": "2kb",
43+
"maximumError": "4kb"
6144
}
62-
]
45+
],
46+
"outputHashing": "all"
47+
},
48+
"development": {
49+
"buildOptimizer": false,
50+
"optimization": false,
51+
"vendorChunk": true,
52+
"extractLicenses": false,
53+
"sourceMap": true,
54+
"namedChunks": true
6355
}
6456
},
65-
"defaultConfiguration": ""
57+
"defaultConfiguration": "production"
6658
},
6759
"serve": {
6860
"builder": "@angular-devkit/build-angular:dev-server",
69-
"options": {
70-
"browserTarget": "json-schema-form:build"
71-
},
7261
"configurations": {
7362
"production": {
7463
"browserTarget": "json-schema-form:build:production"
64+
},
65+
"development": {
66+
"browserTarget": "json-schema-form:build:development"
7567
}
76-
}
68+
},
69+
"defaultConfiguration": "development"
7770
},
7871
"extract-i18n": {
7972
"builder": "@angular-devkit/build-angular:extract-i18n",
@@ -84,10 +77,11 @@
8477
"test": {
8578
"builder": "@angular-devkit/build-angular:karma",
8679
"options": {
87-
"main": "src/test.ts",
88-
"polyfills": "src/polyfills.ts",
80+
"polyfills": [
81+
"zone.js",
82+
"zone.js/testing"
83+
],
8984
"tsConfig": "tsconfig.spec.json",
90-
"karmaConfig": "karma.conf.js",
9185
"assets": [
9286
"src/favicon.ico",
9387
"src/assets"
@@ -97,18 +91,6 @@
9791
],
9892
"scripts": []
9993
}
100-
},
101-
"e2e": {
102-
"builder": "@angular-devkit/build-angular:protractor",
103-
"options": {
104-
"protractorConfig": "e2e/protractor.conf.js",
105-
"devServerTarget": "json-schema-form:serve"
106-
},
107-
"configurations": {
108-
"production": {
109-
"devServerTarget": "json-schema-form:serve:production"
110-
}
111-
}
11294
}
11395
}
11496
},
@@ -121,40 +103,29 @@
121103
"build": {
122104
"builder": "@angular-devkit/build-angular:ng-packagr",
123105
"options": {
124-
"tsConfig": "projects/dashjoin/json-schema-form/tsconfig.lib.json",
125106
"project": "projects/dashjoin/json-schema-form/ng-package.json"
126107
},
127108
"configurations": {
128109
"production": {
129110
"tsConfig": "projects/dashjoin/json-schema-form/tsconfig.lib.prod.json"
111+
},
112+
"development": {
113+
"tsConfig": "projects/dashjoin/json-schema-form/tsconfig.lib.json"
130114
}
131-
}
115+
},
116+
"defaultConfiguration": "production"
132117
},
133118
"test": {
134119
"builder": "@angular-devkit/build-angular:karma",
135120
"options": {
136-
"main": "projects/dashjoin/json-schema-form/src/test.ts",
137121
"tsConfig": "projects/dashjoin/json-schema-form/tsconfig.spec.json",
138-
"karmaConfig": "projects/dashjoin/json-schema-form/karma.conf.js"
139-
}
140-
},
141-
"lint": {
142-
"builder": "@angular-eslint/builder:lint",
143-
"options": {
144-
"lintFilePatterns": [
145-
"projects/dashjoin/json-schema-form/**/*.ts",
146-
"projects/dashjoin/json-schema-form/**/*.html"
122+
"polyfills": [
123+
"zone.js",
124+
"zone.js/testing"
147125
]
148126
}
149127
}
150128
}
151129
}
152-
},
153-
"defaultProject": "json-schema-form",
154-
"cli": {
155-
"analytics": false,
156-
"schematicCollections": [
157-
"@angular-eslint/schematics"
158-
]
159130
}
160-
}
131+
}

e2e/protractor.conf.js

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

e2e/src/app.e2e-spec.ts

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

e2e/src/app.po.ts

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

0 commit comments

Comments
 (0)