contractspec 4.0.1 → 4.0.4
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 +101 -0
- package/package.json +6 -2
package/contractsrc.schema.json
CHANGED
|
@@ -400,6 +400,107 @@
|
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"additionalProperties": false
|
|
403
|
+
},
|
|
404
|
+
"packageDeclarations": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"severity": {
|
|
408
|
+
"default": "error",
|
|
409
|
+
"type": "string",
|
|
410
|
+
"enum": ["off", "warning", "error"]
|
|
411
|
+
},
|
|
412
|
+
"requiredByKind": {
|
|
413
|
+
"type": "object",
|
|
414
|
+
"properties": {
|
|
415
|
+
"libs": {
|
|
416
|
+
"default": "feature",
|
|
417
|
+
"type": "string",
|
|
418
|
+
"enum": [
|
|
419
|
+
"feature",
|
|
420
|
+
"integration",
|
|
421
|
+
"app-config",
|
|
422
|
+
"module-bundle",
|
|
423
|
+
"example"
|
|
424
|
+
]
|
|
425
|
+
},
|
|
426
|
+
"modules": {
|
|
427
|
+
"default": "feature",
|
|
428
|
+
"type": "string",
|
|
429
|
+
"enum": [
|
|
430
|
+
"feature",
|
|
431
|
+
"integration",
|
|
432
|
+
"app-config",
|
|
433
|
+
"module-bundle",
|
|
434
|
+
"example"
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
"integrations": {
|
|
438
|
+
"default": "integration",
|
|
439
|
+
"type": "string",
|
|
440
|
+
"enum": [
|
|
441
|
+
"feature",
|
|
442
|
+
"integration",
|
|
443
|
+
"app-config",
|
|
444
|
+
"module-bundle",
|
|
445
|
+
"example"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
"bundles": {
|
|
449
|
+
"default": "module-bundle",
|
|
450
|
+
"type": "string",
|
|
451
|
+
"enum": [
|
|
452
|
+
"feature",
|
|
453
|
+
"integration",
|
|
454
|
+
"app-config",
|
|
455
|
+
"module-bundle",
|
|
456
|
+
"example"
|
|
457
|
+
]
|
|
458
|
+
},
|
|
459
|
+
"apps": {
|
|
460
|
+
"default": "app-config",
|
|
461
|
+
"type": "string",
|
|
462
|
+
"enum": [
|
|
463
|
+
"feature",
|
|
464
|
+
"integration",
|
|
465
|
+
"app-config",
|
|
466
|
+
"module-bundle",
|
|
467
|
+
"example"
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
"appsRegistry": {
|
|
471
|
+
"default": "app-config",
|
|
472
|
+
"type": "string",
|
|
473
|
+
"enum": [
|
|
474
|
+
"feature",
|
|
475
|
+
"integration",
|
|
476
|
+
"app-config",
|
|
477
|
+
"module-bundle",
|
|
478
|
+
"example"
|
|
479
|
+
]
|
|
480
|
+
},
|
|
481
|
+
"examples": {
|
|
482
|
+
"default": "example",
|
|
483
|
+
"type": "string",
|
|
484
|
+
"enum": [
|
|
485
|
+
"feature",
|
|
486
|
+
"integration",
|
|
487
|
+
"app-config",
|
|
488
|
+
"module-bundle",
|
|
489
|
+
"example"
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"additionalProperties": false
|
|
494
|
+
},
|
|
495
|
+
"allowMissing": {
|
|
496
|
+
"default": [],
|
|
497
|
+
"type": "array",
|
|
498
|
+
"items": {
|
|
499
|
+
"type": "string"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"additionalProperties": false
|
|
403
504
|
}
|
|
404
505
|
},
|
|
405
506
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contractspec",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
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": "6.
|
|
9
|
+
"@contractspec/app.cli-contractspec": "6.1.0",
|
|
10
|
+
"@contractspec/lib.contracts-spec": "5.5.0"
|
|
10
11
|
},
|
|
11
12
|
"files": [
|
|
12
13
|
"bin",
|
|
@@ -35,5 +36,8 @@
|
|
|
35
36
|
"type": "git",
|
|
36
37
|
"url": "https://github.com/lssm-tech/contractspec.git",
|
|
37
38
|
"directory": "packages/apps-registry/contractspec"
|
|
39
|
+
},
|
|
40
|
+
"exports": {
|
|
41
|
+
".": "./src/index.ts"
|
|
38
42
|
}
|
|
39
43
|
}
|