@lwrjs/diagnostics 0.15.0-alpha.3 → 0.15.0-alpha.30
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.
|
@@ -91,6 +91,14 @@ var configParser = (0, import_core_diagnostics.createDiagnosticsCategory)({
|
|
|
91
91
|
category: "lwrConfig/invalidSchema",
|
|
92
92
|
message: `Property "${configProperty}" must be a URI path string which starts but does not end with a slash, received ${actualProp}`
|
|
93
93
|
}),
|
|
94
|
+
INVALID_ORIGIN: (configProperty, actualProp) => ({
|
|
95
|
+
category: "lwrConfig/invalidSchema",
|
|
96
|
+
message: `Property "${configProperty}" must be a full URI string with a scheme (eg: "https://site.com"), received ${actualProp}`
|
|
97
|
+
}),
|
|
98
|
+
INVALID_FILE_PATTERN: (configProperty, actualProp) => ({
|
|
99
|
+
category: "lwrConfig/invalidSchema",
|
|
100
|
+
message: `Propery "${configProperty}" must be in the .[fileExtension] format(.css, .js, etc.,) but received ${actualProp}`
|
|
101
|
+
}),
|
|
94
102
|
INVALID_BASEPATH: (configProperty, actualProp) => ({
|
|
95
103
|
category: "lwrConfig/invalidSchema",
|
|
96
104
|
message: `Property "${configProperty}" must be a URI base path string which starts with a slash, received ${actualProp}`
|
|
@@ -69,6 +69,14 @@ export declare const configParser: import("../types.js").OutputMessagesCategory<
|
|
|
69
69
|
category: "lwrConfig/invalidSchema";
|
|
70
70
|
message: string;
|
|
71
71
|
};
|
|
72
|
+
INVALID_ORIGIN: (configProperty: string, actualProp: string) => {
|
|
73
|
+
category: "lwrConfig/invalidSchema";
|
|
74
|
+
message: string;
|
|
75
|
+
};
|
|
76
|
+
INVALID_FILE_PATTERN: (configProperty: string, actualProp: string) => {
|
|
77
|
+
category: "lwrConfig/invalidSchema";
|
|
78
|
+
message: string;
|
|
79
|
+
};
|
|
72
80
|
INVALID_BASEPATH: (configProperty: string, actualProp: string) => {
|
|
73
81
|
category: "lwrConfig/invalidSchema";
|
|
74
82
|
message: string;
|
|
@@ -63,6 +63,14 @@ export const configParser = createDiagnosticsCategory({
|
|
|
63
63
|
category: 'lwrConfig/invalidSchema',
|
|
64
64
|
message: `Property "${configProperty}" must be a URI path string which starts but does not end with a slash, received ${actualProp}`,
|
|
65
65
|
}),
|
|
66
|
+
INVALID_ORIGIN: (configProperty, actualProp) => ({
|
|
67
|
+
category: 'lwrConfig/invalidSchema',
|
|
68
|
+
message: `Property "${configProperty}" must be a full URI string with a scheme (eg: "https://site.com"), received ${actualProp}`,
|
|
69
|
+
}),
|
|
70
|
+
INVALID_FILE_PATTERN: (configProperty, actualProp) => ({
|
|
71
|
+
category: 'lwrConfig/invalidSchema',
|
|
72
|
+
message: `Propery "${configProperty}" must be in the .[fileExtension] format(.css, .js, etc.,) but received ${actualProp}`,
|
|
73
|
+
}),
|
|
66
74
|
INVALID_BASEPATH: (configProperty, actualProp) => ({
|
|
67
75
|
category: 'lwrConfig/invalidSchema',
|
|
68
76
|
message: `Property "${configProperty}" must be a URI base path string which starts with a slash, received ${actualProp}`,
|
|
@@ -69,6 +69,14 @@ export declare const descriptions: {
|
|
|
69
69
|
category: "lwrConfig/invalidSchema";
|
|
70
70
|
message: string;
|
|
71
71
|
};
|
|
72
|
+
INVALID_ORIGIN: (configProperty: string, actualProp: string) => {
|
|
73
|
+
category: "lwrConfig/invalidSchema";
|
|
74
|
+
message: string;
|
|
75
|
+
};
|
|
76
|
+
INVALID_FILE_PATTERN: (configProperty: string, actualProp: string) => {
|
|
77
|
+
category: "lwrConfig/invalidSchema";
|
|
78
|
+
message: string;
|
|
79
|
+
};
|
|
72
80
|
INVALID_BASEPATH: (configProperty: string, actualProp: string) => {
|
|
73
81
|
category: "lwrConfig/invalidSchema";
|
|
74
82
|
message: string;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.15.0-alpha.
|
|
7
|
+
"version": "0.15.0-alpha.30",
|
|
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.
|
|
38
|
+
"@lwrjs/types": "0.15.0-alpha.30",
|
|
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": "
|
|
49
|
+
"gitHead": "b563560f1d3ccbb6d6bab8a8a5d7b6a8456b9c48"
|
|
50
50
|
}
|