@lwrjs/diagnostics 0.15.0-alpha.16 → 0.15.0-alpha.18
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,10 @@ 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
|
+
}),
|
|
94
98
|
INVALID_FILE_PATTERN: (configProperty, actualProp) => ({
|
|
95
99
|
category: "lwrConfig/invalidSchema",
|
|
96
100
|
message: `Propery "${configProperty}" must be in the .[fileExtension] format(.css, .js, etc.,) but received ${actualProp}`
|
|
@@ -142,5 +146,9 @@ var configParser = (0, import_core_diagnostics.createDiagnosticsCategory)({
|
|
|
142
146
|
SSR_WITHOUT_PRELOAD: (configProperty) => ({
|
|
143
147
|
category: "lwrConfig/invalidSchema",
|
|
144
148
|
message: `A route cannot have preloadData disabled when ssr is enabled:": ${configProperty}`
|
|
149
|
+
}),
|
|
150
|
+
INCOMPLETE_CORE_PROXY: () => ({
|
|
151
|
+
category: "lwrConfig/invalidSchema",
|
|
152
|
+
message: `The coreProxy must have either a "servername" or a "sitePath"`
|
|
145
153
|
})
|
|
146
154
|
});
|
|
@@ -69,6 +69,10 @@ 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
|
+
};
|
|
72
76
|
INVALID_FILE_PATTERN: (configProperty: string, actualProp: string) => {
|
|
73
77
|
category: "lwrConfig/invalidSchema";
|
|
74
78
|
message: string;
|
|
@@ -121,5 +125,9 @@ export declare const configParser: import("../types.js").OutputMessagesCategory<
|
|
|
121
125
|
category: "lwrConfig/invalidSchema";
|
|
122
126
|
message: string;
|
|
123
127
|
};
|
|
128
|
+
INCOMPLETE_CORE_PROXY: () => {
|
|
129
|
+
category: "lwrConfig/invalidSchema";
|
|
130
|
+
message: string;
|
|
131
|
+
};
|
|
124
132
|
}>;
|
|
125
133
|
//# sourceMappingURL=configParser.d.ts.map
|
|
@@ -63,6 +63,10 @@ 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
|
+
}),
|
|
66
70
|
INVALID_FILE_PATTERN: (configProperty, actualProp) => ({
|
|
67
71
|
category: 'lwrConfig/invalidSchema',
|
|
68
72
|
message: `Propery "${configProperty}" must be in the .[fileExtension] format(.css, .js, etc.,) but received ${actualProp}`,
|
|
@@ -115,5 +119,9 @@ export const configParser = createDiagnosticsCategory({
|
|
|
115
119
|
category: 'lwrConfig/invalidSchema',
|
|
116
120
|
message: `A route cannot have preloadData disabled when ssr is enabled:": ${configProperty}`,
|
|
117
121
|
}),
|
|
122
|
+
INCOMPLETE_CORE_PROXY: () => ({
|
|
123
|
+
category: 'lwrConfig/invalidSchema',
|
|
124
|
+
message: `The coreProxy must have either a "servername" or a "sitePath"`,
|
|
125
|
+
}),
|
|
118
126
|
});
|
|
119
127
|
//# sourceMappingURL=configParser.js.map
|
|
@@ -69,6 +69,10 @@ 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
|
+
};
|
|
72
76
|
INVALID_FILE_PATTERN: (configProperty: string, actualProp: string) => {
|
|
73
77
|
category: "lwrConfig/invalidSchema";
|
|
74
78
|
message: string;
|
|
@@ -121,6 +125,10 @@ export declare const descriptions: {
|
|
|
121
125
|
category: "lwrConfig/invalidSchema";
|
|
122
126
|
message: string;
|
|
123
127
|
};
|
|
128
|
+
INCOMPLETE_CORE_PROXY: () => {
|
|
129
|
+
category: "lwrConfig/invalidSchema";
|
|
130
|
+
message: string;
|
|
131
|
+
};
|
|
124
132
|
}>;
|
|
125
133
|
UNRESOLVABLE: import("../types.js").OutputMessagesCategory<{
|
|
126
134
|
ASSET: (assetPath: 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.18",
|
|
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.18",
|
|
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": "fefc639770948be769b1ace03b7759e7b8906cae"
|
|
50
50
|
}
|