fix(core): update
This commit is contained in:
parent
751a5b8630
commit
d81b9dd213
6
package-lock.json
generated
6
package-lock.json
generated
@ -2383,9 +2383,9 @@
|
|||||||
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
|
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
|
||||||
},
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "14.14.31",
|
"version": "14.14.32",
|
||||||
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.14.31.tgz",
|
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.14.32.tgz",
|
||||||
"integrity": "sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g=="
|
"integrity": "sha512-/Ctrftx/zp4m8JOujM5ZhwzlWLx22nbQJiVqz8/zE15gOeEW+uly3FSX4fGFpcfEvFzXcMCJwq9lGVWgyARXhg=="
|
||||||
},
|
},
|
||||||
"@types/parcel-bundler": {
|
"@types/parcel-bundler": {
|
||||||
"version": "1.12.3",
|
"version": "1.12.3",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
"@gitzone/tsbuild": "^2.1.25",
|
"@gitzone/tsbuild": "^2.1.25",
|
||||||
"@gitzone/tstest": "^1.0.52",
|
"@gitzone/tstest": "^1.0.52",
|
||||||
"@pushrocks/tapbundle": "^3.2.14",
|
"@pushrocks/tapbundle": "^3.2.14",
|
||||||
"@types/node": "^14.14.31",
|
"@types/node": "^14.14.32",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.15.0"
|
||||||
},
|
},
|
||||||
|
@ -31,10 +31,14 @@ export class TypeDoc {
|
|||||||
},
|
},
|
||||||
include: [],
|
include: [],
|
||||||
};
|
};
|
||||||
data.include = [
|
if (plugins.smartfile.fs.isDirectory(plugins.path.join(paths.cwd, './ts'))) {
|
||||||
plugins.path.join(paths.cwd, './ts/**/*'),
|
data.include.push(plugins.path.join(paths.cwd, './ts/**/*'));
|
||||||
plugins.path.join(paths.cwd, './ts_web/**/*'),
|
}
|
||||||
];
|
|
||||||
|
if (plugins.smartfile.fs.isDirectory(plugins.path.join(paths.cwd, './ts_web'))) {
|
||||||
|
data.include.push(plugins.path.join(paths.cwd, './ts_web/**/*'));
|
||||||
|
}
|
||||||
|
|
||||||
await plugins.smartfile.memory.toFs(JSON.stringify(data), paths.tsconfigFile);
|
await plugins.smartfile.memory.toFs(JSON.stringify(data), paths.tsconfigFile);
|
||||||
let targetDir = paths.publicDir;
|
let targetDir = paths.publicDir;
|
||||||
if (options?.publicSubdir) {
|
if (options?.publicSubdir) {
|
||||||
|
Loading…
Reference in New Issue
Block a user