@schandlergarcia/sf-web-components 1.9.73 → 1.9.74

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 CHANGED
@@ -5,7 +5,12 @@ 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.73] - 2026-04-02
8
+ ## [1.9.74] - 2026-04-02
9
+
10
+ ### Added
11
+ - **Engine logo asset** - `assets/images/engine_logo.png` restored from internal-app-standard-config
12
+ - Postinstall script copies to `src/assets/images/engine_logo.png`
13
+ - Reset script restores to baseline
9
14
 
10
15
  ### Updated
11
16
  - **PRD (engine-command-center-prd.md)** - Latest rewritten version from react-cursor-1
@@ -14,8 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
19
  - `data/useEngineLiveData.ts` - Updated loading hook
15
20
  - **Global styles (src/styles/global.css)** - Added ChatBar overlay padding rule
16
21
  - **Builder skill (SKILL.md)** - Updated with metadata patterns
22
+ - **package.json** - Added "assets" to files array
23
+
24
+ **Context:** Restored Engine logo asset that was previously missing. All Engine branding assets now included in package.
17
25
 
18
- **Context:** Latest updates including Midwest storm scenario data and improved builder documentation.
26
+ ## [1.9.73] - 2026-04-02
27
+
28
+ ### Updated
29
+ - **PRD, live data, global styles, and SKILL.md** - Latest updates from react-cursor-1
19
30
 
20
31
  ## [1.9.72] - 2026-04-02
21
32
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schandlergarcia/sf-web-components",
3
- "version": "1.9.73",
3
+ "version": "1.9.74",
4
4
  "description": "Reusable Salesforce web components library with Tailwind CSS v4 and shadcn/ui",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,6 +28,7 @@
28
28
  "dist",
29
29
  "scripts",
30
30
  "data",
31
+ "assets",
31
32
  "src/templates",
32
33
  "src/components",
33
34
  "src/lib",
@@ -314,6 +314,25 @@ if (fs.existsSync(dataSourceDir)) {
314
314
  console.error(` ✗ Failed to install useEngineLiveData.ts: ${error.message}`);
315
315
  }
316
316
  }
317
+
318
+ // Copy engine_logo.png
319
+ const assetsSourceDir = path.join(packageRoot, 'assets/images');
320
+ const targetAssetsDir = path.join(cwd, 'src/assets/images');
321
+ const engineLogoSource = path.join(assetsSourceDir, 'engine_logo.png');
322
+ const engineLogoTarget = path.join(targetAssetsDir, 'engine_logo.png');
323
+
324
+ if (fs.existsSync(engineLogoSource)) {
325
+ try {
326
+ if (!fs.existsSync(targetAssetsDir)) {
327
+ fs.mkdirSync(targetAssetsDir, { recursive: true });
328
+ }
329
+ fs.copyFileSync(engineLogoSource, engineLogoTarget);
330
+ console.log(' ✓ Installed engine_logo.png');
331
+ dataFilesInstalled++;
332
+ } catch (error) {
333
+ console.error(` ✗ Failed to install engine_logo.png: ${error.message}`);
334
+ }
335
+ }
317
336
  }
318
337
 
319
338
  // Copy GraphQL schema generator script
@@ -733,6 +733,28 @@ else
733
733
  echo " ⚠ Skipped PRD (package PRD not found)"
734
734
  fi
735
735
 
736
+ # Restore engine_logo.png
737
+ mkdir -p src/assets/images
738
+ ENGINE_LOGO="src/assets/images/engine_logo.png"
739
+ echo "→ Restoring ${ENGINE_LOGO}..."
740
+
741
+ # Detect package location for logo
742
+ if [ -d "node_modules/@schandlergarcia/sf-web-components/assets/images" ]; then
743
+ PACKAGE_LOGO="node_modules/@schandlergarcia/sf-web-components/assets/images/engine_logo.png"
744
+ elif [ -f "$SCRIPT_DIR/../assets/images/engine_logo.png" ]; then
745
+ # Running from package source
746
+ PACKAGE_LOGO="$SCRIPT_DIR/../assets/images/engine_logo.png"
747
+ else
748
+ PACKAGE_LOGO=""
749
+ fi
750
+
751
+ if [ -n "$PACKAGE_LOGO" ] && [ -f "$PACKAGE_LOGO" ]; then
752
+ cp "$PACKAGE_LOGO" "$ENGINE_LOGO"
753
+ echo " ✓ Engine logo restored"
754
+ else
755
+ echo " ⚠ Skipped logo (package logo not found)"
756
+ fi
757
+
736
758
  echo ""
737
759
 
738
760
  # ── Done ─────────────────────────────────────────────────────────────────────
@@ -750,6 +772,7 @@ echo "║ • Engine live data (engine-live-data.js) ║"
750
772
  echo "║ • Live data hook (useEngineLiveData.ts) ║"
751
773
  echo "║ • GraphQL schema (schema.graphql) ║"
752
774
  echo "║ • Engine PRD (engine-command-center-prd.md)║"
775
+ echo "║ • Engine logo (engine_logo.png) ║"
753
776
  echo "║ • Component library (cards, charts, etc.) ║"
754
777
  echo "║ • HeroUI wrappers & theme providers ║"
755
778
  echo "║ • Salesforce SDK stubs for local dev ║"