@diplodoc/cli 5.0.0-alpha-3 → 5.0.0-alpha-4
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 +2 -2
- package/package.json +1 -2
- package/src/core/leading/types.ts +7 -1
package/build/index.js
CHANGED
|
@@ -255719,7 +255719,7 @@ var Program = class extends (_a12 = BaseProgram) {
|
|
|
255719
255719
|
super(...arguments);
|
|
255720
255720
|
this.name = "Program";
|
|
255721
255721
|
this.command = new Command2(NAME).helpOption(true).allowUnknownOption(false).version(
|
|
255722
|
-
true ? "5.0.0-alpha-
|
|
255722
|
+
true ? "5.0.0-alpha-4" : "",
|
|
255723
255723
|
"--version",
|
|
255724
255724
|
"Output the version number"
|
|
255725
255725
|
).usage(USAGE);
|
|
@@ -255745,7 +255745,7 @@ if (require.main === module) {
|
|
|
255745
255745
|
(() => __async(void 0, null, function* () {
|
|
255746
255746
|
console.time(MAIN_TIMER_ID);
|
|
255747
255747
|
if (process.env.NODE_ENV !== "test") {
|
|
255748
|
-
console.log(`Using v${"5.0.0-alpha-
|
|
255748
|
+
console.log(`Using v${"5.0.0-alpha-4"} version`);
|
|
255749
255749
|
}
|
|
255750
255750
|
let exitCode = 0;
|
|
255751
255751
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diplodoc/cli",
|
|
3
|
-
"version": "5.0.0-alpha-
|
|
3
|
+
"version": "5.0.0-alpha-4",
|
|
4
4
|
"description": "Make documentation using yfm-docs in Markdown and HTML formats",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -77,7 +77,6 @@
|
|
|
77
77
|
"@diplodoc/prettier-config": "^2.0.0",
|
|
78
78
|
"@diplodoc/transform": "^4.44.1",
|
|
79
79
|
"@diplodoc/tsconfig": "^1.0.2",
|
|
80
|
-
"@gravity-ui/page-constructor": "^5.33.2",
|
|
81
80
|
"@octokit/core": "^6.1.3",
|
|
82
81
|
"@types/async": "^3.2.15",
|
|
83
82
|
"@types/chalk": "2.2.0",
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import {Meta} from '~/core/meta';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// TODO: import this type from client?
|
|
4
|
+
// import {PageContent} from '@gravity-ui/page-constructor';
|
|
5
|
+
|
|
6
|
+
type PageContent = {
|
|
7
|
+
blocks: object;
|
|
8
|
+
};
|
|
3
9
|
|
|
4
10
|
export interface RawLeadingPage {
|
|
5
11
|
title: TextItems;
|