ag-common 0.0.596 → 0.0.597
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.
|
@@ -8,6 +8,10 @@ const pathV = require('path');
|
|
|
8
8
|
const cwd = process.cwd();
|
|
9
9
|
const resolvePath = (p) => pathV.resolve(cwd, p);
|
|
10
10
|
function run() {
|
|
11
|
+
if (!fs.existsSync('./dist')) {
|
|
12
|
+
console.log('no dist directory, cant run openapi postfix');
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
11
15
|
console.log('running openapi postfixes');
|
|
12
16
|
const files = fs
|
|
13
17
|
.readdirSync(resolvePath('./dist/api'))
|
|
@@ -107,6 +107,6 @@ const TreeChart = (tnd) => {
|
|
|
107
107
|
if (head.size === 0) {
|
|
108
108
|
return react_1.default.createElement("div", null);
|
|
109
109
|
}
|
|
110
|
-
return (react_1.default.createElement(Base, { ref: r }, headDim && render({ tnd, n: head, depth: 0, head, headDim })));
|
|
110
|
+
return (react_1.default.createElement(Base, { ref: r, className: tnd.className }, headDim && render({ tnd, n: head, depth: 0, head, headDim })));
|
|
111
111
|
};
|
|
112
112
|
exports.TreeChart = TreeChart;
|
package/package.json
CHANGED