@uuv/runner-commons 2.0.2 → 2.0.3

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 CHANGED
@@ -1,3 +1,5 @@
1
+ ## [2.0.3](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v2.0.2...runner-commons-v2.0.3) (2023-12-21)
2
+
1
3
  ## [2.0.2](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v2.0.1...runner-commons-v2.0.2) (2023-12-19)
2
4
 
3
5
  ## [2.0.1](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v2.0.0...runner-commons-v2.0.1) (2023-12-17)
@@ -122,7 +122,11 @@ function runGenerateDoc(destDir) {
122
122
  // console.debug("dataUpdated", dataUpdated)
123
123
  dataUpdated = dataOrigin
124
124
  .replaceAll("$roleName", role.name)
125
- .replaceAll("$roleId", role.id);
125
+ .replaceAll("$roleId", role.id)
126
+ .replaceAll("$definiteArticle", role.getDefiniteArticle())
127
+ .replaceAll("$indefiniteArticle", role.getIndefiniteArticle())
128
+ .replaceAll("$namedAdjective", role.namedAdjective())
129
+ .replaceAll("$ofDefiniteArticle", role.getOfDefiniteArticle());
126
130
  const wordingsEnrichedJson = JSON.parse(dataUpdated);
127
131
  const { step: enrichedGiven, autocompletionSuggestions: enrichedGivenAutocompletionSuggestions } = computeStepDefinition(wordingsEnrichedJson.enriched, "key.given", undefined, "####");
128
132
  if (enrichedGiven.length > 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/runner-commons",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "type": "commonjs",
5
5
  "author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
6
6
  "description": "A common lib for uuv",