typedoc-plugin-extras
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -45,1 +45,2 @@ "use strict"; | ||
exports.appendToFooter = appendToFooter; | ||
//# sourceMappingURL=helpers.js.map |
@@ -49,1 +49,2 @@ "use strict"; | ||
exports.load = load; | ||
//# sourceMappingURL=index.js.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
const path_1 = require("path"); | ||
const TYPEDOC_VERSION = require('typedoc/package.json').version; | ||
// const TYPEDOC_VERSION = require('typedoc/package.json').version; | ||
class ExtrasPlugin extends components_1.RendererComponent { | ||
@@ -29,3 +29,3 @@ initialize() { | ||
if (footerTypedocVersion) { | ||
page.contents = (0, helpers_1.appendToFooter)(page.contents, ` version ${TYPEDOC_VERSION}`); | ||
// page.contents = appendToFooter(page.contents, ` version ${TYPEDOC_VERSION}`); | ||
} | ||
@@ -47,1 +47,2 @@ // Add generation date and/or time. | ||
exports.ExtrasPlugin = ExtrasPlugin; | ||
//# sourceMappingURL=plugin.js.map |
{ | ||
"name": "typedoc-plugin-extras", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "A plugin for TypeDoc that adds extras to the generated documentation (favicon and date/time of generation).", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"main": "./dist/main.js", | ||
"exports": "./dist/main.js", | ||
"types": "./dist/main.d.ts", | ||
"files": [ | ||
@@ -12,3 +13,3 @@ "dist/" | ||
"start": "tsc --watch", | ||
"test": "typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --footerDate --footerTime --footerTypedocVersion src/index.ts", | ||
"test": "typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --footerDate --footerTime --footerTypedocVersion src/main.ts", | ||
"build": "tsc", | ||
@@ -36,9 +37,9 @@ "prepublishOnly": "npm run build" | ||
"peerDependencies": { | ||
"typedoc": ">=0.21.0" | ||
"typedoc": "0.22.x" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^15.14.9", | ||
"typedoc": "^0.21.9", | ||
"typescript": "^4.2.4" | ||
"typedoc": "^0.22.3", | ||
"typescript": "^4.4.3" | ||
} | ||
} |
@@ -67,6 +67,7 @@ # typedoc-plugin-extras | ||
Then, link the package to have it in the local `node_modules`: | ||
Then, link the package to the current repo, to have it in the local `node_modules`: | ||
```bash | ||
npm link | ||
npm link typedoc-plugin-extras | ||
``` | ||
@@ -73,0 +74,0 @@ |
21031
11
224
83
2