@gesslar/bedoc 1.0.2 → 1.1.0

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/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # BeDoc
2
-
3
1
  [![CodeQL Advanced](https://github.com/gesslar/BeDoc/actions/workflows/codeql.yml/badge.svg)](https://github.com/gesslar/BeDoc/actions/workflows/codeql.yml)
4
2
  [![Dependabot Updates](https://github.com/gesslar/BeDoc/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/gesslar/BeDoc/actions/workflows/dependabot/dependabot-updates)
5
3
  [![Auto PR and Merge - dev 🤗](https://github.com/gesslar/BeDoc/actions/workflows/autopr-dev.yml/badge.svg?branch=dev)](https://github.com/gesslar/BeDoc/actions/workflows/autopr-dev.yml)
6
4
 
7
-
8
5
  # BeDoc
9
6
 
10
- **BeDoc** is a powerful, pluggable documentation generator designed to handle any programming language and output format. With its extensible framework, you can easily create custom parsers and printers to generate structured documentation for your projects.
7
+ **BeDoc** is a powerful, pluggable documentation generator designed to handle
8
+ any programming language and output format. With its extensible framework, you
9
+ can easily create custom parsers and printers to generate structured
10
+ documentation for your projects.
11
11
 
12
12
  ---
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gesslar/bedoc",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "Pluggable documentation engine for any language and format",
5
5
  "publisher": "gesslar",
6
6
  "main": "./src/core/Core.js",
@@ -159,6 +159,12 @@ export default class Configuration {
159
159
  options.packageJson = {value: jsonObj, source}
160
160
  }
161
161
 
162
+ // Add defaults which are missing
163
+ for(const [key, param] of Object.entries(ConfigurationParameters)) {
164
+ if(options[key] === undefined && param.default !== undefined)
165
+ options[key] = {value: param.default, source: "default"}
166
+ }
167
+
162
168
  return options
163
169
  }
164
170