@lwrjs/diagnostics 0.15.0-alpha.33 → 0.15.0-alpha.35

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.
@@ -97,7 +97,7 @@ var configParser = (0, import_core_diagnostics.createDiagnosticsCategory)({
97
97
  }),
98
98
  INVALID_FILE_PATTERN: (configProperty, actualProp) => ({
99
99
  category: "lwrConfig/invalidSchema",
100
- message: `Propery "${configProperty}" must be in the .[fileExtension] format(.css, .js, etc.,) but received ${actualProp}`
100
+ message: `Property "${configProperty}" must use the glob format but received ${actualProp === "" ? "empty string" : actualProp}`
101
101
  }),
102
102
  INVALID_BASEPATH: (configProperty, actualProp) => ({
103
103
  category: "lwrConfig/invalidSchema",
@@ -73,7 +73,7 @@ export declare const configParser: import("../types.js").OutputMessagesCategory<
73
73
  category: "lwrConfig/invalidSchema";
74
74
  message: string;
75
75
  };
76
- INVALID_FILE_PATTERN: (configProperty: string, actualProp: string) => {
76
+ INVALID_FILE_PATTERN: (configProperty: string, actualProp: string | any[]) => {
77
77
  category: "lwrConfig/invalidSchema";
78
78
  message: string;
79
79
  };
@@ -69,7 +69,7 @@ export const configParser = createDiagnosticsCategory({
69
69
  }),
70
70
  INVALID_FILE_PATTERN: (configProperty, actualProp) => ({
71
71
  category: 'lwrConfig/invalidSchema',
72
- message: `Propery "${configProperty}" must be in the .[fileExtension] format(.css, .js, etc.,) but received ${actualProp}`,
72
+ message: `Property "${configProperty}" must use the glob format but received ${actualProp === '' ? 'empty string' : actualProp}`,
73
73
  }),
74
74
  INVALID_BASEPATH: (configProperty, actualProp) => ({
75
75
  category: 'lwrConfig/invalidSchema',
@@ -73,7 +73,7 @@ export declare const descriptions: {
73
73
  category: "lwrConfig/invalidSchema";
74
74
  message: string;
75
75
  };
76
- INVALID_FILE_PATTERN: (configProperty: string, actualProp: string) => {
76
+ INVALID_FILE_PATTERN: (configProperty: string, actualProp: string | any[]) => {
77
77
  category: "lwrConfig/invalidSchema";
78
78
  message: string;
79
79
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.15.0-alpha.33",
7
+ "version": "0.15.0-alpha.35",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "test": "jest"
36
36
  },
37
37
  "devDependencies": {
38
- "@lwrjs/types": "0.15.0-alpha.33",
38
+ "@lwrjs/types": "0.15.0-alpha.35",
39
39
  "jest": "^26.6.3",
40
40
  "ts-jest": "^26.5.6",
41
41
  "typescript": "^4.9.5"
@@ -46,5 +46,5 @@
46
46
  "volta": {
47
47
  "extends": "../../../package.json"
48
48
  },
49
- "gitHead": "0e636fb16ede654870100f5fa3bb5b3985a3db00"
49
+ "gitHead": "42f04ad68558ec00f543a04e363671ceb294c88b"
50
50
  }