@salesforce/webapp-template-app-react-template-b2x-experimental 1.94.0 → 1.94.1

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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: webapplications-features
2
+ name: webapp-features
3
3
  description: Search, describe, and install pre-built UI features (authentication, shadcn components, navigation, charts, search, GraphQL, Agentforce AI) into Salesforce webapps. Use this when the user wants to add functionality to a webapp, or when determining what salesforce-provided features are available — whether prompted by the user or on your own initiative. Always check for an existing feature before building from scratch.
4
4
  ---
5
5
 
@@ -71,8 +71,8 @@ Resolves the feature name to an npm package, installs it and its dependencies (i
71
71
 
72
72
  Options:
73
73
 
74
- - `--webapp-dir <path>` (required) — Path to the webapp directory
75
- - `--sfdx-root <path>` (default: `force-app/main/default`) — SFDX metadata root directory
74
+ - `--webapp-dir <name>` (required) — Webapp name, resolves to `<sfdx-source>/webapplications/<name>`
75
+ - `--sfdx-source <path>` (default: `force-app/main/default`) — SFDX source directory
76
76
  - `--dry-run` (default: `false`) — Preview changes without writing files
77
77
  - `-v, --verbose` (default: `false`) — Enable verbose logging
78
78
  - `-y, --yes` (default: `false`) — Skip all prompts (auto-skip conflicts)
@@ -82,16 +82,16 @@ Options:
82
82
  ```bash
83
83
  # Install authentication (also installs shadcn dependency)
84
84
  npx @salesforce/webapps-features-experimental install authentication \
85
- --webapp-dir force-app/main/default/webapplications/mywebapp
85
+ --webapp-dir mywebapp
86
86
 
87
87
  # Dry run to preview changes
88
88
  npx @salesforce/webapps-features-experimental install shadcn \
89
- --webapp-dir force-app/main/default/webapplications/mywebapp \
89
+ --webapp-dir mywebapp \
90
90
  --dry-run
91
91
 
92
92
  # Non-interactive install (skip all file conflicts)
93
93
  npx @salesforce/webapps-features-experimental install authentication \
94
- --webapp-dir force-app/main/default/webapplications/mywebapp \
94
+ --webapp-dir mywebapp \
95
95
  --yes
96
96
  ```
97
97
 
@@ -106,7 +106,7 @@ Since you are running in a non-interactive environment, you cannot use `--on-con
106
106
  ```bash
107
107
  # Pass 1: detect conflicts
108
108
  npx @salesforce/webapps-features-experimental install authentication \
109
- --webapp-dir force-app/main/default/webapplications/mywebapp \
109
+ --webapp-dir mywebapp \
110
110
  --on-conflict error
111
111
 
112
112
  # The CLI will exit with an error listing every conflicting file path.
@@ -115,7 +115,7 @@ npx @salesforce/webapps-features-experimental install authentication \
115
115
  echo '{ "src/styles/global.css": "overwrite", "src/lib/utils.ts": "skip" }' > resolutions.json
116
116
 
117
117
  npx @salesforce/webapps-features-experimental install authentication \
118
- --webapp-dir force-app/main/default/webapplications/mywebapp \
118
+ --webapp-dir mywebapp \
119
119
  --conflict-resolution resolutions.json
120
120
  ```
121
121
 
@@ -131,7 +131,7 @@ Some copy operations use **hint placeholders** in the `"to"` path — descriptiv
131
131
  2. Rename or relocate it to the intended target (e.g., `src/pages/Home.tsx`)
132
132
  3. Or integrate its patterns into an existing file, then delete it
133
133
 
134
- **How to identify them:** Hint placeholders use `<descriptive-name>` syntax but are NOT one of the system placeholders (`<sfdxRoot>`, `<webappDir>`, `<webapp>`). They always appear in the middle or end of a path, never as the leading segment.
134
+ **How to identify them:** Hint placeholders use `<descriptive-name>` syntax but are NOT one of the system placeholders (`<sfdxSource>`, `<webappDir>`, `<webapp>`). They always appear in the middle or end of a path, never as the leading segment.
135
135
 
136
136
  **Example from features.json:**
137
137
 
package/dist/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.94.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.94.0...v1.94.1) (2026-03-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * adjust features cli @W-21452399 ([#258](https://github.com/salesforce-experience-platform-emu/webapps/issues/258)) ([524abe8](https://github.com/salesforce-experience-platform-emu/webapps/commit/524abe853684a770777b00238432a01d60dd3366))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.94.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.93.1...v1.94.0) (2026-03-12)
7
18
 
8
19
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
@@ -24,7 +24,7 @@
24
24
  "@salesforce/sdk-view": "file:../../../../../../../../../sdk/sdk-view",
25
25
  "@salesforce/webapp-experimental": "file:../../../../../../../../../webapps",
26
26
  "@tailwindcss/vite": "^4.1.17",
27
- "@tanstack/react-form": "^1.28.4",
27
+ "@tanstack/react-form": "^1.28.5",
28
28
  "class-variance-authority": "^0.7.1",
29
29
  "clsx": "^2.1.1",
30
30
  "lucide-react": "^0.562.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.94.0",
3
+ "version": "1.94.1",
4
4
  "description": "Base SFDX project template",
5
5
  "private": true,
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-app-react-template-b2x-experimental",
3
- "version": "1.94.0",
3
+ "version": "1.94.1",
4
4
  "description": "Base reference app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",