11 Commits

Author SHA1 Message Date
Jeff Williams
45c497e192
refactor: simplify dependency management
It turns out that JSDoc's dependency-injection needs are pretty simple; we mostly just need to pass around some data, plus some logging functions. That means the previous solution was overengineered, even though it was still pretty lightweight.

Now we just put everything in the `Env` object and pass that around instead.
2023-12-10 15:05:35 -08:00
Jeff Williams
f31388c188
refactor: move some Env-related code around 2023-12-09 20:15:49 -08:00
Jeff Williams
d640234030
refactor: miscellaneous cleanup 2023-12-05 16:01:50 -08:00
Jeff Williams
89f2c72da4
refactor: provide logging functions in dependencies; stop using EventBus
These changes enable templates to use the logging functions even if they're not installed in the same `node_modules` directory as JSDoc.

Includes API changes to various modules and functions that didn't have access to the dependency object. Most notably, you now call a function to retrieve tag definitions, rather than just using an exported object as-is.
2023-11-15 17:43:21 -08:00
Jeff Williams
c04508f295
refactor: migrate to ES modules 2023-02-28 20:12:24 -08:00
Jeff Williams
8c6aad8440
chore: add license headers, and a CI check for their presence 2023-01-08 16:11:38 -08:00
Jeff Williams
e01a3d2f91 chore: make gulp format work correctly; fix linter errors 2021-09-19 15:35:42 -07:00
Jeff Williams
1305499207 chore: use Prettier to format source files 2021-09-19 13:20:31 -07:00
Jeff Williams
b70ee2ea9a chore(deps): update dependency ow to ^0.21.0 2020-12-24 13:41:00 -08:00
Jeff Williams
bdb10073ac feat(jsdoc-cli): add logger to CLI engine
BREAKING CHANGE: Name change to property that disables caching in `@jsdoc/util.EventBus`.
2020-02-17 18:42:56 -08:00
Jeff Williams
0fa28300b2 refactor: reorganize @jsdoc/core
Also creates a new package, `@jsdoc/cli`.

BREAKING CHANGE: Methods in `@jsdoc/core` moved around.
2019-12-08 18:30:58 -08:00