10 Commits

Author SHA1 Message Date
Jeff Williams
428ddcf521
refactor: create @jsdoc/name package to break dependency cycles
Tons of stuff depends on these methods; in contrast, these methods don't depend on any other JSDoc packages.
2024-12-15 15:08:06 -08:00
Jeff Williams
995fdae3d8
refactor: use env instead of deps or dependencies 2024-12-07 20:48:10 -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
5e4f999497
refactor: don't use deprecated RegExp.$1...$9 properties
Plus some miscellaneous cleanup.
2023-10-11 16:40:23 -07:00
Jeff Williams
1a2690915a
refactor: use DocletStore to track parse results
Also updates a bunch of code to use optional chaining and nullish coalescing.
2023-10-01 17:52:01 -07:00
Jeff Williams
b2df642b31
feat(jsdoc-doclet): add DocletStore, a reactive tracker for doclets 2023-09-17 17:48:23 -07:00
Jeff Williams
954d17f87c
feat(jsdoc-doclet): emit events when certain doclet properties change 2023-09-10 14:56:27 -07:00
Jeff Williams
f5865d3e59
feat: add isGlobal() and isVisible() methods to Doclet 2023-03-19 21:47:13 -07:00
Jeff Williams
c04508f295
refactor: migrate to ES modules 2023-02-28 20:12:24 -08:00
Jeff Williams
0ca411969e
refactor: move doclet module to @jsdoc/doclet 2023-01-16 12:09:50 -08:00