typedoc-material-theme
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -5,2 +5,17 @@ # Changelog | ||
# [1.1.0](https://github.com/dmnsgn/typedoc-material-theme/compare/v1.0.3...v1.1.0) (2024-07-02) | ||
### Features | ||
* add back support for typedoc 0.25.13 ([7cf777d](https://github.com/dmnsgn/typedoc-material-theme/commit/7cf777dab57a71d79fda2470bfb0f3a61e688819)) | ||
* support typedoc `v0.26` ([8901412](https://github.com/dmnsgn/typedoc-material-theme/commit/8901412f676bfe22b5252e7722b09a0879b78e8e)) | ||
### Reverts | ||
* Revert "chore: remove included build files" ([e164d88](https://github.com/dmnsgn/typedoc-material-theme/commit/e164d88d54455d98514832201ab1ae8bf6b759ac)) | ||
## [1.0.3](https://github.com/dmnsgn/typedoc-material-theme/compare/v1.0.2...v1.0.3) (2024-06-20) | ||
@@ -7,0 +22,0 @@ |
@@ -39,7 +39,16 @@ import { cpSync } from "node:fs"; | ||
` })))); | ||
app.listenTo(app.renderer, RendererEvent.END, () => { | ||
const onRenderEnd = () => { | ||
const from = resolve(__dirname, "../assets/style.css"); | ||
const to = resolve(app.options.getValue("out"), "assets/material-style.css"); | ||
cpSync(from, to); | ||
}); | ||
}; | ||
// Support for 0.25.x | ||
// @ts-ignore | ||
if (typeof app.listenTo === "function") { | ||
// @ts-ignore | ||
app.listenTo(app.renderer, RendererEvent.END, onRenderEnd); | ||
} | ||
else { | ||
app.renderer.on(RendererEvent.END, onRenderEnd); | ||
} | ||
} |
{ | ||
"name": "typedoc-material-theme", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "A TypeDoc theme based on Material 3.", | ||
@@ -17,3 +17,6 @@ "keywords": [ | ||
"bugs": "https://github.com/dmnsgn/typedoc-material-theme/issues", | ||
"repository": "dmnsgn/typedoc-material-theme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/dmnsgn/typedoc-material-theme.git" | ||
}, | ||
"funding": [ | ||
@@ -53,7 +56,7 @@ { | ||
"@types/node": "^20.14.6", | ||
"typedoc": "^0.25.13", | ||
"typedoc": "^0.26.3", | ||
"typescript": "^5.5.2" | ||
}, | ||
"peerDependencies": { | ||
"typedoc": "^0.25.3" | ||
"typedoc": "^0.25.13 || ^0.26.3" | ||
}, | ||
@@ -60,0 +63,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
21902
483
0