@contractspec/example.crm-pipeline 3.0.0 → 3.2.0

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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=44
6
- Bundled 44 modules in 90ms
6
+ Bundled 44 modules in 72ms
7
7
 
8
8
  ./crm-pipeline.feature.js 2.29 KB (entry point)
9
9
  seeders/index.js 1.00 KB (entry point)
@@ -51,7 +51,7 @@ Bundled 44 modules in 90ms
51
51
  docs/crm-pipeline.docblock.js 4.43 KB (entry point)
52
52
 
53
53
  [contractspec-bun-build] transpile target=node root=src entries=44
54
- Bundled 44 modules in 103ms
54
+ Bundled 44 modules in 48ms
55
55
 
56
56
  ./crm-pipeline.feature.js 2.29 KB (entry point)
57
57
  seeders/index.js 0.99 KB (entry point)
@@ -99,7 +99,7 @@ Bundled 44 modules in 103ms
99
99
  docs/crm-pipeline.docblock.js 4.41 KB (entry point)
100
100
 
101
101
  [contractspec-bun-build] transpile target=browser root=src entries=44
102
- Bundled 44 modules in 60ms
102
+ Bundled 44 modules in 54ms
103
103
 
104
104
  ./crm-pipeline.feature.js 2.29 KB (entry point)
105
105
  seeders/index.js 0.99 KB (entry point)
package/AGENTS.md ADDED
@@ -0,0 +1,42 @@
1
+ # AI Agent Guide -- `@contractspec/example.crm-pipeline`
2
+
3
+ Scope: `packages/examples/crm-pipeline/*`
4
+
5
+ Demonstrates a full CRM pipeline with Contacts, Companies, Deals, and Tasks using spec-first entities, events, and UI.
6
+
7
+ ## Quick Context
8
+
9
+ - **Layer**: example
10
+ - **Related Packages**: `lib.contracts-spec`, `lib.schema`, `lib.design-system`, `lib.example-shared-ui`, `lib.identity-rbac`, `lib.runtime-sandbox`, `lib.ui-kit-web`, `module.audit-trail`, `module.notifications`
11
+
12
+ ## What This Demonstrates
13
+
14
+ - Multi-entity domain model (Contact, Company, Deal, Task)
15
+ - Deal pipeline with stage enums, operations, and test-specs
16
+ - Event-driven architecture (contact, deal, task events)
17
+ - Presentation layer with dashboard and pipeline views
18
+ - React UI with pipeline board, deal cards, hooks, modals, overlays, and renderers
19
+ - Feature definition and capability pattern
20
+ - Seeders and mock data
21
+
22
+ ## Public Exports
23
+
24
+ - `.` -- root barrel
25
+ - `./crm-pipeline.feature` -- feature definition
26
+ - `./deal` -- deal enum, operation, schema, test-spec
27
+ - `./entities` -- contact, company, deal, task entities
28
+ - `./events` -- contact, deal, task events
29
+ - `./handlers` -- CRM and deal handlers with mock data
30
+ - `./operations`, `./presentations` -- domain operations and presentations
31
+ - `./seeders` -- demo data
32
+ - `./ui` -- React components, hooks, modals, overlays, renderers
33
+ - `./docs` -- DocBlock documentation
34
+ - `./example` -- runnable example entry point
35
+
36
+ ## Local Commands
37
+
38
+ - Build: `bun run build`
39
+ - Dev: `bun run dev`
40
+ - Test: `bun test`
41
+ - Validate: `bun run validate`
42
+ - Typecheck: `bun run typecheck`
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @contractspec/example.crm-pipeline
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a281fc5: fix: missing dependencies
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [a281fc5]
12
+ - @contractspec/lib.example-shared-ui@3.2.0
13
+ - @contractspec/module.notifications@3.2.0
14
+ - @contractspec/lib.runtime-sandbox@2.2.0
15
+ - @contractspec/lib.contracts-spec@3.2.0
16
+ - @contractspec/module.audit-trail@3.2.0
17
+ - @contractspec/lib.design-system@3.2.0
18
+ - @contractspec/lib.identity-rbac@3.2.0
19
+ - @contractspec/lib.ui-kit-web@3.2.0
20
+ - @contractspec/lib.schema@3.2.0
21
+
22
+ ## 3.1.1
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [02c0cc5]
27
+ - @contractspec/lib.contracts-spec@3.1.1
28
+ - @contractspec/lib.design-system@3.1.1
29
+ - @contractspec/lib.example-shared-ui@3.1.1
30
+ - @contractspec/lib.identity-rbac@3.1.1
31
+ - @contractspec/module.audit-trail@3.1.1
32
+ - @contractspec/module.notifications@3.1.1
33
+
34
+ ## 3.1.0
35
+
36
+ ### Minor Changes
37
+
38
+ - 28987eb: chore: upgrade dependencies
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [f2a4faf]
43
+ - Updated dependencies [28987eb]
44
+ - Updated dependencies [28987eb]
45
+ - @contractspec/lib.contracts-spec@3.1.0
46
+ - @contractspec/lib.example-shared-ui@3.1.0
47
+ - @contractspec/module.notifications@3.1.0
48
+ - @contractspec/lib.runtime-sandbox@2.1.0
49
+ - @contractspec/module.audit-trail@3.1.0
50
+ - @contractspec/lib.design-system@3.1.0
51
+ - @contractspec/lib.identity-rbac@3.1.0
52
+ - @contractspec/lib.ui-kit-web@3.1.0
53
+ - @contractspec/lib.schema@3.1.0
54
+
3
55
  ## 3.0.0
4
56
 
5
57
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.crm-pipeline",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "CRM Pipeline - Contacts, Companies, Deals, Tasks",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -422,24 +422,24 @@
422
422
  "typecheck": "tsc --noEmit"
423
423
  },
424
424
  "dependencies": {
425
- "@contractspec/lib.contracts-spec": "3.0.0",
426
- "@contractspec/lib.design-system": "3.0.0",
427
- "@contractspec/lib.example-shared-ui": "3.0.0",
428
- "@contractspec/lib.identity-rbac": "3.0.0",
429
- "@contractspec/lib.runtime-sandbox": "2.0.0",
430
- "@contractspec/lib.schema": "3.0.0",
431
- "@contractspec/lib.ui-kit-web": "3.0.0",
432
- "@contractspec/module.audit-trail": "3.0.0",
433
- "@contractspec/module.notifications": "3.0.0",
425
+ "@contractspec/lib.contracts-spec": "3.2.0",
426
+ "@contractspec/lib.design-system": "3.2.0",
427
+ "@contractspec/lib.example-shared-ui": "3.2.0",
428
+ "@contractspec/lib.identity-rbac": "3.2.0",
429
+ "@contractspec/lib.runtime-sandbox": "2.2.0",
430
+ "@contractspec/lib.schema": "3.2.0",
431
+ "@contractspec/lib.ui-kit-web": "3.2.0",
432
+ "@contractspec/module.audit-trail": "3.2.0",
433
+ "@contractspec/module.notifications": "3.2.0",
434
434
  "react": "19.2.4",
435
435
  "react-dom": "19.2.4"
436
436
  },
437
437
  "devDependencies": {
438
- "@contractspec/tool.typescript": "3.0.0",
438
+ "@contractspec/tool.typescript": "3.2.0",
439
439
  "typescript": "^5.9.3",
440
440
  "@types/react": "^19.2.14",
441
441
  "@types/react-dom": "^19.2.2",
442
- "@contractspec/tool.bun": "3.0.0"
442
+ "@contractspec/tool.bun": "3.2.0"
443
443
  },
444
444
  "publishConfig": {
445
445
  "exports": {