@unified-product-graph/core 0.8.5 → 0.8.6
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/dist/index.cjs +277 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +277 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -13282,6 +13282,16 @@ var UPG_FRAMEWORKS = [
|
|
|
13282
13282
|
"label": "Items to score",
|
|
13283
13283
|
"entityTypeId": "feature",
|
|
13284
13284
|
"description": "Features, opportunities, or solutions being evaluated"
|
|
13285
|
+
},
|
|
13286
|
+
{
|
|
13287
|
+
"label": "Opportunities to score",
|
|
13288
|
+
"entityTypeId": "opportunity",
|
|
13289
|
+
"description": "Opportunities scored on the same RICE Scoring inputs as features."
|
|
13290
|
+
},
|
|
13291
|
+
{
|
|
13292
|
+
"label": "Needs to score",
|
|
13293
|
+
"entityTypeId": "need",
|
|
13294
|
+
"description": "Needs scored on the same RICE Scoring inputs as features."
|
|
13285
13295
|
}
|
|
13286
13296
|
],
|
|
13287
13297
|
"data": {
|
|
@@ -13289,6 +13299,14 @@ var UPG_FRAMEWORKS = [
|
|
|
13289
13299
|
{
|
|
13290
13300
|
"type": "feature",
|
|
13291
13301
|
"role": "scored_item"
|
|
13302
|
+
},
|
|
13303
|
+
{
|
|
13304
|
+
"type": "opportunity",
|
|
13305
|
+
"role": "scored_item"
|
|
13306
|
+
},
|
|
13307
|
+
{
|
|
13308
|
+
"type": "need",
|
|
13309
|
+
"role": "scored_item"
|
|
13292
13310
|
}
|
|
13293
13311
|
],
|
|
13294
13312
|
"required_properties": {
|
|
@@ -13329,6 +13347,82 @@ var UPG_FRAMEWORKS = [
|
|
|
13329
13347
|
"label": "Effort",
|
|
13330
13348
|
"description": "How much work is required to build and ship this, on the effort scale?"
|
|
13331
13349
|
}
|
|
13350
|
+
],
|
|
13351
|
+
"opportunity": [
|
|
13352
|
+
{
|
|
13353
|
+
"property": "reach",
|
|
13354
|
+
"type": "assessment",
|
|
13355
|
+
"scale_id": "reach_5",
|
|
13356
|
+
"required": true,
|
|
13357
|
+
"scope": "framework",
|
|
13358
|
+
"label": "Reach",
|
|
13359
|
+
"description": "How many users will this impact per quarter?"
|
|
13360
|
+
},
|
|
13361
|
+
{
|
|
13362
|
+
"property": "impact",
|
|
13363
|
+
"type": "assessment",
|
|
13364
|
+
"scale_id": "impact_5",
|
|
13365
|
+
"required": true,
|
|
13366
|
+
"scope": "framework",
|
|
13367
|
+
"label": "Impact",
|
|
13368
|
+
"description": "How much will this impact each user, on the impact scale?"
|
|
13369
|
+
},
|
|
13370
|
+
{
|
|
13371
|
+
"property": "confidence",
|
|
13372
|
+
"type": "assessment",
|
|
13373
|
+
"scale_id": "confidence_5",
|
|
13374
|
+
"required": true,
|
|
13375
|
+
"scope": "framework",
|
|
13376
|
+
"label": "Confidence",
|
|
13377
|
+
"description": "How confident are you in the reach, impact, and effort estimates?"
|
|
13378
|
+
},
|
|
13379
|
+
{
|
|
13380
|
+
"property": "effort",
|
|
13381
|
+
"type": "assessment",
|
|
13382
|
+
"scale_id": "effort_5",
|
|
13383
|
+
"required": true,
|
|
13384
|
+
"scope": "framework",
|
|
13385
|
+
"label": "Effort",
|
|
13386
|
+
"description": "How much work is required to build and ship this, on the effort scale?"
|
|
13387
|
+
}
|
|
13388
|
+
],
|
|
13389
|
+
"need": [
|
|
13390
|
+
{
|
|
13391
|
+
"property": "reach",
|
|
13392
|
+
"type": "assessment",
|
|
13393
|
+
"scale_id": "reach_5",
|
|
13394
|
+
"required": true,
|
|
13395
|
+
"scope": "framework",
|
|
13396
|
+
"label": "Reach",
|
|
13397
|
+
"description": "How many users will this impact per quarter?"
|
|
13398
|
+
},
|
|
13399
|
+
{
|
|
13400
|
+
"property": "impact",
|
|
13401
|
+
"type": "assessment",
|
|
13402
|
+
"scale_id": "impact_5",
|
|
13403
|
+
"required": true,
|
|
13404
|
+
"scope": "framework",
|
|
13405
|
+
"label": "Impact",
|
|
13406
|
+
"description": "How much will this impact each user, on the impact scale?"
|
|
13407
|
+
},
|
|
13408
|
+
{
|
|
13409
|
+
"property": "confidence",
|
|
13410
|
+
"type": "assessment",
|
|
13411
|
+
"scale_id": "confidence_5",
|
|
13412
|
+
"required": true,
|
|
13413
|
+
"scope": "framework",
|
|
13414
|
+
"label": "Confidence",
|
|
13415
|
+
"description": "How confident are you in the reach, impact, and effort estimates?"
|
|
13416
|
+
},
|
|
13417
|
+
{
|
|
13418
|
+
"property": "effort",
|
|
13419
|
+
"type": "assessment",
|
|
13420
|
+
"scale_id": "effort_5",
|
|
13421
|
+
"required": true,
|
|
13422
|
+
"scope": "framework",
|
|
13423
|
+
"label": "Effort",
|
|
13424
|
+
"description": "How much work is required to build and ship this, on the effort scale?"
|
|
13425
|
+
}
|
|
13332
13426
|
]
|
|
13333
13427
|
},
|
|
13334
13428
|
"computed_properties": [
|
|
@@ -13338,6 +13432,20 @@ var UPG_FRAMEWORKS = [
|
|
|
13338
13432
|
"entity_type": "feature",
|
|
13339
13433
|
"label": "RICE Score",
|
|
13340
13434
|
"format": "number"
|
|
13435
|
+
},
|
|
13436
|
+
{
|
|
13437
|
+
"property": "rice_score",
|
|
13438
|
+
"expression": "(reach * impact * confidence) / effort",
|
|
13439
|
+
"entity_type": "opportunity",
|
|
13440
|
+
"label": "RICE Score",
|
|
13441
|
+
"format": "number"
|
|
13442
|
+
},
|
|
13443
|
+
{
|
|
13444
|
+
"property": "rice_score",
|
|
13445
|
+
"expression": "(reach * impact * confidence) / effort",
|
|
13446
|
+
"entity_type": "need",
|
|
13447
|
+
"label": "RICE Score",
|
|
13448
|
+
"format": "number"
|
|
13341
13449
|
}
|
|
13342
13450
|
]
|
|
13343
13451
|
},
|
|
@@ -15721,6 +15829,16 @@ var UPG_FRAMEWORKS = [
|
|
|
15721
15829
|
"label": "Ease",
|
|
15722
15830
|
"entityTypeId": "feature",
|
|
15723
15831
|
"description": "How easy is this to implement?"
|
|
15832
|
+
},
|
|
15833
|
+
{
|
|
15834
|
+
"label": "Opportunities to score",
|
|
15835
|
+
"entityTypeId": "opportunity",
|
|
15836
|
+
"description": "Opportunities scored on the same ICE Scoring inputs as features."
|
|
15837
|
+
},
|
|
15838
|
+
{
|
|
15839
|
+
"label": "Needs to score",
|
|
15840
|
+
"entityTypeId": "need",
|
|
15841
|
+
"description": "Needs scored on the same ICE Scoring inputs as features."
|
|
15724
15842
|
}
|
|
15725
15843
|
],
|
|
15726
15844
|
"data": {
|
|
@@ -15736,6 +15854,14 @@ var UPG_FRAMEWORKS = [
|
|
|
15736
15854
|
{
|
|
15737
15855
|
"type": "assumption",
|
|
15738
15856
|
"role": "item"
|
|
15857
|
+
},
|
|
15858
|
+
{
|
|
15859
|
+
"type": "opportunity",
|
|
15860
|
+
"role": "scored_item"
|
|
15861
|
+
},
|
|
15862
|
+
{
|
|
15863
|
+
"type": "need",
|
|
15864
|
+
"role": "scored_item"
|
|
15739
15865
|
}
|
|
15740
15866
|
],
|
|
15741
15867
|
"required_properties": {
|
|
@@ -15764,6 +15890,58 @@ var UPG_FRAMEWORKS = [
|
|
|
15764
15890
|
"label": "Ease",
|
|
15765
15891
|
"description": "Ease of implementation (1-10)"
|
|
15766
15892
|
}
|
|
15893
|
+
],
|
|
15894
|
+
"opportunity": [
|
|
15895
|
+
{
|
|
15896
|
+
"property": "impact",
|
|
15897
|
+
"type": "number",
|
|
15898
|
+
"required": true,
|
|
15899
|
+
"scope": "framework",
|
|
15900
|
+
"label": "Impact",
|
|
15901
|
+
"description": "Expected impact on the target metric (1-10)"
|
|
15902
|
+
},
|
|
15903
|
+
{
|
|
15904
|
+
"property": "confidence",
|
|
15905
|
+
"type": "number",
|
|
15906
|
+
"required": true,
|
|
15907
|
+
"scope": "framework",
|
|
15908
|
+
"label": "Confidence",
|
|
15909
|
+
"description": "Confidence in the impact estimate (1-10)"
|
|
15910
|
+
},
|
|
15911
|
+
{
|
|
15912
|
+
"property": "ease",
|
|
15913
|
+
"type": "number",
|
|
15914
|
+
"required": true,
|
|
15915
|
+
"scope": "framework",
|
|
15916
|
+
"label": "Ease",
|
|
15917
|
+
"description": "Ease of implementation (1-10)"
|
|
15918
|
+
}
|
|
15919
|
+
],
|
|
15920
|
+
"need": [
|
|
15921
|
+
{
|
|
15922
|
+
"property": "impact",
|
|
15923
|
+
"type": "number",
|
|
15924
|
+
"required": true,
|
|
15925
|
+
"scope": "framework",
|
|
15926
|
+
"label": "Impact",
|
|
15927
|
+
"description": "Expected impact on the target metric (1-10)"
|
|
15928
|
+
},
|
|
15929
|
+
{
|
|
15930
|
+
"property": "confidence",
|
|
15931
|
+
"type": "number",
|
|
15932
|
+
"required": true,
|
|
15933
|
+
"scope": "framework",
|
|
15934
|
+
"label": "Confidence",
|
|
15935
|
+
"description": "Confidence in the impact estimate (1-10)"
|
|
15936
|
+
},
|
|
15937
|
+
{
|
|
15938
|
+
"property": "ease",
|
|
15939
|
+
"type": "number",
|
|
15940
|
+
"required": true,
|
|
15941
|
+
"scope": "framework",
|
|
15942
|
+
"label": "Ease",
|
|
15943
|
+
"description": "Ease of implementation (1-10)"
|
|
15944
|
+
}
|
|
15767
15945
|
]
|
|
15768
15946
|
},
|
|
15769
15947
|
"computed_properties": [
|
|
@@ -15773,6 +15951,20 @@ var UPG_FRAMEWORKS = [
|
|
|
15773
15951
|
"entity_type": "feature",
|
|
15774
15952
|
"label": "ICE Score",
|
|
15775
15953
|
"format": "number"
|
|
15954
|
+
},
|
|
15955
|
+
{
|
|
15956
|
+
"property": "ice_score",
|
|
15957
|
+
"expression": "impact * confidence * ease",
|
|
15958
|
+
"entity_type": "opportunity",
|
|
15959
|
+
"label": "ICE Score",
|
|
15960
|
+
"format": "number"
|
|
15961
|
+
},
|
|
15962
|
+
{
|
|
15963
|
+
"property": "ice_score",
|
|
15964
|
+
"expression": "impact * confidence * ease",
|
|
15965
|
+
"entity_type": "need",
|
|
15966
|
+
"label": "ICE Score",
|
|
15967
|
+
"format": "number"
|
|
15776
15968
|
}
|
|
15777
15969
|
]
|
|
15778
15970
|
},
|
|
@@ -15876,6 +16068,11 @@ var UPG_FRAMEWORKS = [
|
|
|
15876
16068
|
"label": "Job Size",
|
|
15877
16069
|
"entityTypeId": "metric",
|
|
15878
16070
|
"description": "Estimated effort (story points, t-shirt size, or person-weeks)"
|
|
16071
|
+
},
|
|
16072
|
+
{
|
|
16073
|
+
"label": "Opportunities to score",
|
|
16074
|
+
"entityTypeId": "opportunity",
|
|
16075
|
+
"description": "Opportunities scored on the same WSJF (Weighted Shortest Job First) inputs as features."
|
|
15879
16076
|
}
|
|
15880
16077
|
],
|
|
15881
16078
|
"data": {
|
|
@@ -15887,6 +16084,10 @@ var UPG_FRAMEWORKS = [
|
|
|
15887
16084
|
{
|
|
15888
16085
|
"type": "metric",
|
|
15889
16086
|
"role": "item"
|
|
16087
|
+
},
|
|
16088
|
+
{
|
|
16089
|
+
"type": "opportunity",
|
|
16090
|
+
"role": "scored_item"
|
|
15890
16091
|
}
|
|
15891
16092
|
],
|
|
15892
16093
|
"required_properties": {
|
|
@@ -15923,6 +16124,40 @@ var UPG_FRAMEWORKS = [
|
|
|
15923
16124
|
"label": "Job Size",
|
|
15924
16125
|
"description": "Estimated effort (story points, t-shirt size, or person-weeks)"
|
|
15925
16126
|
}
|
|
16127
|
+
],
|
|
16128
|
+
"opportunity": [
|
|
16129
|
+
{
|
|
16130
|
+
"property": "user_value",
|
|
16131
|
+
"type": "number",
|
|
16132
|
+
"required": true,
|
|
16133
|
+
"scope": "framework",
|
|
16134
|
+
"label": "User/Business Value",
|
|
16135
|
+
"description": "Relative value to users and the business if delivered"
|
|
16136
|
+
},
|
|
16137
|
+
{
|
|
16138
|
+
"property": "time_criticality",
|
|
16139
|
+
"type": "number",
|
|
16140
|
+
"required": true,
|
|
16141
|
+
"scope": "framework",
|
|
16142
|
+
"label": "Time Criticality",
|
|
16143
|
+
"description": "How much value decays if delivery is delayed (deadlines, competition, seasonal windows)"
|
|
16144
|
+
},
|
|
16145
|
+
{
|
|
16146
|
+
"property": "risk_reduction",
|
|
16147
|
+
"type": "number",
|
|
16148
|
+
"required": true,
|
|
16149
|
+
"scope": "framework",
|
|
16150
|
+
"label": "Risk Reduction / Opportunity Enablement",
|
|
16151
|
+
"description": "Value from reducing risk or enabling future opportunities"
|
|
16152
|
+
},
|
|
16153
|
+
{
|
|
16154
|
+
"property": "job_size",
|
|
16155
|
+
"type": "number",
|
|
16156
|
+
"required": true,
|
|
16157
|
+
"scope": "framework",
|
|
16158
|
+
"label": "Job Size",
|
|
16159
|
+
"description": "Estimated effort (story points, t-shirt size, or person-weeks)"
|
|
16160
|
+
}
|
|
15926
16161
|
]
|
|
15927
16162
|
},
|
|
15928
16163
|
"computed_properties": [
|
|
@@ -15932,6 +16167,13 @@ var UPG_FRAMEWORKS = [
|
|
|
15932
16167
|
"entity_type": "feature",
|
|
15933
16168
|
"label": "WSJF Score",
|
|
15934
16169
|
"format": "number"
|
|
16170
|
+
},
|
|
16171
|
+
{
|
|
16172
|
+
"property": "wsjf_score",
|
|
16173
|
+
"expression": "(user_value + time_criticality + risk_reduction) / job_size",
|
|
16174
|
+
"entity_type": "opportunity",
|
|
16175
|
+
"label": "WSJF Score",
|
|
16176
|
+
"format": "number"
|
|
15935
16177
|
}
|
|
15936
16178
|
]
|
|
15937
16179
|
},
|
|
@@ -16039,6 +16281,11 @@ var UPG_FRAMEWORKS = [
|
|
|
16039
16281
|
"label": "Risk Reduction",
|
|
16040
16282
|
"entityTypeId": "risk",
|
|
16041
16283
|
"description": "What risk does this mitigate?"
|
|
16284
|
+
},
|
|
16285
|
+
{
|
|
16286
|
+
"label": "Opportunities to score",
|
|
16287
|
+
"entityTypeId": "opportunity",
|
|
16288
|
+
"description": "Opportunities scored on the same Cost of Delay inputs as features."
|
|
16042
16289
|
}
|
|
16043
16290
|
],
|
|
16044
16291
|
"data": {
|
|
@@ -16058,6 +16305,10 @@ var UPG_FRAMEWORKS = [
|
|
|
16058
16305
|
{
|
|
16059
16306
|
"type": "risk",
|
|
16060
16307
|
"role": "item"
|
|
16308
|
+
},
|
|
16309
|
+
{
|
|
16310
|
+
"type": "opportunity",
|
|
16311
|
+
"role": "scored_item"
|
|
16061
16312
|
}
|
|
16062
16313
|
],
|
|
16063
16314
|
"required_properties": {
|
|
@@ -16078,6 +16329,24 @@ var UPG_FRAMEWORKS = [
|
|
|
16078
16329
|
"label": "Job Size",
|
|
16079
16330
|
"description": "Weeks of development effort"
|
|
16080
16331
|
}
|
|
16332
|
+
],
|
|
16333
|
+
"opportunity": [
|
|
16334
|
+
{
|
|
16335
|
+
"property": "cost_of_delay",
|
|
16336
|
+
"type": "number",
|
|
16337
|
+
"required": true,
|
|
16338
|
+
"scope": "framework",
|
|
16339
|
+
"label": "Cost of Delay",
|
|
16340
|
+
"description": "Weekly revenue impact of not shipping"
|
|
16341
|
+
},
|
|
16342
|
+
{
|
|
16343
|
+
"property": "job_size",
|
|
16344
|
+
"type": "number",
|
|
16345
|
+
"required": true,
|
|
16346
|
+
"scope": "framework",
|
|
16347
|
+
"label": "Job Size",
|
|
16348
|
+
"description": "Weeks of development effort"
|
|
16349
|
+
}
|
|
16081
16350
|
]
|
|
16082
16351
|
},
|
|
16083
16352
|
"computed_properties": [
|
|
@@ -16087,6 +16356,13 @@ var UPG_FRAMEWORKS = [
|
|
|
16087
16356
|
"entity_type": "feature",
|
|
16088
16357
|
"label": "WSJF Score",
|
|
16089
16358
|
"format": "number"
|
|
16359
|
+
},
|
|
16360
|
+
{
|
|
16361
|
+
"property": "wsjf_score",
|
|
16362
|
+
"expression": "cost_of_delay / job_size",
|
|
16363
|
+
"entity_type": "opportunity",
|
|
16364
|
+
"label": "WSJF Score",
|
|
16365
|
+
"format": "number"
|
|
16090
16366
|
}
|
|
16091
16367
|
]
|
|
16092
16368
|
},
|
|
@@ -24989,7 +25265,7 @@ function isCanonical(text) {
|
|
|
24989
25265
|
}
|
|
24990
25266
|
|
|
24991
25267
|
// src/index.ts
|
|
24992
|
-
var UPG_VERSION = "0.8.
|
|
25268
|
+
var UPG_VERSION = "0.8.6";
|
|
24993
25269
|
var UPG_FORMAT_VERSION = "0.4.0";
|
|
24994
25270
|
var MARKDOWN_FORMAT_VERSION = "0.1";
|
|
24995
25271
|
var UPG_TYPES = getTypes();
|