@angular-devkit/core 8.1.0-beta.3 → 8.1.2
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/core",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2",
|
|
4
4
|
"description": "Angular DevKit - Core Utility Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ajv": "6.10.0",
|
|
17
17
|
"fast-json-stable-stringify": "2.0.0",
|
|
18
|
-
"magic-string": "0.25.
|
|
18
|
+
"magic-string": "0.25.3",
|
|
19
19
|
"rxjs": "6.4.0",
|
|
20
20
|
"source-map": "0.7.3"
|
|
21
21
|
},
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"homepage": "https://github.com/angular/angular-cli",
|
|
36
36
|
"husky": {
|
|
37
37
|
"hooks": {
|
|
38
|
-
"pre-commit": "lint-staged",
|
|
39
38
|
"pre-push": "node ./bin/devkit-admin hooks/pre-push"
|
|
40
39
|
}
|
|
41
40
|
}
|
package/src/analytics/index.d.ts
CHANGED
|
@@ -21,14 +21,14 @@ export * from './noop';
|
|
|
21
21
|
export declare enum NgCliAnalyticsDimensions {
|
|
22
22
|
CpuCount = 1,
|
|
23
23
|
CpuSpeed = 2,
|
|
24
|
-
|
|
24
|
+
RamInGigabytes = 3,
|
|
25
25
|
NodeVersion = 4,
|
|
26
26
|
NgAddCollection = 6,
|
|
27
27
|
NgBuildBuildEventLog = 7,
|
|
28
28
|
BuildErrors = 20
|
|
29
29
|
}
|
|
30
30
|
export declare enum NgCliAnalyticsMetrics {
|
|
31
|
-
|
|
31
|
+
NgComponentCount = 1,
|
|
32
32
|
UNUSED_2 = 2,
|
|
33
33
|
UNUSED_3 = 3,
|
|
34
34
|
UNUSED_4 = 4,
|
package/src/analytics/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var NgCliAnalyticsDimensions;
|
|
|
19
19
|
(function (NgCliAnalyticsDimensions) {
|
|
20
20
|
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["CpuCount"] = 1] = "CpuCount";
|
|
21
21
|
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["CpuSpeed"] = 2] = "CpuSpeed";
|
|
22
|
-
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["
|
|
22
|
+
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["RamInGigabytes"] = 3] = "RamInGigabytes";
|
|
23
23
|
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["NodeVersion"] = 4] = "NodeVersion";
|
|
24
24
|
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["NgAddCollection"] = 6] = "NgAddCollection";
|
|
25
25
|
NgCliAnalyticsDimensions[NgCliAnalyticsDimensions["NgBuildBuildEventLog"] = 7] = "NgBuildBuildEventLog";
|
|
@@ -27,7 +27,7 @@ var NgCliAnalyticsDimensions;
|
|
|
27
27
|
})(NgCliAnalyticsDimensions = exports.NgCliAnalyticsDimensions || (exports.NgCliAnalyticsDimensions = {}));
|
|
28
28
|
var NgCliAnalyticsMetrics;
|
|
29
29
|
(function (NgCliAnalyticsMetrics) {
|
|
30
|
-
NgCliAnalyticsMetrics[NgCliAnalyticsMetrics["
|
|
30
|
+
NgCliAnalyticsMetrics[NgCliAnalyticsMetrics["NgComponentCount"] = 1] = "NgComponentCount";
|
|
31
31
|
NgCliAnalyticsMetrics[NgCliAnalyticsMetrics["UNUSED_2"] = 2] = "UNUSED_2";
|
|
32
32
|
NgCliAnalyticsMetrics[NgCliAnalyticsMetrics["UNUSED_3"] = 3] = "UNUSED_3";
|
|
33
33
|
NgCliAnalyticsMetrics[NgCliAnalyticsMetrics["UNUSED_4"] = 4] = "UNUSED_4";
|
|
@@ -48,7 +48,7 @@ var NgCliAnalyticsMetrics;
|
|
|
48
48
|
exports.NgCliAnalyticsDimensionsFlagInfo = {
|
|
49
49
|
CpuCount: ['CPU Count', 'number'],
|
|
50
50
|
CpuSpeed: ['CPU Speed', 'number'],
|
|
51
|
-
|
|
51
|
+
RamInGigabytes: ['RAM (In GB)', 'number'],
|
|
52
52
|
NodeVersion: ['Node Version', 'number'],
|
|
53
53
|
NgAddCollection: ['--collection', 'string'],
|
|
54
54
|
NgBuildBuildEventLog: ['--buildEventLog', 'boolean'],
|
|
@@ -57,7 +57,7 @@ exports.NgCliAnalyticsDimensionsFlagInfo = {
|
|
|
57
57
|
// This table is used when generating the analytics.md file. It should match the enum above
|
|
58
58
|
// or the validate-user-analytics script will fail.
|
|
59
59
|
exports.NgCliAnalyticsMetricsFlagInfo = {
|
|
60
|
-
|
|
60
|
+
NgComponentCount: ['NgComponentCount', 'number'],
|
|
61
61
|
UNUSED_2: ['UNUSED_2', 'none'],
|
|
62
62
|
UNUSED_3: ['UNUSED_3', 'none'],
|
|
63
63
|
UNUSED_4: ['UNUSED_4', 'none'],
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# TODO(alexeagle): move this file to /third_party so Bazel can enforce the licensing
|
|
2
|
+
licenses(["notice"])
|
|
3
|
+
|
|
4
|
+
# Downloaded from: https://github.com/chalk/supports-color/tree/17e9579fec886a1058553b6f7529f05e4f7a90dc
|
|
5
|
+
# Timestamp: 2019 Feb 14
|
|
6
|
+
exports_files(["license"])
|
|
7
|
+
|
|
8
|
+
filegroup(
|
|
9
|
+
name = "supports-color",
|
|
10
|
+
srcs = [
|
|
11
|
+
"index.js",
|
|
12
|
+
"//packages/angular_devkit/core/third_party/github.com/sindresorhus/has-flag",
|
|
13
|
+
],
|
|
14
|
+
visibility = ["//:__subpackages__"],
|
|
15
|
+
)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# TODO(alexeagle): move this file to /third_party so Bazel can enforce the licensing
|
|
2
|
+
licenses(["notice"])
|
|
3
|
+
|
|
4
|
+
# Downloaded from: https://github.com/sindresorhus/has-flag/tree/a6208ceaf26b5e58dbd29cb4f9e62ad02034104d
|
|
5
|
+
# Timestamp: 2019 Feb 14
|
|
6
|
+
exports_files(["license"])
|
|
7
|
+
|
|
8
|
+
filegroup(
|
|
9
|
+
name = "has-flag",
|
|
10
|
+
srcs = ["index.js"],
|
|
11
|
+
visibility = ["//:__subpackages__"],
|
|
12
|
+
)
|