@marktiderman/genesis-product 0.0.6 → 0.1.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.
Files changed (2) hide show
  1. package/SKILL.md +38 -0
  2. package/package.json +68 -7
package/SKILL.md ADDED
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: genesis-product
3
+ description: Show an app's own people a Now / Next / Later roadmap, an idea board with votes and what's new with @marktiderman/genesis-product (a module), and tell them when their idea shipped. Load before building a roadmap, idea board, changelog or what's-new screen.
4
+ ---
5
+
6
+ # genesis-product
7
+
8
+ A module: the roadmap, idea board and release notes an app shows its own people. The catalog
9
+ is the app's `features.ts` (status, `horizon`, visibility); ideas and votes come through a
10
+ `ProductSource`.
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ genesis add product-board
16
+ pnpm add @marktiderman/genesis-product
17
+ ```
18
+
19
+ ## Which entry point
20
+
21
+ | Need | Import |
22
+ |---|---|
23
+ | The board, signals, demand, release diffs (no React, no I/O) | `@marktiderman/genesis-product` |
24
+ | The phone: `IdeaBoardScreen`, `RoadmapScreen`, `ProductWhatsNew`, `createVoteQueue` | `@marktiderman/genesis-product/native` |
25
+ | Telling people it shipped: `productNotifications`, `notifyShipped` | `@marktiderman/genesis-product/server` |
26
+
27
+ `/node` and the `genesis-product` bin are repository tooling (the board issue, release notes on
28
+ a repo's GitHub issues). They are not for app code: no runtime package imports them.
29
+
30
+ ## Rules
31
+
32
+ - Roadmap rows come from `features.ts` through `roadmapFromBoard`; never keep a second list.
33
+ - Votes go through the vote queue, made once outside render.
34
+ - Shipped notices go through genesis-notifications with the package's fragment, so preferences
35
+ and unsubscribe apply.
36
+ - Which plan unlocks Product is the app's call, in its own `features.ts`.
37
+
38
+ Details: the package README.
package/package.json CHANGED
@@ -1,9 +1,20 @@
1
1
  {
2
2
  "name": "@marktiderman/genesis-product",
3
- "version": "0.0.6",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "The product system for a Genesis repo: a Now / Next / Later board from features.ts with demand from ideas and feedback, a triage inbox, and release notes that close the loop with the people who asked. Ideas and feedback come from GitHub issues today, behind a SignalSource contract. Part of the Genesis framework.",
7
+ "keywords": [
8
+ "genesis",
9
+ "genesis-framework",
10
+ "roadmap",
11
+ "product-management",
12
+ "changelog"
13
+ ],
14
+ "homepage": "https://github.com/marktiderman/genesis/tree/main/packages/product#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/marktiderman/genesis/issues"
17
+ },
7
18
  "repository": {
8
19
  "type": "git",
9
20
  "url": "git+https://github.com/marktiderman/genesis.git",
@@ -44,10 +55,11 @@
44
55
  "files": [
45
56
  "dist",
46
57
  "src",
47
- "README.md"
58
+ "README.md",
59
+ "SKILL.md"
48
60
  ],
49
61
  "dependencies": {
50
- "@marktiderman/genesis-features": "^0.6.1"
62
+ "@marktiderman/genesis-features": "^0.8.0"
51
63
  },
52
64
  "peerDependencies": {
53
65
  "@marktiderman/genesis-ui-native": ">=2.9.0 <4.0.0",
@@ -70,18 +82,67 @@
70
82
  }
71
83
  },
72
84
  "devDependencies": {
73
- "@marktiderman/genesis-notifications": "^0.3.1",
74
- "@marktiderman/genesis-ui-native": "^3.0.0",
85
+ "@marktiderman/genesis-notifications": "^0.4.0",
86
+ "@marktiderman/genesis-ui-native": "^3.2.2",
75
87
  "@testing-library/react": "^16.3.2",
76
88
  "@types/node": "^22.9.0",
77
89
  "@types/react": "^19.2.14",
78
90
  "@types/react-dom": "^19.2.3",
79
- "happy-dom": "^20.9.0",
91
+ "happy-dom": "^21.0.4",
80
92
  "react": "^19.2.5",
81
93
  "react-dom": "^19.2.5",
82
94
  "tsup": "^8.3.0",
83
95
  "typescript": "~6.0.3",
84
- "vitest": "^4.1.12"
96
+ "vitest": "^5.0.5"
97
+ },
98
+ "genesis": {
99
+ "layer": "module",
100
+ "group": "modules",
101
+ "owner": "@marktiderman",
102
+ "module": {
103
+ "name": "Product",
104
+ "summary": "A Now / Next / Later roadmap, an idea board with votes and what's new, for the app's own people.",
105
+ "blocks": [
106
+ "product-board"
107
+ ],
108
+ "install": "genesis add product-board",
109
+ "docs": "README.md",
110
+ "skill": "SKILL.md"
111
+ },
112
+ "toolingEntries": [
113
+ "./node"
114
+ ],
115
+ "doctor": {
116
+ "enforce": false,
117
+ "reason": "The board, idea board and release notes are screens and data an app adds whole; the repo CLI (bin genesis-product, ./node) is tooling."
118
+ },
119
+ "blocks": {
120
+ "product-board": {
121
+ "feature": {
122
+ "name": "Product board",
123
+ "summary": "A Now / Next / Later roadmap from features.ts, an idea board with votes, and what's new, on the phone for the app's own people.",
124
+ "keywords": [
125
+ "roadmap",
126
+ "idea board",
127
+ "votes",
128
+ "what's new",
129
+ "release notes"
130
+ ],
131
+ "audience": [
132
+ "person"
133
+ ]
134
+ },
135
+ "platforms": [
136
+ "native",
137
+ "server"
138
+ ],
139
+ "steps": [
140
+ "Give the screens a ProductSource (ideas, votes, roadmap, what's new); there is no database source yet (genesis-product README, Native screens).",
141
+ "Render IdeaBoardScreen and RoadmapScreen from @marktiderman/genesis-product/native on routes of your own, with a vote queue made once by createVoteQueue.",
142
+ "To tell people when their idea shipped, spread productNotifications from @marktiderman/genesis-product/server into your genesis-notifications registry and run syncNotificationTypes on deploy."
143
+ ]
144
+ }
145
+ }
85
146
  },
86
147
  "scripts": {
87
148
  "build": "tsup && node ../../scripts/check-exports-resolve.mjs",