spec-up-t 1.0.60 → 1.0.61
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 +1 -1
- package/src/get-xrefs-data.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-up-t",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.61",
|
|
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": {
|
package/src/get-xrefs-data.js
CHANGED
|
@@ -205,6 +205,7 @@ function getXrefsData(GITHUB_API_TOKEN) {
|
|
|
205
205
|
fs.writeFileSync(outputPathJS, stringReadyForFileWrite, 'utf8');
|
|
206
206
|
fs.writeFileSync(outputPathJSTimeStamped, stringReadyForFileWrite, 'utf8');
|
|
207
207
|
});
|
|
208
|
+
require('../index.js')({ nowatch: true });
|
|
208
209
|
}
|
|
209
210
|
|
|
210
211
|
// Function to remove a specific xref from the JSON file, based on term and externalSpec.
|
|
@@ -245,7 +246,10 @@ function removeXref(term, externalSpec) {
|
|
|
245
246
|
messages.push(`\n SPEC-UP-T: An error occurred - ${error.message}\n`);
|
|
246
247
|
}
|
|
247
248
|
|
|
249
|
+
require('../index.js')({ nowatch: true });
|
|
250
|
+
|
|
248
251
|
// TODO: messages are not used at the moment, since they apparently are not returned to the calling script. Fix this.
|
|
252
|
+
|
|
249
253
|
return messages;
|
|
250
254
|
}
|
|
251
255
|
|