@schandlergarcia/sf-web-components 1.9.57 → 1.9.58
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 +16 -0
- package/package.json +1 -1
- package/scripts/reset-command-center.sh +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ 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.58] - 2026-04-01
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **scripts/reset-command-center.sh** - Fixed reset pointing to old __examples__ Home page
|
|
12
|
+
- Issue: Reset routes.tsx imported Home from `./features/object-search/__examples__/pages/Home` (old style with SearchBar component)
|
|
13
|
+
- But reset script creates `src/pages/Home.tsx` with new styled template (shadcn Input/Button)
|
|
14
|
+
- Result: Routes pointed to wrong file, so users saw old style __examples__ page instead of new template
|
|
15
|
+
- Solution: Changed reset routes.tsx to import Home from `./pages/Home` (matches postinstall routes.tsx.template)
|
|
16
|
+
- Now reset uses the styled Home.tsx it creates, not the old __examples__ version
|
|
17
|
+
|
|
18
|
+
### Context
|
|
19
|
+
- **Postinstall routes.tsx.template**: Already correct - imports from `./pages/Home` ✓
|
|
20
|
+
- **Reset script routes**: Was importing from `./features/object-search/__examples__/pages/Home` ✗ (now fixed)
|
|
21
|
+
- The __examples__ directory contains reference implementations but should not be used in actual routes
|
|
22
|
+
- Routes should point to the templates installed in `src/pages/`
|
|
23
|
+
|
|
8
24
|
## [1.9.57] - 2026-04-01
|
|
9
25
|
|
|
10
26
|
### Fixed
|
package/package.json
CHANGED
|
@@ -251,7 +251,7 @@ echo "→ Updating ${ROUTES}..."
|
|
|
251
251
|
cat > "$ROUTES" << 'ROUTES_EOF'
|
|
252
252
|
import type { RouteObject } from 'react-router';
|
|
253
253
|
import AppLayout from './appLayout';
|
|
254
|
-
import Home from './
|
|
254
|
+
import Home from './pages/Home';
|
|
255
255
|
import AccountSearch from './features/object-search/__examples__/pages/AccountSearch';
|
|
256
256
|
import AccountObjectDetailPage from './features/object-search/__examples__/pages/AccountObjectDetailPage';
|
|
257
257
|
import NotFound from './pages/NotFound';
|