Jeff Williams
3c68f21f36
feat: add a doclet kind for enums
2025-01-12 15:06:45 -08:00
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
fdf8f6b481
refactor: use env instead of deps
2024-12-07 21:02:01 -08:00
Jeff Williams
749fbeb622
refactor: use env instead of dependencies
2024-12-07 15:17:24 -08:00
Jeff Williams
f86d6598a2
chore(deps): update eslint
2024-06-07 20:13:15 -07:00
Jeff Williams
f7d5fa77b0
fix: use a special longname for a non-default export in an ES2015 module
...
Previously, we used `exports.NAME`, which was both incorrect and confusing.
2024-05-11 17:42:04 -07:00
Jeff Williams
575f0dccc8
fix: use a special longname for an ES2015 module's default export
...
Previously, we used `module.exports`, which is both incorrect and confusing.
2024-05-11 12:07:56 -07:00
Jeff Williams
65da78e6bb
fix(jsdoc-parse): infer the existence of a module from @alias tags
...
If a class has a tag like `@alias module:foo.Bar`, then we can infer that the module for the current file is `module:foo`, even if there's no `/** @module foo */` comment in the file.
2023-12-30 19:58:50 -08:00
Jeff Williams
5a6998bce7
feat(jsdoc-parse): add the source file's module type, if known, to the doclet meta info
2023-12-25 11:57:37 -08:00
Jeff Williams
5a74ffd016
chore(jsdoc-eslint-config): move packages to the correct package.json file; enable Prettier; fix linter issues
2023-11-25 10:28:22 -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
aeb1e4833d
feat(jsdoc-doclet): add public methods to make DocletStore start/stop listening for events
2023-11-12 15:19:42 -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
231ec6e1b0
refactor(jsdoc-parse): use optional chaining
2023-09-17 12:52:02 -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
c04508f295
refactor: migrate to ES modules
2023-02-28 20:12:24 -08:00
Jeff Williams
46aee502ae
refactor: move parser/visitor to @jsdoc/parse package
2023-01-22 21:30:17 -08:00
Jeff Williams
23dd975322
refactor: move parser handlers to new @jsdoc/parse package
...
Replacing the former `@jsdoc/parse` package, which is now `@jsdoc/ast`.
2023-01-22 20:38:17 -08:00
Jeff Williams
59ecaa1afe
refactor: rename @jsdoc/parse to @jsdoc/ast
...
To prevent circular dependencies with `@jsdoc/doclet` in the near future.
2023-01-16 11:49:14 -08:00
Jeff Williams
5be32e5066
refactor: move AST walker to @jsdoc/parse package
2023-01-14 14:13:39 -08:00
Jeff Williams
9b073149a0
chore: slice(0) -> slice()
2023-01-08 22:01:53 -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
1305499207
chore: use Prettier to format source files
2021-09-19 13:20:31 -07:00
Jeff Williams
65e6db3ba4
refactor: move ast-builder and ast-node to @jsdoc/parse
...
BREAKING CHANGE: Modules no longer exist in jsdoc package.
2020-12-24 16:05:58 -08:00
Jeff Williams
548dc55174
refactor(jsdoc-core): move syntax to new @jsdoc/parse package
2020-12-24 15:25:49 -08:00