@sous-io/sous 1.1.12 → 1.1.13
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/sous.js +82 -82
- package/docs/markdown/_sidebar.md +1 -0
- package/docs/markdown/commands.md +20 -6
- package/docs/markdown/configuration.md +26 -0
- package/docs/markdown/handlers.md +3 -1
- package/docs/markdown/project-recipes.md +193 -0
- package/docs/markdown/repositories-authoring.md +7 -1
- package/docs/markdown/repositories-consuming.md +1 -0
- package/docs/markdown/repositories-file-formats.md +20 -4
- package/docs/markdown/repositories.md +7 -0
- package/package.json +38 -38
- package/recipes/core/sous-skills/skills/about-sous/SKILL.tpl.md +7 -0
- package/recipes/core/sous-skills/skills/about-sous-configuration/SKILL.tpl.md +5 -0
- package/recipes/core/sous-skills/skills/about-sous-recipes/SKILL.tpl.md +25 -1
- package/recipes/core/sous-skills/sous.recipe.yaml +1 -1
- package/sous.config.schema.json +68 -0
package/sous.config.schema.json
CHANGED
|
@@ -481,6 +481,32 @@
|
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
},
|
|
484
|
+
"projectRecipes": {
|
|
485
|
+
"description": "The project's own recipes, used live from its working tree.",
|
|
486
|
+
"type": "object",
|
|
487
|
+
"default": {},
|
|
488
|
+
"properties": {
|
|
489
|
+
"paths": {
|
|
490
|
+
"type": "array",
|
|
491
|
+
"items": {
|
|
492
|
+
"type": "string"
|
|
493
|
+
},
|
|
494
|
+
"default": [
|
|
495
|
+
".sous/recipes/*"
|
|
496
|
+
],
|
|
497
|
+
"description": "Folders holding the project's own recipes, relative to the project root; glob patterns are allowed. A matched folder that is not a recipe is searched for recipe folders beneath it. An empty list turns the project's own recipes off."
|
|
498
|
+
},
|
|
499
|
+
"exclude": {
|
|
500
|
+
"type": "array",
|
|
501
|
+
"items": {
|
|
502
|
+
"type": "string"
|
|
503
|
+
},
|
|
504
|
+
"default": [],
|
|
505
|
+
"description": "Project recipes not to use: a namespace (every recipe in it), a namespace/recipe key, a glob, or a /regular expression/ matched against keys."
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"additionalProperties": false
|
|
509
|
+
},
|
|
484
510
|
"repos": {
|
|
485
511
|
"description": "The repositories this project trusts, by short name.",
|
|
486
512
|
"type": "object",
|
|
@@ -792,6 +818,48 @@
|
|
|
792
818
|
},
|
|
793
819
|
"default": {}
|
|
794
820
|
},
|
|
821
|
+
"namespaces": {
|
|
822
|
+
"description": "The sous.namespace.yaml files among this project's own recipes, added by sous-plugin-recipes (read-only in practice).",
|
|
823
|
+
"type": "array",
|
|
824
|
+
"default": [],
|
|
825
|
+
"items": {
|
|
826
|
+
"type": "object",
|
|
827
|
+
"required": [
|
|
828
|
+
"file",
|
|
829
|
+
"dir"
|
|
830
|
+
],
|
|
831
|
+
"properties": {
|
|
832
|
+
"file": {
|
|
833
|
+
"type": "string"
|
|
834
|
+
},
|
|
835
|
+
"dir": {
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
"name": {
|
|
839
|
+
"type": "string"
|
|
840
|
+
},
|
|
841
|
+
"description": {
|
|
842
|
+
"type": "string"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"repository": {
|
|
848
|
+
"description": "This project's own sous.repo.yaml, when it has one, added by sous-plugin-recipes (read-only in practice).",
|
|
849
|
+
"type": "object",
|
|
850
|
+
"required": [
|
|
851
|
+
"file",
|
|
852
|
+
"manifest"
|
|
853
|
+
],
|
|
854
|
+
"properties": {
|
|
855
|
+
"file": {
|
|
856
|
+
"type": "string"
|
|
857
|
+
},
|
|
858
|
+
"manifest": {
|
|
859
|
+
"type": "object"
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
},
|
|
795
863
|
"skills": {
|
|
796
864
|
"description": "Where skills go (outputs, `${var}` allowed) and directories of your own skills (include).",
|
|
797
865
|
"type": "object",
|