22 Commits

Author SHA1 Message Date
Jeff Williams
e3ac8e1670
refactor: migrate task runners to Hereby 2023-01-07 20:46:11 -08:00
Jeff Williams
5178661c1c chore: move jsdoc/env to @jsdoc/core.env 2022-11-03 14:36:42 -07: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
004ce7392c refactor(jsdoc-core): make Dependencies#reset accept a string 2021-10-22 10:09:32 -07:00
Jeff Williams
ad2cfd70ef feature(jsdoc-core): allow dependencies to be reset 2021-10-22 10:03:35 -07:00
Jeff Williams
29b64a4638 feature(@jsdoc/core): make the dependency provider more flexible
You can now register classes and factory functions, either as singletons or not.
2021-10-21 17:35:30 -07:00
Jeff Williams
ba74ec1d4f refactor(@jsdoc/core): replace yaioc with bottlejs
`bottlejs` does what we need and is much more widely used.

Also, `bottlejs` doesn't do all the magic name extraction that `yaioc` does. That means less logic to reproduce in this facade if we change the underlying dependency later.
2021-09-27 14:38:16 -07:00
Jeff Williams
08eacf078b fix(@jsdoc/core): capitalize Dependencies 2021-09-26 11:30:16 -07:00
Jeff Williams
c0244402dd refactor(@jsdoc/core): don't export a default container for dependencies
We need to ensure that the container is passed into any code that needs it. If you're testing a template, and it lives in a different directory than JSDoc itself, relying on a shared default container won't work.
2021-09-26 10:25:09 -07:00
Jeff Williams
b850fa14b9 feature(@jsdoc/core): add simple inversion of control (IoC) tool
Currently unused. Intended to be used for JSDoc core dependencies that must be available everywhere, such as the config and the event bus.
2021-09-26 09:54:42 -07:00
Jeff Williams
1305499207 chore: use Prettier to format source files 2021-09-19 13:20:31 -07:00
Jeff Williams
548dc55174 refactor(jsdoc-core): move syntax to new @jsdoc/parse package 2020-12-24 15:25:49 -08:00
Jeff Williams
df319bc3d1 refactor(jsdoc-core): add Syntax to @jsdoc/core 2020-12-24 15:07:47 -08:00
Jeff Williams
df145057c3 refactor: extract jsdoc/name to @jsdoc/core.name; rename methods/enums
BREAKING CHANGE: `jsdoc/name` is gone; its replacement, `@jsdoc/core.name`, has different method/enum names.
2020-01-01 16:51:19 -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
c5ec05b7f3 refactor(jsdoc-core): fold event bus into @jsdoc/core 2019-12-08 18:42:41 -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
Jeff Williams
840352f192 feat(jsdoc-core): add @jsdoc/core.util.fs.lsSync 2019-12-08 14:06:44 -08:00
Jeff Williams
7b931f5baa nit(jsdoc-core): test existence of @jsdoc/core.util 2019-12-07 17:08:17 -08:00
Jeff Williams
3eaa696a4d fix(jsdoc-core): ensure that yaml module can be loaded 2019-12-01 15:52:10 -08:00
Jeff Williams
5d9bc0f637 move code to @jsdoc/core; remove bespoke argument-parsing code 2019-09-08 19:34:48 -07:00
Jeff Williams
a291608954 add @jsdoc/core package 2019-07-28 15:14:16 -07:00