@codometer/languages 0.0.63 → 0.0.65
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 +14 -0
- package/README.md +106 -106
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.0.65 (2026-11-04)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codometer-configuration to 0.0.65
|
|
6
|
+
- Updated codometer-core to 0.0.65
|
|
7
|
+
|
|
8
|
+
## 0.0.64 (2026-11-04)
|
|
9
|
+
|
|
10
|
+
### 🧱 Updated Dependencies
|
|
11
|
+
|
|
12
|
+
- Updated codometer-configuration to 0.0.64
|
|
13
|
+
- Updated codometer-core to 0.0.64
|
|
14
|
+
|
|
1
15
|
## 0.0.63 (2026-11-04)
|
|
2
16
|
|
|
3
17
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -761,7 +761,7 @@ graph LR
|
|
|
761
761
|
### Project
|
|
762
762
|
|
|
763
763
|

|
|
764
|
-

|
|
765
765
|

|
|
766
766
|

|
|
767
767
|
|
|
@@ -949,16 +949,16 @@ graph LR
|
|
|
949
949
|
### Markdown
|
|
950
950
|
|
|
951
951
|

|
|
952
|
-

|
|
953
953
|

|
|
954
|
-

|
|
955
|
+

|
|
956
956
|

|
|
957
957
|

|
|
958
958
|

|
|
959
|
-

|
|
960
|
+

|
|
961
|
+

|
|
962
962
|

|
|
963
963
|

|
|
964
964
|

|
|
@@ -976,104 +976,104 @@ graph LR
|
|
|
976
976
|
|
|
977
977
|
The words this project uses that the root glossary does not define, regenerated with `nx run codometer-languages:coinagerie-check:write`.
|
|
978
978
|
|
|
979
|
-
- **advance**:
|
|
980
|
-
- **analyze**:
|
|
981
|
-
- **anchor**:
|
|
982
|
-
- **arrow**:
|
|
983
|
-
- **ast**:
|
|
984
|
-
- **backslash**:
|
|
985
|
-
- **blockquote**:
|
|
986
|
-
- **bool**:
|
|
987
|
-
- **breach**:
|
|
988
|
-
- **breadth**:
|
|
989
|
-
- **budget**:
|
|
990
|
-
- **carry**:
|
|
991
|
-
- **claim**:
|
|
992
|
-
- **col**:
|
|
993
|
-
- **conditional**:
|
|
994
|
-
- **consume**:
|
|
995
|
-
- **counter**:
|
|
996
|
-
- **delimiter**:
|
|
997
|
-
- **dict**:
|
|
998
|
-
- **doc**:
|
|
999
|
-
- **docstring**:
|
|
1000
|
-
- **dump**:
|
|
1001
|
-
- **excerpt**:
|
|
1002
|
-
- **execution**:
|
|
1003
|
-
- **explicit**:
|
|
1004
|
-
- **explore**:
|
|
1005
|
-
- **flatten**:
|
|
1006
|
-
- **generic**:
|
|
1007
|
-
- **getattr**:
|
|
1008
|
-
- **good**:
|
|
1009
|
-
- **handle**:
|
|
1010
|
-
- **hcl**:
|
|
1011
|
-
- **interpolation**:
|
|
1012
|
-
- **ipynb**:
|
|
1013
|
-
- **isinstance**:
|
|
1014
|
-
- **isupper**:
|
|
1015
|
-
- **javascript**:
|
|
1016
|
-
- **jsonl**:
|
|
1017
|
-
- **jupyter**:
|
|
1018
|
-
- **len**:
|
|
1019
|
-
- **level1**:
|
|
1020
|
-
- **level2**:
|
|
1021
|
-
- **level3**:
|
|
1022
|
-
- **level4**:
|
|
1023
|
-
- **level5**:
|
|
1024
|
-
- **level6**:
|
|
1025
|
-
- **marker**:
|
|
1026
|
-
- **measure**:
|
|
1027
|
-
- **measurement**:
|
|
1028
|
-
- **multi**:
|
|
1029
|
-
- **multiline**:
|
|
1030
|
-
- **nbformat**:
|
|
1031
|
-
- **notebook**:
|
|
1032
|
-
- **nullish**:
|
|
1033
|
-
- **odd**:
|
|
1034
|
-
- **overlap**:
|
|
1035
|
-
- **paragraph**:
|
|
1036
|
-
- **pathlib**:
|
|
1037
|
-
- **pipeline**:
|
|
1038
|
-
- **po**:
|
|
1039
|
-
- **primitive**:
|
|
1040
|
-
- **processor**:
|
|
1041
|
-
- **prop**:
|
|
1042
|
-
- **prose**:
|
|
1043
|
-
- **py**:
|
|
1044
|
-
- **pyproject**:
|
|
1045
|
-
- **re**:
|
|
1046
|
-
- **reader**:
|
|
1047
|
-
- **readline**:
|
|
1048
|
-
- **sample**:
|
|
1049
|
-
- **sanitize**:
|
|
1050
|
-
- **scalar**:
|
|
1051
|
-
- **scan**:
|
|
1052
|
-
- **scanner**:
|
|
1053
|
-
- **selector**:
|
|
1054
|
-
- **seq**:
|
|
1055
|
-
- **severity**:
|
|
1056
|
-
- **shebang**:
|
|
1057
|
-
- **should**:
|
|
1058
|
-
- **single**:
|
|
1059
|
-
- **slash**:
|
|
1060
|
-
- **span**:
|
|
1061
|
-
- **sparse**:
|
|
1062
|
-
- **splice**:
|
|
1063
|
-
- **splitline**:
|
|
1064
|
-
- **startswith**:
|
|
1065
|
-
- **stdin**:
|
|
1066
|
-
- **str**:
|
|
1067
|
-
- **sub**:
|
|
1068
|
-
- **sy**:
|
|
1069
|
-
- **syntax**:
|
|
1070
|
-
- **temp**:
|
|
1071
|
-
- **thematic**:
|
|
1072
|
-
- **todo**:
|
|
1073
|
-
- **tokenize**:
|
|
1074
|
-
- **toml**:
|
|
1075
|
-
- **trail**:
|
|
1076
|
-
- **trivia**:
|
|
1077
|
-
- **variant**:
|
|
979
|
+
- **advance**: Verb in the JSON parser's shouldAdvanceIndex flag, telling its state machine whether to step to the next character.
|
|
980
|
+
- **analyze**: Verb for the language dispatcher's analyze function, which routes each file to the analyzer for its language.
|
|
981
|
+
- **anchor**: YAML node property holding a reusable node's name, which the YAML comment service reads as a string when present.
|
|
982
|
+
- **arrow**: TypeScript arrow function syntax, which the declaration comment reader classifies as a function rather than a method.
|
|
983
|
+
- **ast**: Python standard library abstract syntax tree module that the Python analyzer script walks to count classes and functions.
|
|
984
|
+
- **backslash**: Test helper that builds a literal backslash character, used by the JSON service tests to check escaped newlines.
|
|
985
|
+
- **blockquote**: Markdown block quote node type mapped to the blockQuotes counter in the markdown constants table.
|
|
986
|
+
- **bool**: Boolean return annotation on is_shebang in the Python analyzer script, which decides whether a first line is a shebang.
|
|
987
|
+
- **breach**: Wording for a comment that exceeds its budget, which the comments service shortens so the report line stays readable.
|
|
988
|
+
- **breadth**: Limit on how many calls a function may make, which the languages service keeps within by avoiding an extra split.
|
|
989
|
+
- **budget**: Per-statistic allowance of words, lines, or characters for one comment block, judged by the comment measurement.
|
|
990
|
+
- **carry**: Verb for what a comment node or measurement holds, such as the explicit length a comment budget carries.
|
|
991
|
+
- **claim**: Verb for a counter taking a TypeScript declaration when its kind matches, so the declaration is tallied once.
|
|
992
|
+
- **col**: Fragment of column, the yaml package's col field that the YAML comment service destructures as a line position.
|
|
993
|
+
- **conditional**: Shell conditional opening pattern in the shell constants, which the shell analyzer matches to count control structures.
|
|
994
|
+
- **consume**: Verb for the JSON comment reader advancing past one character, as its parser state machine does in each step.
|
|
995
|
+
- **counter**: Custom statistic that tallies matching declarations or comments, configured per selector and shared by the TypeScript and comment services.
|
|
996
|
+
- **delimiter**: Multi-line string delimiter, such as the triple quotes the TOML constants match, which the reader must pair correctly.
|
|
997
|
+
- **dict**: Python dict annotation on read_comment and count_docstring in the Python analyzer script, carrying per-file statistics.
|
|
998
|
+
- **doc**: JSDoc or TSDoc documentation comment form, which the TypeScript constants recognize through a regex for doc tags.
|
|
999
|
+
- **docstring**: Python docstring text returned by ast.get_docstring, which the Python analyzer counts into its docstringLines statistic.
|
|
1000
|
+
- **dump**: Fragment of json.dumps in the Python analyzer script, which prints its per-file statistics as JSON to standard output.
|
|
1001
|
+
- **excerpt**: Short leading slice of a comment, capped at COMMENT_EXCERPT_LENGTH of 48 characters, kept to identify a measured block.
|
|
1002
|
+
- **execution**: Notebook run state such as execution counts, which the Jupyter service leaves out of the cells and outputs it measures.
|
|
1003
|
+
- **explicit**: Adjective for a value spelled out in configuration, such as an explicit comment length budget or a YAML key with no value.
|
|
1004
|
+
- **explore**: Name of a notebook test fixture, explore.ipynb, used by the Jupyter service tests to exercise cell counting.
|
|
1005
|
+
- **flatten**: Test helper flattenDeclarationComments that collects every declaration comment measurement into one list for assertions.
|
|
1006
|
+
- **generic**: Type-parameter flag that the TypeScript service increments for each generic class or function it tallies as a declaration.
|
|
1007
|
+
- **getattr**: Python builtin in the Python analyzer script that reads a base class's id, used to recognize Protocol inheritance.
|
|
1008
|
+
- **good**: Name of a well-formed notebook test fixture, good.ipynb, that the Jupyter service measures without raising an error.
|
|
1009
|
+
- **handle**: Prefix of the TypeScript service's per-node methods, each dispatched from dispatchNode, and of the JSON comment handlers.
|
|
1010
|
+
- **hcl**: Terraform configuration language whose module and comment reader handle hash, double-slash, and block comment forms.
|
|
1011
|
+
- **interpolation**: HCL template expression matched by a constants regex, so the HCL service can recognize interpolation syntax in its text.
|
|
1012
|
+
- **ipynb**: Jupyter notebook file extension read by the Jupyter service, and the suffix of many unit test fixture names.
|
|
1013
|
+
- **isinstance**: Python builtin that the Python analyzer script uses to sort AST nodes into class, function, and assignment counts.
|
|
1014
|
+
- **isupper**: Python string method that the analyzer script calls on a target name to detect constant-style module assignments.
|
|
1015
|
+
- **javascript**: JavaScript language read by the TypeScript and comment services in every dialect the workspace uses.
|
|
1016
|
+
- **jsonl**: JSON Lines extension that the JSON service parses one document per line, alongside its JSONC comment support.
|
|
1017
|
+
- **jupyter**: Notebook format read by the Jupyter module, which measures its markdown and code cells along with their outputs.
|
|
1018
|
+
- **len**: Python builtin that counts lines in source and docstring text, feeding the Python analyzer's lines and docstringLines totals.
|
|
1019
|
+
- **level1**: Count of level one headings, the first of six heading-depth counters that the markdown analyzer tallies.
|
|
1020
|
+
- **level2**: Count of level two headings, one of six heading-depth counters the markdown analyzer tallies per document.
|
|
1021
|
+
- **level3**: Count of level three headings, one of six heading-depth counters the markdown analyzer tallies per document.
|
|
1022
|
+
- **level4**: Count of level four headings, one of six heading-depth counters the markdown analyzer tallies per document.
|
|
1023
|
+
- **level5**: Count of level five headings, one of six heading-depth counters the markdown analyzer tallies per document.
|
|
1024
|
+
- **level6**: Count of level six headings, the deepest of six heading-depth counters the markdown analyzer tallies per document.
|
|
1025
|
+
- **marker**: Comment opening token, such as a hash or slash, that the comment constants treat as the only sign of a comment.
|
|
1026
|
+
- **measure**: Verb for computing a comment's length against its budget, exposed as the measure method of the comments service.
|
|
1027
|
+
- **measurement**: Result of checking one comment block against its budget, carried as a CommentMeasurement record per block.
|
|
1028
|
+
- **multi**: Prefix in multi-line comments and multi-line strings, which the CSS and TOML readers treat as a single token.
|
|
1029
|
+
- **multiline**: Spelling variant of multi-line, appearing only in this package's glossary and not as a code identifier.
|
|
1030
|
+
- **nbformat**: Jupyter notebook format specification, whose null-for-never-run convention the Jupyter service follows for execution counts.
|
|
1031
|
+
- **notebook**: Jupyter document of cells, which the Jupyter service reads to count code cells, markdown cells, and their outputs.
|
|
1032
|
+
- **nullish**: Zod schema modifier accepting null or undefined, so a notebook missing an execution count still parses without rejection.
|
|
1033
|
+
- **odd**: Describes a malformed fixture such as odd.ipynb, whose cells are not an array, and the TOML rule for odd delimiter counts.
|
|
1034
|
+
- **overlap**: Overlap between a comment marker and prose, such as a double dash written inside a SQL block comment, which the reader must split.
|
|
1035
|
+
- **paragraph**: Markdown paragraph node type mapped to the paragraphs counter in the markdown constants table.
|
|
1036
|
+
- **pathlib**: Python module imported by the Python analyzer script to turn each line read from standard input into a file path.
|
|
1037
|
+
- **pipeline**: Shell pipe operator counted as joining two commands, and the measurement pipeline collaborator the languages service holds.
|
|
1038
|
+
- **po**: Two-letter fragment appearing only in this package's glossary, with no code identifier of that exact spelling.
|
|
1039
|
+
- **primitive**: JSON scalar value counted as a primitive, alongside objects, arrays, and nesting depth, by the JSON service.
|
|
1040
|
+
- **processor**: Remark markdown processor instance in the markdown service that parses each document into a syntax tree.
|
|
1041
|
+
- **prop**: Shortened CSS declaration property, read as node.prop so custom properties beginning with a double dash can be counted.
|
|
1042
|
+
- **prose**: The words of a comment left once its markers are stripped, which the comments service counts against a budget.
|
|
1043
|
+
- **py**: File extension of the Python analyzer script, python.service.py, which the TypeScript service runs in a subprocess.
|
|
1044
|
+
- **pyproject**: Python project file pyproject.toml, which the TOML reader and the languages service tests treat as a recognized config file.
|
|
1045
|
+
- **re**: Prefix in re-parse and re-read, which the markdown service avoids by parsing each document only once.
|
|
1046
|
+
- **reader**: Per-syntax comment reader that the comments module provides, one for each comment syntax, such as Python or HCL.
|
|
1047
|
+
- **readline**: Python readline method used to read a source string line by line inside the Python analyzer script.
|
|
1048
|
+
- **sample**: Name of a fixture file or sampleNotebook constant in the comment and Jupyter unit tests, not a measurement concept.
|
|
1049
|
+
- **sanitize**: Fragment of sanitizedContent, the JSON reader's comment-free copy of a document built character by character.
|
|
1050
|
+
- **scalar**: YAML or JSON scalar value, where the YAML comment service ignores a hash sign that sits inside a quoted scalar.
|
|
1051
|
+
- **scan**: In-progress state object for one file during comment measurement, holding its text, its lines, and what has been read.
|
|
1052
|
+
- **scanner**: Lexical pass over source that hands the comment readers their tokens, so each measurement does not rescan the file text.
|
|
1053
|
+
- **selector**: Config key naming which comments a custom statistic counts, such as the comment selector a budget is attached to.
|
|
1054
|
+
- **seq**: Fragment of sequence, the YAML list counter and the isSeq type guard from the yaml package used by the YAML service.
|
|
1055
|
+
- **severity**: Breach level for a comment or limit, carried from configuration into the comment measurement record unchanged.
|
|
1056
|
+
- **shebang**: Leading hash-bang line that the hash comment reader skips so it is not counted as a comment.
|
|
1057
|
+
- **should**: Modal word in the Jupyter constants comment saying a notebook missing a field is still measured for what it holds.
|
|
1058
|
+
- **single**: Single-node measurement helper in the markdown service that records one node against the running totals.
|
|
1059
|
+
- **slash**: Two-character comment marker, the double slash that the HCL and TypeScript comment readers recognize.
|
|
1060
|
+
- **span**: Character range of a comment token, which the HCL comment reader records for each block comment in source order.
|
|
1061
|
+
- **sparse**: Name of a minimal test fixture, such as sparse.ipynb or sparse.toml, that checks readers tolerate incomplete input.
|
|
1062
|
+
- **splice**: Array splice call that empties a list of temporary directories in the CSS and language comment tests.
|
|
1063
|
+
- **splitline**: Fragment of splitlines, the Python string method the analyzer script uses to count docstring and source lines.
|
|
1064
|
+
- **startswith**: String prefix test used by the comment readers to detect shebangs, JSDoc openings, and custom CSS properties.
|
|
1065
|
+
- **stdin**: Standard input stream from which the Python analyzer script reads its newline-delimited list of files to measure.
|
|
1066
|
+
- **str**: Python str annotation in the analyzer script, such as the dict of str to int stats and the list of paths read from stdin.
|
|
1067
|
+
- **sub**: Python regex substitution call that strips the comment marker from token text to leave the prose of a comment.
|
|
1068
|
+
- **sy**: Two-letter fragment of sys, as in sys.stdin read by the Python analyzer script to receive its file list.
|
|
1069
|
+
- **syntax**: Comment syntax that one reader handles, which the comments module keeps separate per language, as CSS has only one form.
|
|
1070
|
+
- **temp**: Fragment of temporary, used in tests and in the Python service, which avoids measuring a project under the system temp directory.
|
|
1071
|
+
- **thematic**: Markdown horizontal rule node counted as thematicBreaks by the markdown analyzer, one of its node-type counters.
|
|
1072
|
+
- **todo**: Literal TODO marker in source comments, such as the note in the JSON module that the measureJson module needs documenting.
|
|
1073
|
+
- **tokenize**: Python standard tokenizer that the Python analyzer script runs to read comment tokens with their positions in the source.
|
|
1074
|
+
- **toml**: TOML configuration language the TOML module reads, including its multi-line string delimiters and comment syntax.
|
|
1075
|
+
- **trail**: Fragment of trailing, a comment after a value that never joins the block above it, per the comments service.
|
|
1076
|
+
- **trivia**: Leading and trailing comment or whitespace text attached to a TypeScript token, which the comment reader must account for.
|
|
1077
|
+
- **variant**: Fragment of LanguageVariant, the TypeScript compiler enum value the TypeScript analyzer passes when parsing standard source.
|
|
1078
1078
|
|
|
1079
1079
|
<!-- coinagerie:end -->
|
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codometer/configuration": "0.0.
|
|
8
|
-
"@codometer/core": "0.0.
|
|
7
|
+
"@codometer/configuration": "0.0.65",
|
|
8
|
+
"@codometer/core": "0.0.65",
|
|
9
9
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
10
10
|
"mdast": "^3.0.0",
|
|
11
11
|
"pino": "^10.3.1",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"strict": true
|
|
72
72
|
},
|
|
73
73
|
"types": "./dist/src/index.d.ts",
|
|
74
|
-
"version": "0.0.
|
|
74
|
+
"version": "0.0.65"
|
|
75
75
|
}
|