mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
fix: adjust command of typedoc (upgrade typescript)
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -1963,9 +1963,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "3.8.3",
|
"version": "4.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
|
||||||
"integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==",
|
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"uglify-js": {
|
"uglify-js": {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"build": "npm run tslint && npm run compile",
|
"build": "npm run tslint && npm run compile",
|
||||||
"compile": "rimraf lib && tsc --outDir lib && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
"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'",
|
"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",
|
"prepublishOnly": "npm ci && npm run build",
|
||||||
"postversion": "npm run changelog",
|
"postversion": "npm run changelog",
|
||||||
"preversion": "npm run prepublishOnly",
|
"preversion": "npm run prepublishOnly",
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
"prepend-file-cli": "1.0.6",
|
"prepend-file-cli": "1.0.6",
|
||||||
"rimraf": "3.0.2",
|
"rimraf": "3.0.2",
|
||||||
"typedoc": "0.21.9",
|
"typedoc": "0.21.9",
|
||||||
"typescript": "3.8.3"
|
"typescript": "4.4.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": ">=3.8.3"
|
"typescript": ">=3.8.3"
|
||||||
|
|||||||
@@ -521,7 +521,7 @@ ${stringify(completeEntry)}`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} 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.
|
Please ensure consistency of CI config manually.
|
||||||
${stringify(rules.ciConfig)}`);
|
${stringify(rules.ciConfig)}`);
|
||||||
}
|
}
|
||||||
@@ -795,6 +795,8 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
join('templates', '.npmignore'),
|
join('templates', '.npmignore'),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
// tslint:disable-next-line:ban-ts-ignore
|
||||||
|
// @ts-ignore
|
||||||
delete ciConfig[`package`];
|
delete ciConfig[`package`];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user