@conformetry/configuration 0.0.67 → 0.0.68
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/CHANGELOG.md +6 -0
- package/README.md +59 -59
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -767,7 +767,7 @@ graph LR
|
|
|
767
767
|
### Project
|
|
768
768
|
|
|
769
769
|

|
|
770
|
-

|
|
771
771
|

|
|
772
772
|

|
|
773
773
|
|
|
@@ -955,16 +955,16 @@ graph LR
|
|
|
955
955
|
### Markdown
|
|
956
956
|
|
|
957
957
|

|
|
958
|
-

|
|
959
959
|

|
|
960
|
-

|
|
961
|
+

|
|
962
962
|

|
|
963
963
|

|
|
964
964
|

|
|
965
|
-

|
|
966
|
+

|
|
967
|
+

|
|
968
968
|

|
|
969
969
|

|
|
970
970
|

|
|
@@ -982,57 +982,57 @@ graph LR
|
|
|
982
982
|
|
|
983
983
|
The words this project uses that the root glossary does not define, regenerated with `nx run conformetry-configuration:coinagerie-check:write`.
|
|
984
984
|
|
|
985
|
-
- **accept**:
|
|
986
|
-
- **best**:
|
|
987
|
-
- **beta**:
|
|
988
|
-
- **breadth**:
|
|
989
|
-
- **camel**:
|
|
990
|
-
- **chdir**:
|
|
991
|
-
- **choice**:
|
|
992
|
-
- **collision**:
|
|
993
|
-
- **comma**:
|
|
994
|
-
- **ctx**:
|
|
995
|
-
- **delimit**:
|
|
996
|
-
- **derive**:
|
|
997
|
-
- **dirent**:
|
|
998
|
-
- **discovery**:
|
|
999
|
-
- **fileset**:
|
|
1000
|
-
- **fill**:
|
|
1001
|
-
- **gadget**:
|
|
1002
|
-
- **hint**:
|
|
1003
|
-
- **interpolate**:
|
|
1004
|
-
- **inventoried**:
|
|
1005
|
-
- **inventory**:
|
|
1006
|
-
- **kebab**:
|
|
1007
|
-
- **larger**:
|
|
1008
|
-
- **lazy**:
|
|
1009
|
-
- **pascal**:
|
|
1010
|
-
- **random**:
|
|
1011
|
-
- **ratio**:
|
|
1012
|
-
- **refine**:
|
|
1013
|
-
- **refinement**:
|
|
1014
|
-
- **reserve**:
|
|
1015
|
-
- **runtime**:
|
|
1016
|
-
- **scoped**:
|
|
1017
|
-
- **selection**:
|
|
1018
|
-
- **smaller**:
|
|
1019
|
-
- **snake**:
|
|
1020
|
-
- **span**:
|
|
1021
|
-
- **stdin**:
|
|
1022
|
-
- **stem**:
|
|
1023
|
-
- **supply**:
|
|
1024
|
-
- **take**:
|
|
1025
|
-
- **terminal**:
|
|
1026
|
-
- **threshold**:
|
|
1027
|
-
- **tie**:
|
|
1028
|
-
- **transitive**:
|
|
1029
|
-
- **unmatched**:
|
|
1030
|
-
- **unusable**:
|
|
1031
|
-
- **upper**:
|
|
1032
|
-
- **uuid**:
|
|
1033
|
-
- **want**:
|
|
1034
|
-
- **weigh**:
|
|
1035
|
-
- **widget**:
|
|
1036
|
-
- **wildcard**:
|
|
985
|
+
- **accept**: Validating a value the caller already supplied and throwing when invalid, as acceptProvidedValue does before any interactive prompt runs.
|
|
986
|
+
- **best**: The highest-ranked template fit for an instance, since the best fit wins when several templates share one of its files.
|
|
987
|
+
- **beta**: A placeholder template name in instance matching tests, used as one of the competing templates for an instance.
|
|
988
|
+
- **breadth**: The number of distinct functions one callable calls directly, which callidescope reports and gates in the Breadth table.
|
|
989
|
+
- **camel**: Name variant such as nameCamelCase, produced by lodash camelCase from the input name and used as the base for the Pascal form.
|
|
990
|
+
- **chdir**: Changing the process working directory in tests, used to check path resolution from outside the workspace root.
|
|
991
|
+
- **choice**: One entry in the choice list of a prompt, such as a template shown with its name and description.
|
|
992
|
+
- **collision**: Two templates or generators claiming the same name or path, which configuration checks reject so one cannot silently shadow the other.
|
|
993
|
+
- **comma**: The separator that splits comma-delimited filter options into values, parsed by parseCommaDelimitedOption in the configuration and input services.
|
|
994
|
+
- **ctx**: Short for context, the zod refinement argument configuration rules use to report issues against a field path.
|
|
995
|
+
- **delimit**: Splitting a comma-delimited filter option into its values, the job of parseCommaDelimitedOption in both configuration and input services.
|
|
996
|
+
- **derive**: Computing a value from another, such as the case variants every template can reference, all built from one generator name.
|
|
997
|
+
- **dirent**: A Node filesystem directory entry type, fs.Dirent, returned when locating instance folders during discovery.
|
|
998
|
+
- **discovery**: Finding templates and instances from configured globs and matching them, the job of the instance and template discovery modules.
|
|
999
|
+
- **fileset**: An Nx input entry in project.json naming the tsconfig files that the vitest target cache depends on, across dependencies.
|
|
1000
|
+
- **fill**: Color value in a Mermaid classDef, which the README diagrams use to shade subject nodes in their graphs.
|
|
1001
|
+
- **gadget**: A placeholder template name in configuration and discovery tests, paired with a nameKebabCase folder pattern for its instances.
|
|
1002
|
+
- **hint**: An optional remedy string on an input error, carrying guidance that only one host, such as the CLI, can supply.
|
|
1003
|
+
- **interpolate**: Substituting placeholders into the contents or path of a template file, which template discovery scans to list every placeholder used.
|
|
1004
|
+
- **inventoried**: Listed with its matched template pairings in a discovery result, as the resolveInventoriedInstances methods return them.
|
|
1005
|
+
- **inventory**: The set of templates and instances discovery found, which the instance discovery service resolves into results for commands.
|
|
1006
|
+
- **kebab**: Name variant such as nameKebabCase, produced by lodash kebabCase from a generator name and substituted into template placeholders.
|
|
1007
|
+
- **larger**: Describing the template that covers more of the instance files, which matching prefers over a smaller partial match.
|
|
1008
|
+
- **lazy**: The zod z.lazy wrapper that lets the recursive JSON Schema definition schema refer to itself in configuration constants.
|
|
1009
|
+
- **pascal**: Name variant such as namePascalCase, produced by uppercasing the first letter of the camel form, as the rendering service does.
|
|
1010
|
+
- **random**: A generated stand-in value substituted for each placeholder during validation, so the instance text can be captured and compared.
|
|
1011
|
+
- **ratio**: Parsed threshold value expressed between 0 and 1, which the --threshold option rejects when it falls outside that range.
|
|
1012
|
+
- **refine**: Attaching a cross-field check to a zod schema with superRefine, such as assertNoCollisions over the generator definitions.
|
|
1013
|
+
- **refinement**: A zod superRefine check on the configuration schema that rejects collisions, reserved names, and unusable names.
|
|
1014
|
+
- **reserve**: Names a generator definition may not take, such as all, which findReservedNames rejects during configuration validation.
|
|
1015
|
+
- **runtime**: Options gathered while the CLI runs and coerced into string inputs, as opposed to values declared in generator definitions.
|
|
1016
|
+
- **scoped**: Limiting a measurement run to one project and its dependency closure, as the callidescope configuration describes.
|
|
1017
|
+
- **selection**: The templates or groups ticked in a prompt, where ticking nothing resolves to no selection rather than an empty list.
|
|
1018
|
+
- **smaller**: The template covering fewer of the instance files, which matching ranks below a larger full match in its fixtures.
|
|
1019
|
+
- **snake**: Name variant such as nameSnakeCase, produced by lodash snakeCase from the generator name in the rendering service.
|
|
1020
|
+
- **span**: One parsed fragment of template text, shaped as type, value, start, end, and optional children, walked by the rendering service.
|
|
1021
|
+
- **stdin**: The process standard input whose isTTY flag decides whether the configuration may prompt the user for a missing value.
|
|
1022
|
+
- **stem**: The folder name a template instance is located by, joined onto the instance path when locating its files, as nameStem holds it.
|
|
1023
|
+
- **supply**: To provide a value or collaborator from the host, as the configuration module supplies its services to the input and discovery code.
|
|
1024
|
+
- **take**: The verb for gathering values into a result, as takeInventory collects templates and instances during instance discovery.
|
|
1025
|
+
- **terminal**: Overridable check for an attached TTY in input prompting, so tests never touch a real one.
|
|
1026
|
+
- **threshold**: The minimum conformance score an instance must reach to pass, resolved from instance, generator, or run level, defaulting to 1.
|
|
1027
|
+
- **tie**: Two templates matching an instance equally well, reported as ambiguous rather than resolved arbitrarily by the matching service.
|
|
1028
|
+
- **transitive**: An Nx input option that also includes the outputs of dependency tasks further down the graph, not only direct ones.
|
|
1029
|
+
- **unmatched**: An instance that matches no template, or only partially, returned in the unmatched list by the instance matching service.
|
|
1030
|
+
- **unusable**: A generator name that cannot serve as a template name, flagged by findUnusableNames during configuration validation.
|
|
1031
|
+
- **upper**: Uppercasing only the first letter of a camel-case name through lodash upperFirst, yielding the Pascal case variant.
|
|
1032
|
+
- **uuid**: A random UUID from node crypto, appended to a placeholder prefix so each rendered stand-in value is unique.
|
|
1033
|
+
- **want**: The template pairings an instance selection asks for, collected into a wanted set when instance discovery filters pairings.
|
|
1034
|
+
- **weigh**: Scoring every instance against every template by the share of the template files it already has, through weighInstance.
|
|
1035
|
+
- **widget**: A placeholder template name in configuration and discovery tests, used as the competing template whose files an instance may share.
|
|
1036
|
+
- **wildcard**: A glob segment containing a star, which decides the literal filename suffix that a file instance name is derived from.
|
|
1037
1037
|
|
|
1038
1038
|
<!-- coinagerie:end -->
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@conformetry/core": "0.0.
|
|
7
|
+
"@conformetry/core": "0.0.66",
|
|
8
8
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
9
9
|
"jiti": "^2.7.0",
|
|
10
10
|
"jsonc-parser": "^3.3.1",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"strict": true
|
|
68
68
|
},
|
|
69
69
|
"types": "./dist/src/index.d.ts",
|
|
70
|
-
"version": "0.0.
|
|
70
|
+
"version": "0.0.68"
|
|
71
71
|
}
|