@angular-devkit/core 11.2.0 → 11.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/package.json +2 -2
  2. package/src/workspace/json/test/angular.json +0 -138
  3. package/src/workspace/json/test/cases/AddArrayEmpty.json +0 -15
  4. package/src/workspace/json/test/cases/AddArrayPush.json +0 -17
  5. package/src/workspace/json/test/cases/AddProject1.json +0 -19
  6. package/src/workspace/json/test/cases/AddProject2.json +0 -141
  7. package/src/workspace/json/test/cases/AddProjectWithTargets.json +0 -33
  8. package/src/workspace/json/test/cases/ArrayDeleteInner.json +0 -14
  9. package/src/workspace/json/test/cases/ArrayDeleteInnerAdd.json +0 -14
  10. package/src/workspace/json/test/cases/ArrayDeleteLast.json +0 -14
  11. package/src/workspace/json/test/cases/ArrayDeleteLastAdd.json +0 -14
  12. package/src/workspace/json/test/cases/ArrayDeleteZero.json +0 -14
  13. package/src/workspace/json/test/cases/ArrayIndexInner.json +0 -14
  14. package/src/workspace/json/test/cases/ArrayIndexLast.json +0 -14
  15. package/src/workspace/json/test/cases/ArrayIndexZero.json +0 -14
  16. package/src/workspace/json/test/cases/ArrayPop.json +0 -14
  17. package/src/workspace/json/test/cases/ArrayPush.json +0 -14
  18. package/src/workspace/json/test/cases/ArrayReplace1.json +0 -16
  19. package/src/workspace/json/test/cases/ArrayReplace2.json +0 -14
  20. package/src/workspace/json/test/cases/ArrayShift.json +0 -14
  21. package/src/workspace/json/test/cases/ArraySort.json +0 -14
  22. package/src/workspace/json/test/cases/ArraySplice1.json +0 -14
  23. package/src/workspace/json/test/cases/ArraySplice2.json +0 -14
  24. package/src/workspace/json/test/cases/ArrayUnshift.json +0 -14
  25. package/src/workspace/json/test/cases/ArrayValues.json +0 -22
  26. package/src/workspace/json/test/cases/Empty.json +0 -5
  27. package/src/workspace/json/test/cases/Extensions1.json +0 -6
  28. package/src/workspace/json/test/cases/Extensions2.json +0 -11
  29. package/src/workspace/json/test/cases/ObjectRemove.json +0 -13
  30. package/src/workspace/json/test/cases/ObjectRemoveMultiple.json +0 -8
  31. package/src/workspace/json/test/cases/ObjectReplace1.json +0 -14
  32. package/src/workspace/json/test/cases/ObjectReplace2.json +0 -12
  33. package/src/workspace/json/test/cases/ObjectReplace3.json +0 -12
  34. package/src/workspace/json/test/cases/ProjectAddTarget.json +0 -141
  35. package/src/workspace/json/test/cases/ProjectDeleteTarget.json +0 -132
  36. package/src/workspace/json/test/cases/ProjectEmpty.json +0 -9
  37. package/src/workspace/json/test/cases/ProjectFull.json +0 -67
  38. package/src/workspace/json/test/cases/ProjectModifyProperties.json +0 -138
  39. package/src/workspace/json/test/cases/ProjectSetProperties.json +0 -139
  40. package/src/workspace/json/test/cases/Retain.json +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/core",
3
- "version": "11.2.0",
3
+ "version": "11.2.4",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "engines": {
27
27
  "node": ">= 10.13.0",
28
- "npm": "^6.11.0",
28
+ "npm": "^6.11.0 || ^7.5.6",
29
29
  "yarn": ">= 1.13.0"
30
30
  },
31
31
  "author": "Angular Authors",
@@ -1,138 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "my-app": {
7
- "root": "",
8
- "projectType": "application",
9
- "prefix": "app",
10
- "schematics": {
11
- "@schematics/angular:component": {
12
- "styleext": "scss"
13
- }
14
- },
15
- "architect": {
16
- "build": {
17
- "builder": "@angular-devkit/build-angular:browser",
18
- "options": {
19
- "outputPath": "dist/my-app",
20
- "index": "src/index.html",
21
- "main": "src/main.ts",
22
- "polyfills": "src/polyfills.ts",
23
- "tsConfig": "src/tsconfig.app.json",
24
- "assets": [
25
- "src/favicon.ico",
26
- "src/assets"
27
- ],
28
- "styles": [
29
- "src/styles.scss"
30
- ],
31
- "scripts": []
32
- },
33
- "configurations": {
34
- "production": {
35
- "fileReplacements": [
36
- {
37
- "replace": "src/environments/environment.ts",
38
- "with": "src/environments/environment.prod.ts"
39
- }
40
- ],
41
- "optimization": true,
42
- "outputHashing": "all",
43
- "sourceMap": false,
44
- "extractCss": true,
45
- "namedChunks": false,
46
- "aot": true,
47
- "extractLicenses": true,
48
- "vendorChunk": false,
49
- "buildOptimizer": true,
50
- "budgets": [
51
- {
52
- "type": "initial",
53
- "maximumWarning": "2mb",
54
- "maximumError": "5mb"
55
- }
56
- ]
57
- }
58
- }
59
- },
60
- "serve": {
61
- "builder": "@angular-devkit/build-angular:dev-server",
62
- "options": {
63
- "browserTarget": "my-app:build"
64
- },
65
- "configurations": {
66
- "production": {
67
- "browserTarget": "my-app:build:production"
68
- }
69
- }
70
- },
71
- "extract-i18n": {
72
- "builder": "@angular-devkit/build-angular:extract-i18n",
73
- "options": {
74
- "browserTarget": "my-app:build"
75
- }
76
- },
77
- "test": {
78
- "builder": "@angular-devkit/build-angular:karma",
79
- "options": {
80
- "main": "src/test.ts",
81
- "polyfills": "src/polyfills.ts",
82
- "tsConfig": "src/tsconfig.spec.json",
83
- "karmaConfig": "src/karma.conf.js",
84
- "styles": [
85
- "src/styles.scss"
86
- ],
87
- "scripts": [],
88
- "assets": [
89
- "src/favicon.ico",
90
- "src/assets"
91
- ]
92
- }
93
- },
94
- "lint": {
95
- "builder": "@angular-devkit/build-angular:tslint",
96
- "options": {
97
- "tsConfig": [
98
- "src/tsconfig.app.json",
99
- "src/tsconfig.spec.json"
100
- ],
101
- "exclude": [
102
- "**/node_modules/**"
103
- ]
104
- }
105
- }
106
- }
107
- },
108
- "my-app-e2e": {
109
- "root": "e2e/",
110
- "projectType": "application",
111
- "prefix": "",
112
- "architect": {
113
- "e2e": {
114
- "builder": "@angular-devkit/build-angular:protractor",
115
- "options": {
116
- "protractorConfig": "e2e/protractor.conf.js",
117
- "devServerTarget": "my-app:serve"
118
- },
119
- "configurations": {
120
- "production": {
121
- "devServerTarget": "my-app:serve:production"
122
- }
123
- }
124
- },
125
- "lint": {
126
- "builder": "@angular-devkit/build-angular:tslint",
127
- "options": {
128
- "tsConfig": "e2e/tsconfig.e2e.json",
129
- "exclude": [
130
- "**/node_modules/**"
131
- ]
132
- }
133
- }
134
- }
135
- }
136
- },
137
- "defaultProject": "my-app"
138
- }
@@ -1,15 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- "x-array": []
15
- }
@@ -1,17 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- "x-array": [
15
- "value"
16
- ]
17
- }
@@ -1,19 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 10,
10
- "x-foo": {
11
- "is": ["good", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- "projects": {
15
- "new": {
16
- "root": "src"
17
- }
18
- }
19
- }
@@ -1,141 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "my-app": {
7
- "root": "",
8
- "projectType": "application",
9
- "prefix": "app",
10
- "schematics": {
11
- "@schematics/angular:component": {
12
- "styleext": "scss"
13
- }
14
- },
15
- "architect": {
16
- "build": {
17
- "builder": "@angular-devkit/build-angular:browser",
18
- "options": {
19
- "outputPath": "dist/my-app",
20
- "index": "src/index.html",
21
- "main": "src/main.ts",
22
- "polyfills": "src/polyfills.ts",
23
- "tsConfig": "src/tsconfig.app.json",
24
- "assets": [
25
- "src/favicon.ico",
26
- "src/assets"
27
- ],
28
- "styles": [
29
- "src/styles.scss"
30
- ],
31
- "scripts": []
32
- },
33
- "configurations": {
34
- "production": {
35
- "fileReplacements": [
36
- {
37
- "replace": "src/environments/environment.ts",
38
- "with": "src/environments/environment.prod.ts"
39
- }
40
- ],
41
- "optimization": true,
42
- "outputHashing": "all",
43
- "sourceMap": false,
44
- "extractCss": true,
45
- "namedChunks": false,
46
- "aot": true,
47
- "extractLicenses": true,
48
- "vendorChunk": false,
49
- "buildOptimizer": true,
50
- "budgets": [
51
- {
52
- "type": "initial",
53
- "maximumWarning": "2mb",
54
- "maximumError": "5mb"
55
- }
56
- ]
57
- }
58
- }
59
- },
60
- "serve": {
61
- "builder": "@angular-devkit/build-angular:dev-server",
62
- "options": {
63
- "browserTarget": "my-app:build"
64
- },
65
- "configurations": {
66
- "production": {
67
- "browserTarget": "my-app:build:production"
68
- }
69
- }
70
- },
71
- "extract-i18n": {
72
- "builder": "@angular-devkit/build-angular:extract-i18n",
73
- "options": {
74
- "browserTarget": "my-app:build"
75
- }
76
- },
77
- "test": {
78
- "builder": "@angular-devkit/build-angular:karma",
79
- "options": {
80
- "main": "src/test.ts",
81
- "polyfills": "src/polyfills.ts",
82
- "tsConfig": "src/tsconfig.spec.json",
83
- "karmaConfig": "src/karma.conf.js",
84
- "styles": [
85
- "src/styles.scss"
86
- ],
87
- "scripts": [],
88
- "assets": [
89
- "src/favicon.ico",
90
- "src/assets"
91
- ]
92
- }
93
- },
94
- "lint": {
95
- "builder": "@angular-devkit/build-angular:tslint",
96
- "options": {
97
- "tsConfig": [
98
- "src/tsconfig.app.json",
99
- "src/tsconfig.spec.json"
100
- ],
101
- "exclude": [
102
- "**/node_modules/**"
103
- ]
104
- }
105
- }
106
- }
107
- },
108
- "my-app-e2e": {
109
- "root": "e2e/",
110
- "projectType": "application",
111
- "prefix": "",
112
- "architect": {
113
- "e2e": {
114
- "builder": "@angular-devkit/build-angular:protractor",
115
- "options": {
116
- "protractorConfig": "e2e/protractor.conf.js",
117
- "devServerTarget": "my-app:serve"
118
- },
119
- "configurations": {
120
- "production": {
121
- "devServerTarget": "my-app:serve:production"
122
- }
123
- }
124
- },
125
- "lint": {
126
- "builder": "@angular-devkit/build-angular:tslint",
127
- "options": {
128
- "tsConfig": "e2e/tsconfig.e2e.json",
129
- "exclude": [
130
- "**/node_modules/**"
131
- ]
132
- }
133
- }
134
- }
135
- },
136
- "new": {
137
- "root": "src"
138
- }
139
- },
140
- "defaultProject": "my-app"
141
- }
@@ -1,33 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 10,
10
- "x-foo": {
11
- "is": ["good", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- "projects": {
15
- "new": {
16
- "root": "src",
17
- "targets": {
18
- "build": {
19
- "builder": "build-builder",
20
- "options": {
21
- "one": 1,
22
- "two": false
23
- },
24
- "configurations": {
25
- "staging": {
26
- "two": true
27
- }
28
- }
29
- }
30
- }
31
- }
32
- }
33
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "new", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "new"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "value", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "value"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["value", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "awesome", "value"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,16 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": [
12
- "value"
13
- ]
14
- },
15
- "x-bar": 5,
16
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": []
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["awesome", "good", "great"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "value1", "value2", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["value", "good", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- }
@@ -1,22 +0,0 @@
1
- {
2
- "version": 1,
3
- // Comment
4
- "schematics": {
5
- "@angular/schematics:component": {
6
- "prefix": "abc"
7
- }
8
- },
9
- "x-baz": 1,
10
- "x-foo": {
11
- "is": ["good", "great", "awesome"]
12
- },
13
- "x-bar": 5,
14
- "x-array": [
15
- 5,
16
- "a",
17
- false,
18
- null,
19
- true,
20
- 9.9
21
- ]
22
- }
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "projects": {}
5
- }