@diplodoc/cli 4.6.5 → 4.7.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/build/index.js +4 -2
- package/build/index.js.map +2 -2
- package/build/linter.js +3 -1
- package/build/linter.js.map +2 -2
- package/package.json +2 -2
- package/src/constants.ts +2 -0
package/build/index.js
CHANGED
|
@@ -136,6 +136,7 @@ var images = require("@diplodoc/transform/lib/plugins/images");
|
|
|
136
136
|
var monospace = require("@diplodoc/transform/lib/plugins/monospace");
|
|
137
137
|
var table = require("@diplodoc/transform/lib/plugins/table");
|
|
138
138
|
var term = require("@diplodoc/transform/lib/plugins/term");
|
|
139
|
+
var blockAnchor = require("@diplodoc/transform/lib/plugins/block-anchor");
|
|
139
140
|
var changelog = require("@diplodoc/transform/lib/plugins/changelog");
|
|
140
141
|
var mermaid = require("@diplodoc/mermaid-extension");
|
|
141
142
|
var openapi = require("@diplodoc/openapi-extension");
|
|
@@ -177,7 +178,8 @@ var YFM_PLUGINS = [
|
|
|
177
178
|
term,
|
|
178
179
|
openapi.transform(),
|
|
179
180
|
mermaid.transform(),
|
|
180
|
-
changelog
|
|
181
|
+
changelog,
|
|
182
|
+
blockAnchor
|
|
181
183
|
];
|
|
182
184
|
var PROCESSING_FINISHED = "Processing finished:";
|
|
183
185
|
var LINTING_FINISHED = "Linting finished:";
|
|
@@ -4125,7 +4127,7 @@ import_yargs.default.command(build).command(publish).command(xliff).command(tran
|
|
|
4125
4127
|
default: false,
|
|
4126
4128
|
describe: "Run in quiet mode. Don't write logs to stdout",
|
|
4127
4129
|
type: "boolean"
|
|
4128
|
-
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.
|
|
4130
|
+
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.7.0" : "").help().parse((0, import_helpers.hideBin)(process.argv), {}, (err, { strict }, output) => {
|
|
4129
4131
|
console.timeEnd(MAIN_TIMER_ID);
|
|
4130
4132
|
if (err) {
|
|
4131
4133
|
console.error(err);
|