@lwrjs/diagnostics 0.11.0-alpha.2 → 0.11.0-alpha.4
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.
|
@@ -126,5 +126,9 @@ var configParser = (0, import_core_diagnostics.createDiagnosticsCategory)({
|
|
|
126
126
|
DUPLICATE_BUNDLE_CONFIG: (dupeIds) => ({
|
|
127
127
|
category: "lwrConfig/invalidSchema",
|
|
128
128
|
message: `Found duplicate specifiers in BundleConfig: [${dupeIds}]`
|
|
129
|
+
}),
|
|
130
|
+
DEFAULT_NOT_IN_LOCALES: (defaultLocale, locales) => ({
|
|
131
|
+
category: "lwrConfig/invalidSchema",
|
|
132
|
+
message: `Property "i18n.defaultLocale" must be in the list of "i18n.locales": ${defaultLocale} [${locales}]`
|
|
129
133
|
})
|
|
130
134
|
});
|
|
@@ -177,5 +177,12 @@ export declare const configParser: {
|
|
|
177
177
|
advice: import("../types.js").DiagnosticAdvice;
|
|
178
178
|
message: string;
|
|
179
179
|
};
|
|
180
|
+
DEFAULT_NOT_IN_LOCALES: (defaultLocale: string, locales: string[]) => Omit<{
|
|
181
|
+
category: "lwrConfig/invalidSchema";
|
|
182
|
+
message: string;
|
|
183
|
+
}, "message" | "advice"> & {
|
|
184
|
+
advice: import("../types.js").DiagnosticAdvice;
|
|
185
|
+
message: string;
|
|
186
|
+
};
|
|
180
187
|
};
|
|
181
188
|
//# sourceMappingURL=configParser.d.ts.map
|
|
@@ -99,5 +99,9 @@ export const configParser = createDiagnosticsCategory({
|
|
|
99
99
|
category: 'lwrConfig/invalidSchema',
|
|
100
100
|
message: `Found duplicate specifiers in BundleConfig: [${dupeIds}]`,
|
|
101
101
|
}),
|
|
102
|
+
DEFAULT_NOT_IN_LOCALES: (defaultLocale, locales) => ({
|
|
103
|
+
category: 'lwrConfig/invalidSchema',
|
|
104
|
+
message: `Property "i18n.defaultLocale" must be in the list of "i18n.locales": ${defaultLocale} [${locales}]`,
|
|
105
|
+
}),
|
|
102
106
|
});
|
|
103
107
|
//# sourceMappingURL=configParser.js.map
|
|
@@ -177,6 +177,13 @@ export declare const descriptions: {
|
|
|
177
177
|
advice: import("../types.js").DiagnosticAdvice;
|
|
178
178
|
message: string;
|
|
179
179
|
};
|
|
180
|
+
DEFAULT_NOT_IN_LOCALES: (defaultLocale: string, locales: string[]) => Omit<{
|
|
181
|
+
category: "lwrConfig/invalidSchema";
|
|
182
|
+
message: string;
|
|
183
|
+
}, "message" | "advice"> & {
|
|
184
|
+
advice: import("../types.js").DiagnosticAdvice;
|
|
185
|
+
message: string;
|
|
186
|
+
};
|
|
180
187
|
};
|
|
181
188
|
UNRESOLVABLE: {
|
|
182
189
|
ASSET: (assetPath: string) => Omit<{
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.0-alpha.
|
|
7
|
+
"version": "0.11.0-alpha.4",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@lwrjs/types": "0.11.0-alpha.
|
|
33
|
+
"@lwrjs/types": "0.11.0-alpha.4"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=16.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "89a7e9815e0e381d9fd67212f0471d9a11f73985"
|
|
39
39
|
}
|