spec-up-t 0.11.32 → 0.11.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-up-t",
3
- "version": "0.11.32",
3
+ "version": "0.11.33",
4
4
  "description": "Technical specification drafting tool that generates rich specification documents from markdown. Forked from https://github.com/decentralized-identity/spec-up by Daniel Buchner (https://github.com/csuwildcat)",
5
5
  "main": "./index",
6
6
  "repository": {
@@ -20,6 +20,10 @@ const specDirectories = config.specs.map(spec => spec.spec_directory + '/' + spe
20
20
  const outputPathJSON = path.join('output', 'term-relations-data.json');
21
21
  const outputPathJS = path.join('output', 'term-relations-data.js');
22
22
 
23
+ // Create directory named “output” in the project root if it does not yet exist
24
+ if (!fs.existsSync('output')) {
25
+ fs.mkdirSync('output');
26
+ }
23
27
 
24
28
  // Create directory named “output” in the project root if it does not yet exist
25
29
  if (!fs.existsSync(config.specs[0].output_path)) {