@lwrjs/diagnostics 0.10.0-alpha.19 → 0.10.0-alpha.20

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.
@@ -122,5 +122,9 @@ var configParser = (0, import_core_diagnostics.createDiagnosticsCategory)({
122
122
  COMPILE_LOCKER_SSR: () => ({
123
123
  category: "lwrConfig/invalidSchema",
124
124
  message: 'If "locker.enabled: true" and any route sets "ssr: true", then "locker.clientOnly" must also be set to "true"'
125
+ }),
126
+ DUPLICATE_BUNDLE_CONFIG: (dupeIds) => ({
127
+ category: "lwrConfig/invalidSchema",
128
+ message: `Found duplicate specifiers in BundleConfig: [${dupeIds}]`
125
129
  })
126
130
  });
@@ -170,5 +170,12 @@ export declare const configParser: {
170
170
  advice: import("../types.js").DiagnosticAdvice;
171
171
  message: string;
172
172
  };
173
+ DUPLICATE_BUNDLE_CONFIG: (dupeIds: string[]) => Omit<{
174
+ category: "lwrConfig/invalidSchema";
175
+ message: string;
176
+ }, "message" | "advice"> & {
177
+ advice: import("../types.js").DiagnosticAdvice;
178
+ message: string;
179
+ };
173
180
  };
174
181
  //# sourceMappingURL=configParser.d.ts.map
@@ -95,5 +95,9 @@ export const configParser = createDiagnosticsCategory({
95
95
  category: 'lwrConfig/invalidSchema',
96
96
  message: 'If "locker.enabled: true" and any route sets "ssr: true", then "locker.clientOnly" must also be set to "true"',
97
97
  }),
98
+ DUPLICATE_BUNDLE_CONFIG: (dupeIds) => ({
99
+ category: 'lwrConfig/invalidSchema',
100
+ message: `Found duplicate specifiers in BundleConfig: [${dupeIds}]`,
101
+ }),
98
102
  });
99
103
  //# sourceMappingURL=configParser.js.map
@@ -170,6 +170,13 @@ export declare const descriptions: {
170
170
  advice: import("../types.js").DiagnosticAdvice;
171
171
  message: string;
172
172
  };
173
+ DUPLICATE_BUNDLE_CONFIG: (dupeIds: string[]) => Omit<{
174
+ category: "lwrConfig/invalidSchema";
175
+ message: string;
176
+ }, "message" | "advice"> & {
177
+ advice: import("../types.js").DiagnosticAdvice;
178
+ message: string;
179
+ };
173
180
  };
174
181
  UNRESOLVABLE: {
175
182
  ASSET: (assetPath: string) => Omit<{
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.10.0-alpha.19",
7
+ "version": "0.10.0-alpha.20",
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.10.0-alpha.19"
33
+ "@lwrjs/types": "0.10.0-alpha.20"
34
34
  },
35
35
  "engines": {
36
36
  "node": ">=16.0.0"
37
37
  },
38
- "gitHead": "0bd55139c08ddf5a532978cfa9e037eaf27e78e2"
38
+ "gitHead": "45a867fc54e98f77dd442ccd5f668e23027b9246"
39
39
  }