@coinagerie/vocabulary 0.0.3 → 0.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/CHANGELOG.md +7 -0
- package/README.md +38 -38
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -24,37 +24,37 @@ This project was generated from the [nestjs-service-project](../../configuration
|
|
|
24
24
|
|
|
25
25
|
The words this package uses that the root glossary does not define, regenerated with `nx run coinagerie-vocabulary:coinagerie-check:write`.
|
|
26
26
|
|
|
27
|
-
- **ancestor**:
|
|
28
|
-
- **aspect**:
|
|
29
|
-
- **breadth**:
|
|
30
|
-
- **bundle**:
|
|
31
|
-
- **discovery**:
|
|
32
|
-
- **dist**:
|
|
33
|
-
- **doc**:
|
|
34
|
-
- **glossary**:
|
|
35
|
-
- **guide**:
|
|
36
|
-
- **headword**:
|
|
37
|
-
- **ignorecase**:
|
|
38
|
-
- **logo**:
|
|
39
|
-
- **lowercase**:
|
|
40
|
-
- **mark**:
|
|
41
|
-
- **phase**:
|
|
42
|
-
- **png**:
|
|
43
|
-
- **posix**:
|
|
44
|
-
- **reload**:
|
|
45
|
-
- **scoped**:
|
|
46
|
-
- **singular**:
|
|
47
|
-
- **symbolic**:
|
|
48
|
-
- **symlink**:
|
|
49
|
-
- **term**:
|
|
50
|
-
- **thing**:
|
|
51
|
-
- **tokenizer**:
|
|
52
|
-
- **unignored**:
|
|
53
|
-
- **unmock**:
|
|
54
|
-
- **vendor**:
|
|
55
|
-
- **verb**:
|
|
56
|
-
- **verdict**:
|
|
57
|
-
- **vocabulary**:
|
|
27
|
+
- **ancestor**: A parent folder's ignore file, read on the way down to a directory so its rules still apply inside the walk.
|
|
28
|
+
- **aspect**: Example word in folding tests, where aspects folds into the singular aspect; also a fixture file name.
|
|
29
|
+
- **breadth**: The maximumBreadth limit, set to seven in this project's callidescope configuration, bounding callees per function.
|
|
30
|
+
- **bundle**: Fixture path dist/bundle.js that discovery tests use to check an exclude list drops the dist folder.
|
|
31
|
+
- **discovery**: The DiscoveryModule and its walk that collects every file no ignore file claims, skipping symbolic links.
|
|
32
|
+
- **dist**: Build output folder the package publishes, and the example exclusion that discovery's gitignore-style rules accept.
|
|
33
|
+
- **doc**: Singular form of docs that folding produces from the fixture path docs/guide.md, which include and exclude tests walk.
|
|
34
|
+
- **glossary**: The GLOSSARY.md file discovery skips so a glossary's own headwords never count as codebase vocabulary.
|
|
35
|
+
- **guide**: Fixture file docs/guide.md that discovery tests create to exercise folder walking and exclusion globs.
|
|
36
|
+
- **headword**: The single form a word folds into, which the glossary lists once and exclusion compares against.
|
|
37
|
+
- **ignorecase**: Option passed to the ignore matcher set false so a scope's path patterns match case-sensitively.
|
|
38
|
+
- **logo**: A word from the fixture path images logoMark.png, showing camelCase paths split into separate words.
|
|
39
|
+
- **lowercase**: Form a word is converted to before exclusion and folding, so both compare headwords case-insensitively.
|
|
40
|
+
- **mark**: The second word split from the fixture path logoMark.png, paired with logo in the words tests.
|
|
41
|
+
- **phase**: A word split from the fixture file aspect-phase-emoji.service.ts, testing that hyphenated names split into words.
|
|
42
|
+
- **png**: Extension of a fixture image, logoMark.png, that vocabulary tests use as a binary file no language tokenizes.
|
|
43
|
+
- **posix**: Adjective for forward-slash paths, which toPosix produces so every glob matches the same separator everywhere.
|
|
44
|
+
- **reload**: Re-imports the discovery module inside a test so its decorator metadata is read again.
|
|
45
|
+
- **scoped**: Describing an ignore rule set that applies only inside its own folder, as in a nested gitignore scope.
|
|
46
|
+
- **singular**: The form pluralize.singular returns, which folding uses as the first step toward a word's headword.
|
|
47
|
+
- **symbolic**: Describes a link on disk that discovery skips rather than follows, so no file is read twice.
|
|
48
|
+
- **symlink**: A link on disk that discovery skips in its walk rather than following it into another folder.
|
|
49
|
+
- **term**: A word of at least two code points that counts toward the vocabulary, as defined by TERM_LENGTH_PATTERN.
|
|
50
|
+
- **thing**: Word from the fixture path packages/project/generated/thing.ts, a placeholder name used only inside discovery tests.
|
|
51
|
+
- **tokenizer**: The language function that splits a file's content into identifiers, looked up by path through LanguagesService.tokenizerFor.
|
|
52
|
+
- **unignored**: Flag on an ignore matcher's verdict marking a path re-included by a negated pattern.
|
|
53
|
+
- **unmock**: Calls vi.doUnmock in discovery tests to restore the real ignore-rules service after a mock replaced it.
|
|
54
|
+
- **vendor**: Fixture third-party folder that discovery and vocabulary tests drop from the vocabulary through an exclude glob.
|
|
55
|
+
- **verb**: Lemmatizer step from wink-lemmatizer reducing an inflected verb form to its base, as configuring to configure.
|
|
56
|
+
- **verdict**: Result an ignore matcher returns for a path, flagging whether a pattern ignored it or re-included it.
|
|
57
|
+
- **vocabulary**: The sorted list of every word the codebase uses, produced by VocabularyService.collect after folding and exclusion.
|
|
58
58
|
|
|
59
59
|
<!-- coinagerie:end -->
|
|
60
60
|
|
|
@@ -260,7 +260,7 @@ graph LR
|
|
|
260
260
|
### Project
|
|
261
261
|
|
|
262
262
|

|
|
263
|
-

|
|
264
264
|

|
|
265
265
|

|
|
266
266
|
|
|
@@ -444,16 +444,16 @@ graph LR
|
|
|
444
444
|
### Markdown
|
|
445
445
|
|
|
446
446
|

|
|
447
|
-

|
|
448
448
|

|
|
449
|
-

|
|
450
|
+

|
|
451
451
|

|
|
452
452
|

|
|
453
453
|

|
|
454
|
-

|
|
455
|
+

|
|
456
|
+

|
|
457
457
|

|
|
458
458
|

|
|
459
459
|

|
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@coinagerie/configuration": "0.0.
|
|
8
|
-
"@coinagerie/languages": "0.0.
|
|
7
|
+
"@coinagerie/configuration": "0.0.4",
|
|
8
|
+
"@coinagerie/languages": "0.0.4",
|
|
9
9
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
10
10
|
"ignore": "7.0.14",
|
|
11
11
|
"pluralize": "^8.0.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"strict": true
|
|
62
62
|
},
|
|
63
63
|
"types": "./dist/src/index.d.ts",
|
|
64
|
-
"version": "0.0.
|
|
64
|
+
"version": "0.0.4"
|
|
65
65
|
}
|