@schandlergarcia/sf-web-components 1.9.81 → 1.9.82
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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/scripts/reset-command-center.sh +8 -15
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.9.82] - 2026-04-06
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Reset script wasn't cleaning Apex classes** — Path detection found a nested `force-app/main/default` directory inside the webapp (created by the demo agent when deploying Apex) instead of the real SFDX project root above it. Fixed by extracting the SFDX path from the webapp's own absolute path instead of searching child directories.
|
|
12
|
+
|
|
8
13
|
## [1.9.81] - 2026-04-06
|
|
9
14
|
|
|
10
15
|
### Changed
|
package/package.json
CHANGED
|
@@ -759,21 +759,14 @@ fi
|
|
|
759
759
|
|
|
760
760
|
SFDX_DEFAULT=""
|
|
761
761
|
|
|
762
|
-
#
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
# Check if we're already inside force-app/main/default
|
|
771
|
-
if [[ "$check" == */force-app/main/default/* ]]; then
|
|
772
|
-
SFDX_DEFAULT="${check%%/force-app/main/default/*}/force-app/main/default"
|
|
773
|
-
break
|
|
774
|
-
fi
|
|
775
|
-
check="$parent"
|
|
776
|
-
done
|
|
762
|
+
# The webapp lives inside force-app/main/default/uiBundles/..., so extract
|
|
763
|
+
# the SFDX default directory from our own path first. Only fall back to
|
|
764
|
+
# searching child directories if the pattern doesn't match (standalone app).
|
|
765
|
+
ROOT_ABS="$(cd "$ROOT" && pwd)"
|
|
766
|
+
|
|
767
|
+
if [[ "$ROOT_ABS" == */force-app/main/default/* ]]; then
|
|
768
|
+
SFDX_DEFAULT="${ROOT_ABS%%/force-app/main/default/*}/force-app/main/default"
|
|
769
|
+
fi
|
|
777
770
|
|
|
778
771
|
if [ -n "$SFDX_DEFAULT" ]; then
|
|
779
772
|
metadata_cleaned=0
|