@salesforce/webapp-experimental 1.1.3 → 1.2.0

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.
@@ -4,10 +4,6 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
  export interface WebAppManifest {
7
- name: string;
8
- label: string;
9
- description?: string;
10
- version: string;
11
7
  outputDir: string;
12
8
  routing?: RoutingConfig;
13
9
  }
@@ -27,9 +23,9 @@ export interface RedirectRule {
27
23
  statusCode: 301 | 302 | 307 | 308;
28
24
  }
29
25
  /**
30
- * Load and parse webapp.json manifest
26
+ * Load and parse webapplication.json manifest
31
27
  *
32
- * @param manifestPath - Path to the webapp.json file
28
+ * @param manifestPath - Path to the webapplication.json file
33
29
  * @returns Promise resolving to the parsed manifest
34
30
  * @throws Error if manifest file not found or validation fails
35
31
  */
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../src/app/manifest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,MAAM,WAAW,cAAc;IAE9B,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,MAAM,CAAC;IAEd,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,OAAO,EAAE,MAAM,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,aAAa,CAAC;CACxB;AAGD,MAAM,WAAW,aAAa;IAE7B,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAE5C,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,WAAW,WAAW;IAE3B,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,YAAY;IAE5B,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IAEf,UAAU,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAClC;AAkCD;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAchF"}
1
+ {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../src/app/manifest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,MAAM,WAAW,cAAc;IAE9B,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,aAAa,CAAC;CACxB;AAGD,MAAM,WAAW,aAAa;IAE7B,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAE5C,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,WAAW,WAAW;IAE3B,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,YAAY;IAE5B,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IAEf,UAAU,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAClC;AAsBD;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAchF"}
@@ -12,15 +12,6 @@ import { readFile } from "node:fs/promises";
12
12
  */
13
13
  function validateManifest(manifest) {
14
14
  const errors = [];
15
- if (!manifest.name) {
16
- errors.push("name");
17
- }
18
- if (!manifest.label) {
19
- errors.push("label");
20
- }
21
- if (!manifest.version) {
22
- errors.push("version");
23
- }
24
15
  if (!manifest.outputDir) {
25
16
  errors.push("outputDir");
26
17
  }
@@ -29,9 +20,9 @@ function validateManifest(manifest) {
29
20
  }
30
21
  }
31
22
  /**
32
- * Load and parse webapp.json manifest
23
+ * Load and parse webapplication.json manifest
33
24
  *
34
- * @param manifestPath - Path to the webapp.json file
25
+ * @param manifestPath - Path to the webapplication.json file
35
26
  * @returns Promise resolving to the parsed manifest
36
27
  * @throws Error if manifest file not found or validation fails
37
28
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-experimental",
3
3
  "description": "[experimental] Core package for Salesforce Web Applications",
4
- "version": "1.1.3",
4
+ "version": "1.2.0",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "d4812cae5ed8da36dbf1c6311ffeab6c9f85c163"
57
+ "gitHead": "a0221e861c0f69880460a8b14243b7abd76b51f4"
58
58
  }