contractspec 4.0.0 → 4.0.1
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/contractsrc.schema.json +180 -15
- package/package.json +2 -2
package/contractsrc.schema.json
CHANGED
|
@@ -76,6 +76,22 @@
|
|
|
76
76
|
"default": "forms",
|
|
77
77
|
"type": "string"
|
|
78
78
|
},
|
|
79
|
+
"capabilities": {
|
|
80
|
+
"default": "capabilities",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"policies": {
|
|
84
|
+
"default": "policies",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"tests": {
|
|
88
|
+
"default": "tests",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"translations": {
|
|
92
|
+
"default": "translations",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
79
95
|
"groupByFeature": {
|
|
80
96
|
"default": true,
|
|
81
97
|
"type": "boolean"
|
|
@@ -493,17 +509,27 @@
|
|
|
493
509
|
"event",
|
|
494
510
|
"presentation",
|
|
495
511
|
"feature",
|
|
496
|
-
"
|
|
512
|
+
"capability",
|
|
497
513
|
"data-view",
|
|
514
|
+
"visualization",
|
|
515
|
+
"form",
|
|
516
|
+
"agent",
|
|
498
517
|
"migration",
|
|
499
|
-
"
|
|
518
|
+
"workflow",
|
|
500
519
|
"experiment",
|
|
501
|
-
"app-config",
|
|
502
520
|
"integration",
|
|
521
|
+
"theme",
|
|
503
522
|
"knowledge",
|
|
523
|
+
"telemetry",
|
|
524
|
+
"example",
|
|
525
|
+
"app-config",
|
|
526
|
+
"product-intent",
|
|
504
527
|
"policy",
|
|
505
|
-
"
|
|
506
|
-
"
|
|
528
|
+
"test-spec",
|
|
529
|
+
"harness-scenario",
|
|
530
|
+
"harness-suite",
|
|
531
|
+
"type",
|
|
532
|
+
"knowledge-space",
|
|
507
533
|
"job",
|
|
508
534
|
"translation"
|
|
509
535
|
]
|
|
@@ -567,17 +593,27 @@
|
|
|
567
593
|
"event",
|
|
568
594
|
"presentation",
|
|
569
595
|
"feature",
|
|
570
|
-
"
|
|
596
|
+
"capability",
|
|
571
597
|
"data-view",
|
|
598
|
+
"visualization",
|
|
599
|
+
"form",
|
|
600
|
+
"agent",
|
|
572
601
|
"migration",
|
|
573
|
-
"
|
|
602
|
+
"workflow",
|
|
574
603
|
"experiment",
|
|
575
|
-
"app-config",
|
|
576
604
|
"integration",
|
|
605
|
+
"theme",
|
|
577
606
|
"knowledge",
|
|
607
|
+
"telemetry",
|
|
608
|
+
"example",
|
|
609
|
+
"app-config",
|
|
610
|
+
"product-intent",
|
|
578
611
|
"policy",
|
|
579
|
-
"
|
|
580
|
-
"
|
|
612
|
+
"test-spec",
|
|
613
|
+
"harness-scenario",
|
|
614
|
+
"harness-suite",
|
|
615
|
+
"type",
|
|
616
|
+
"knowledge-space",
|
|
581
617
|
"job",
|
|
582
618
|
"translation"
|
|
583
619
|
]
|
|
@@ -616,17 +652,27 @@
|
|
|
616
652
|
"event",
|
|
617
653
|
"presentation",
|
|
618
654
|
"feature",
|
|
619
|
-
"
|
|
655
|
+
"capability",
|
|
620
656
|
"data-view",
|
|
657
|
+
"visualization",
|
|
658
|
+
"form",
|
|
659
|
+
"agent",
|
|
621
660
|
"migration",
|
|
622
|
-
"
|
|
661
|
+
"workflow",
|
|
623
662
|
"experiment",
|
|
624
|
-
"app-config",
|
|
625
663
|
"integration",
|
|
664
|
+
"theme",
|
|
626
665
|
"knowledge",
|
|
666
|
+
"telemetry",
|
|
667
|
+
"example",
|
|
668
|
+
"app-config",
|
|
669
|
+
"product-intent",
|
|
627
670
|
"policy",
|
|
628
|
-
"
|
|
629
|
-
"
|
|
671
|
+
"test-spec",
|
|
672
|
+
"harness-scenario",
|
|
673
|
+
"harness-suite",
|
|
674
|
+
"type",
|
|
675
|
+
"knowledge-space",
|
|
630
676
|
"job",
|
|
631
677
|
"translation"
|
|
632
678
|
]
|
|
@@ -1195,6 +1241,125 @@
|
|
|
1195
1241
|
}
|
|
1196
1242
|
},
|
|
1197
1243
|
"additionalProperties": false
|
|
1244
|
+
},
|
|
1245
|
+
"adoption": {
|
|
1246
|
+
"type": "object",
|
|
1247
|
+
"properties": {
|
|
1248
|
+
"enabled": {
|
|
1249
|
+
"default": false,
|
|
1250
|
+
"type": "boolean"
|
|
1251
|
+
},
|
|
1252
|
+
"catalog": {
|
|
1253
|
+
"type": "object",
|
|
1254
|
+
"properties": {
|
|
1255
|
+
"indexPath": {
|
|
1256
|
+
"default": ".contractspec/adoption/catalog.json",
|
|
1257
|
+
"type": "string"
|
|
1258
|
+
},
|
|
1259
|
+
"overrideManifestPath": {
|
|
1260
|
+
"default": ".contractspec/adoption/overrides.json",
|
|
1261
|
+
"type": "string"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"additionalProperties": false
|
|
1265
|
+
},
|
|
1266
|
+
"workspaceScan": {
|
|
1267
|
+
"type": "object",
|
|
1268
|
+
"properties": {
|
|
1269
|
+
"include": {
|
|
1270
|
+
"default": [
|
|
1271
|
+
"src/**/*.{ts,tsx,js,jsx}",
|
|
1272
|
+
"app/**/*.{ts,tsx,js,jsx}",
|
|
1273
|
+
"components/**/*.{ts,tsx,js,jsx}",
|
|
1274
|
+
"packages/**/*.{ts,tsx,js,jsx}"
|
|
1275
|
+
],
|
|
1276
|
+
"type": "array",
|
|
1277
|
+
"items": {
|
|
1278
|
+
"type": "string"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
"exclude": {
|
|
1282
|
+
"default": [
|
|
1283
|
+
"**/node_modules/**",
|
|
1284
|
+
"**/dist/**",
|
|
1285
|
+
"**/.next/**",
|
|
1286
|
+
"**/coverage/**",
|
|
1287
|
+
"**/generated/**",
|
|
1288
|
+
"**/*.test.*",
|
|
1289
|
+
"**/*.spec.*",
|
|
1290
|
+
"**/*.stories.*"
|
|
1291
|
+
],
|
|
1292
|
+
"type": "array",
|
|
1293
|
+
"items": {
|
|
1294
|
+
"type": "string"
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
"additionalProperties": false
|
|
1299
|
+
},
|
|
1300
|
+
"families": {
|
|
1301
|
+
"type": "object",
|
|
1302
|
+
"properties": {
|
|
1303
|
+
"ui": {
|
|
1304
|
+
"default": true,
|
|
1305
|
+
"type": "boolean"
|
|
1306
|
+
},
|
|
1307
|
+
"contracts": {
|
|
1308
|
+
"default": true,
|
|
1309
|
+
"type": "boolean"
|
|
1310
|
+
},
|
|
1311
|
+
"integrations": {
|
|
1312
|
+
"default": true,
|
|
1313
|
+
"type": "boolean"
|
|
1314
|
+
},
|
|
1315
|
+
"runtime": {
|
|
1316
|
+
"default": true,
|
|
1317
|
+
"type": "boolean"
|
|
1318
|
+
},
|
|
1319
|
+
"sharedLibs": {
|
|
1320
|
+
"default": true,
|
|
1321
|
+
"type": "boolean"
|
|
1322
|
+
},
|
|
1323
|
+
"solutions": {
|
|
1324
|
+
"default": true,
|
|
1325
|
+
"type": "boolean"
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"additionalProperties": false
|
|
1329
|
+
},
|
|
1330
|
+
"thresholds": {
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"properties": {
|
|
1333
|
+
"workspaceReuse": {
|
|
1334
|
+
"default": "rewrite",
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"enum": ["permit", "rewrite", "require_review", "deny"]
|
|
1337
|
+
},
|
|
1338
|
+
"contractspecReuse": {
|
|
1339
|
+
"default": "rewrite",
|
|
1340
|
+
"type": "string",
|
|
1341
|
+
"enum": ["permit", "rewrite", "require_review", "deny"]
|
|
1342
|
+
},
|
|
1343
|
+
"ambiguous": {
|
|
1344
|
+
"default": "require_review",
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"enum": ["permit", "rewrite", "require_review", "deny"]
|
|
1347
|
+
},
|
|
1348
|
+
"newExternalDependency": {
|
|
1349
|
+
"default": "require_review",
|
|
1350
|
+
"type": "string",
|
|
1351
|
+
"enum": ["permit", "rewrite", "require_review", "deny"]
|
|
1352
|
+
},
|
|
1353
|
+
"newImplementation": {
|
|
1354
|
+
"default": "require_review",
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"enum": ["permit", "rewrite", "require_review", "deny"]
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
"additionalProperties": false
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
"additionalProperties": false
|
|
1198
1363
|
}
|
|
1199
1364
|
},
|
|
1200
1365
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contractspec",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "CLI tool for creating, building, and validating contract specifications",
|
|
5
5
|
"bin": {
|
|
6
6
|
"contractspec": "./bin/contractspec.mjs"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@contractspec/app.cli-contractspec": "
|
|
9
|
+
"@contractspec/app.cli-contractspec": "6.0.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"bin",
|