siesa-agents 2.1.45 → 2.1.47
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/bmad/bmm/workflows/3-solutioning/create-architecture/data/company-standards/architecture-patterns.md +66 -42
- package/bmad/bmm/workflows/3-solutioning/create-architecture/data/company-standards/frontend-standards.md +1062 -263
- package/bmad/bmm/workflows/3-solutioning/create-architecture/data/company-standards/technology-stack.md +72 -13
- package/package.json +1 -1
|
@@ -2,26 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
## Frontend Stack
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
- **
|
|
7
|
-
- Default
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
5
|
+
### Bundler & Dev Server
|
|
6
|
+
- **Vite 6+** with TypeScript
|
|
7
|
+
- Default bundler for all frontend projects
|
|
8
|
+
- Native ES modules for fast development
|
|
9
|
+
- Optimized for Module Federation (microfrontends)
|
|
10
|
+
- HMR (Hot Module Replacement) instantáneo
|
|
11
|
+
|
|
12
|
+
### Router
|
|
13
|
+
- **TanStack Router 1+** (file-based routing)
|
|
14
|
+
- Type-safe routing with auto-generated route tree
|
|
15
|
+
- File-based routing with special prefixes (`_`, `.`, `-`, `$`)
|
|
16
|
+
- Automatic code-splitting per route
|
|
17
|
+
- Integrated with TanStack Query
|
|
11
18
|
|
|
12
19
|
### State Management
|
|
13
|
-
- **Zustand
|
|
20
|
+
- **Zustand 5+** (client state)
|
|
21
|
+
- Feature-based stores following DDD patterns
|
|
22
|
+
- Prepared for microfrontends (singleton stores)
|
|
23
|
+
- **TanStack Query 5+** (server state)
|
|
24
|
+
- Cache and synchronization
|
|
25
|
+
- Optimistic updates
|
|
14
26
|
|
|
15
27
|
### UI Framework & Styling
|
|
16
|
-
- **
|
|
28
|
+
- **shadcn/ui** (component library)
|
|
17
29
|
- **Radix UI** (primitives)
|
|
18
30
|
- **TailwindCSS v4** (styling)
|
|
19
31
|
|
|
20
32
|
### Architecture
|
|
21
33
|
- **Clean Architecture** + **Domain-Driven Design (DDD)**
|
|
34
|
+
- **Module/Domain/Feature** structure for enterprise scale
|
|
22
35
|
|
|
23
36
|
### Testing
|
|
24
|
-
- **Vitest** (test runner)
|
|
37
|
+
- **Vitest** (test runner - native Vite integration)
|
|
25
38
|
- **React Testing Library** (component testing)
|
|
26
39
|
- **MSW** (Mock Service Worker - API mocking)
|
|
27
40
|
|
|
@@ -33,11 +46,34 @@
|
|
|
33
46
|
- **Axios** with interceptors
|
|
34
47
|
|
|
35
48
|
### Progressive Web App (PWA)
|
|
36
|
-
- **
|
|
49
|
+
- **vite-plugin-pwa** (PWA plugin for Vite)
|
|
37
50
|
- **Workbox** (service worker library)
|
|
38
51
|
|
|
39
|
-
|
|
40
|
-
|
|
52
|
+
## Microfrontends Configuration
|
|
53
|
+
|
|
54
|
+
### Module Federation Shared Dependencies
|
|
55
|
+
|
|
56
|
+
Para evitar dependencias duplicadas entre microfrontends:
|
|
57
|
+
|
|
58
|
+
```typescript
|
|
59
|
+
// vite.config.ts - Host y cada Remote
|
|
60
|
+
import { federation } from '@module-federation/vite';
|
|
61
|
+
|
|
62
|
+
federation({
|
|
63
|
+
shared: {
|
|
64
|
+
react: { singleton: true, requiredVersion: '^18.3.0' },
|
|
65
|
+
'react-dom': { singleton: true, requiredVersion: '^18.3.0' },
|
|
66
|
+
'@tanstack/react-router': { singleton: true, requiredVersion: '^1.95.0' },
|
|
67
|
+
'@tanstack/react-query': { singleton: true, requiredVersion: '^5.62.0' },
|
|
68
|
+
zustand: { singleton: true, requiredVersion: '^5.0.0' },
|
|
69
|
+
},
|
|
70
|
+
})
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
| Configuración | Propósito |
|
|
74
|
+
|---------------|-----------|
|
|
75
|
+
| `singleton: true` | Garantiza una sola instancia en runtime |
|
|
76
|
+
| `requiredVersion: '^x.x.0'` | Rango semver para flexibilidad sin romper compatibilidad |
|
|
41
77
|
|
|
42
78
|
## Core Principles
|
|
43
79
|
|
|
@@ -58,9 +94,10 @@ Build complex UIs from simple, reusable components
|
|
|
58
94
|
Leverage TypeScript for compile-time safety and developer experience
|
|
59
95
|
|
|
60
96
|
### Performance by Design
|
|
61
|
-
- Lazy loading
|
|
97
|
+
- Lazy loading (automatic with TanStack Router)
|
|
62
98
|
- Memoization
|
|
63
99
|
- Bundle optimization
|
|
100
|
+
- Singleton shared dependencies for microfrontends
|
|
64
101
|
|
|
65
102
|
### Accessibility as Standard
|
|
66
103
|
WCAG 2.1 AA compliance in all components
|
|
@@ -233,3 +270,25 @@ Implement security at every layer
|
|
|
233
270
|
### Docker for Production Only
|
|
234
271
|
- Development: dotnet run locally
|
|
235
272
|
- Production: Docker containers
|
|
273
|
+
|
|
274
|
+
## Version Summary
|
|
275
|
+
|
|
276
|
+
### Frontend
|
|
277
|
+
| Technology | Version | Notes |
|
|
278
|
+
|------------|---------|-------|
|
|
279
|
+
| Vite | 6+ | Bundler, optimized for Module Federation |
|
|
280
|
+
| React | 18+ | Functional components, hooks |
|
|
281
|
+
| TypeScript | 5+ | Strict mode enabled |
|
|
282
|
+
| TanStack Router | 1+ | File-based, type-safe routing |
|
|
283
|
+
| TanStack Query | 5+ | Server state management |
|
|
284
|
+
| Zustand | 5+ | Client state management |
|
|
285
|
+
| TailwindCSS | 4+ | Utility-first CSS |
|
|
286
|
+
| Vitest | Latest | Native Vite test runner |
|
|
287
|
+
|
|
288
|
+
### Backend
|
|
289
|
+
| Technology | Version | Notes |
|
|
290
|
+
|------------|---------|-------|
|
|
291
|
+
| .NET | 10 | LTS |
|
|
292
|
+
| Entity Framework Core | 10 | Matches .NET version |
|
|
293
|
+
| PostgreSQL | 18+ | Mandatory, one per microservice |
|
|
294
|
+
| xUnit | Latest | Testing framework |
|