@angular-devkit/core 8.0.2 → 8.0.6

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.0.2",
3
+ "version": "8.0.6",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -21,7 +21,7 @@ export * from './noop';
21
21
  export declare enum NgCliAnalyticsDimensions {
22
22
  CpuCount = 1,
23
23
  CpuSpeed = 2,
24
- RamInMegabytes = 3,
24
+ RamInGigabytes = 3,
25
25
  NodeVersion = 4,
26
26
  NgAddCollection = 6,
27
27
  NgBuildBuildEventLog = 7,
@@ -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["RamInMegabytes"] = 3] = "RamInMegabytes";
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";
@@ -48,7 +48,7 @@ var NgCliAnalyticsMetrics;
48
48
  exports.NgCliAnalyticsDimensionsFlagInfo = {
49
49
  CpuCount: ['CPU Count', 'number'],
50
50
  CpuSpeed: ['CPU Speed', 'number'],
51
- RamInMegabytes: ['RAM (In MB)', 'number'],
51
+ RamInGigabytes: ['RAM (In GB)', 'number'],
52
52
  NodeVersion: ['Node Version', 'number'],
53
53
  NgAddCollection: ['--collection', 'string'],
54
54
  NgBuildBuildEventLog: ['--buildEventLog', 'boolean'],
@@ -246,7 +246,7 @@ class Workspace {
246
246
  validateAgainstSchema(contentJson, schemaJson) {
247
247
  // JSON validation modifies the content, so we validate a copy of it instead.
248
248
  const contentJsonCopy = JSON.parse(JSON.stringify(contentJson));
249
- return this._registry.compile(schemaJson).pipe(operators_1.concatMap(validator => validator(contentJsonCopy)), operators_1.concatMap(validatorResult => {
249
+ return this._registry.compile(schemaJson).pipe(operators_1.concatMap(validator => validator(contentJsonCopy)), operators_1.concatMap((validatorResult) => {
250
250
  if (validatorResult.success) {
251
251
  return rxjs_1.of(contentJsonCopy);
252
252
  }
@@ -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
+ )