@salesforce/webapp-template-base-web-app-experimental 1.71.1 → 1.71.3

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.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Base Web App
2
+
3
+ Minimal base web app template — static HTML and web application metadata for the Salesforce platform. Used as a foundation for non-React web apps or as a reference structure.
4
+
5
+ ## In this monorepo
6
+
7
+ This package is a **base app** in the webapps monorepo. Building it copies the contents of `src/` into `dist/`, which is what gets published.
8
+
9
+ ### Build
10
+
11
+ ```bash
12
+ nx run base-web-app:build
13
+ ```
14
+
15
+ or from this directory:
16
+
17
+ ```bash
18
+ npm run build
19
+ ```
20
+
21
+ Produces `dist/` with the web app assets and metadata.
22
+
23
+ ### Test
24
+
25
+ ```bash
26
+ npm run test
27
+ ```
28
+
29
+ Runs the unit test suite (Vitest).
30
+
31
+ For a description of the built output and how to run or deploy it, see the README in the build output: `dist/README.md` (after building).
package/dist/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # Base Web App
2
+
3
+ Base Web App is a minimal web application template for the Salesforce platform. It provides a static HTML entry point and web application metadata so you can deploy a simple web app or use it as a starting point for a custom build. It does not include a framework; it is HTML and configuration only.
4
+
5
+ ## Layout
6
+
7
+ This directory is the **web application payload**. It contains:
8
+
9
+ | Path | Description |
10
+ | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11
+ | `webapplication.json` | Web app config: `outputDir` (where the app content lives), routing, fallback. |
12
+ | `_webapplication.webapplication-meta.xml` | Salesforce web application metadata (label, description, version). |
13
+ | `src/` | **App content directory.** Matches `outputDir` in `webapplication.json`. Entry point is `src/index.html`; add other static assets (HTML, CSS, JS, images) under `src/` as needed. |
14
+
15
+ The nested `src/` is intentional: this folder holds the actual web app content (e.g. `index.html`). The platform uses `outputDir` from `webapplication.json` to know which subfolder contains the app.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-web-app-experimental",
3
- "version": "1.71.1",
3
+ "version": "1.71.3",
4
4
  "description": "Base web app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",