You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do we think about turning this repository into a monorepo? That way, consumers will only import things that are actually needed.
Then, -t (--target) would specify a package, i.e. -t @doc-kit/web or -t @doc-kit/legacy/html. Users can then extend existing generators with custom packages.
I'm unsure how specifying generators with package-name would work, because we need to be able to resolve also local generators, so we would need to use some Node.js resolution mechanism so that it supports full node module coverage (absolute paths, relative, package name, etc)
I'm unsure how specifying generators with package-name would work, because we need to be able to resolve also local generators,
import(specifier)?
🤷 needs to be a bit more safeguardy I'd say. To be clear, Im fine with it being a monorepo. We need this to be a monorepo if we want to achieve our 2026 goals #594 and if we want to allow non-Node.js teams to use it...
Activity
ovflowd commentedon Mar 18, 2026
I'm unsure how specifying generators with package-name would work, because we need to be able to resolve also local generators, so we would need to use some Node.js resolution mechanism so that it supports full node module coverage (absolute paths, relative, package name, etc)
avivkeller commentedon Mar 18, 2026
import(specifier)?ovflowd commentedon Mar 18, 2026
🤷 needs to be a bit more safeguardy I'd say. To be clear, Im fine with it being a monorepo. We need this to be a monorepo if we want to achieve our 2026 goals #594 and if we want to allow non-Node.js teams to use it...
avivkeller commentedon Mar 18, 2026
I'll begin investigating once my current PRs here land