Jeff Williams
e9c06dbf64
refactor: move more CLI code to @jsdoc/cli
2024-04-15 12:52:46 -07:00
Jeff Williams
55b0489662
chore(jsdoc-eslint-config): migrate to ESLint flat config
2024-04-14 11:39:46 -07:00
Jeff Williams
fa640023af
refactor(jsdoc-cli): move flag-parsing code to flags.js
2024-01-26 16:11:45 -08:00
Jeff Williams
8a038103a5
fix(jsdoc-cli): enable test fixture to be added to repo
2024-01-07 21:07:07 -08:00
Jeff Williams
7fef4d303c
feat(jsdoc-cli): move loadConfig() to Engine
2024-01-07 20:18:03 -08:00
Jeff Williams
092443a03e
refactor(jsdoc-cli): move logger config to Engine
2024-01-01 16:13:02 -08:00
Jeff Williams
865b9faa1e
feat(jsdoc-core): add Api class
...
Starting point for a public API for JSDoc.
2023-12-27 12:46:21 -08:00
Jeff Williams
39beb56f94
refactor: move some code to CLI engine
2023-12-22 21:13:22 -08:00
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
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
41ac86129b
chore(deps): update Jasmine; add missing deps
...
We can't update Jasmine past 3.99.0 until we've done away with our `require()`-hacking shenanigans.
2022-09-02 12:34:26 -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
fa693fdd85
fix: make the --readme flag usable
...
+ fix(jsdoc): resolve the path to the README file
+ fix(jsdoc-cli): don't treat --readme as a boolean
2020-06-07 16:41:06 -07: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
a0f8d178aa
refactor: extract most of @jsdoc/core into @jsdoc/util
...
BREAKING CHANGE: Most modules in `@jsdoc/core` have moved.
2019-12-31 14:40:14 -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