fix: adjust command of typedoc (upgrade typescript)

This commit is contained in:
Jovan Krunić
2021-09-13 16:40:49 +02:00
parent c40ceef039
commit 7d396f9202
3 changed files with 8 additions and 6 deletions

6
package-lock.json generated
View File

@@ -1963,9 +1963,9 @@
"dev": true
},
"typescript": {
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz",
"integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==",
"version": "4.4.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
"dev": true
},
"uglify-js": {

View File

@@ -6,7 +6,7 @@
"build": "npm run tslint && npm run compile",
"compile": "rimraf lib && tsc --outDir lib && prepend lib/cli.js '#!/usr/bin/env node\n'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
"documentation": "typedoc --out docs --readme README.md --includeVersion --listInvalidSymbolLinks src",
"prepublishOnly": "npm ci && npm run build",
"postversion": "npm run changelog",
"preversion": "npm run prepublishOnly",
@@ -41,7 +41,7 @@
"prepend-file-cli": "1.0.6",
"rimraf": "3.0.2",
"typedoc": "0.21.9",
"typescript": "3.8.3"
"typescript": "4.4.3"
},
"peerDependencies": {
"typescript": ">=3.8.3"

View File

@@ -521,7 +521,7 @@ ${stringify(completeEntry)}`);
}
}
} catch (error) {
consoleWarn(`Could not parse ${pathToCiConfig} because of '${error.message}'.
consoleWarn(`Could not parse ${pathToCiConfig} because of '${(error as Error).message}'.
Please ensure consistency of CI config manually.
${stringify(rules.ciConfig)}`);
}
@@ -795,6 +795,8 @@ export function getRules(configuration: Configuration): Rules {
join('templates', '.npmignore'),
);
} else {
// tslint:disable-next-line:ban-ts-ignore
// @ts-ignore
delete ciConfig[`package`];
}