LearnNewsExamplesServices
Frontmatter
id7706
titleRefactor jsdoc-x integration for improved performance and maintainability
stateClosed
labels
enhancementai
assigneestobiu
createdAtNov 4, 2025, 11:00 PM
updatedAtNov 4, 2025, 11:02 PM
githubUrlhttps://github.com/neomjs/neo/issues/7706
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 4, 2025, 11:02 PM

Refactor jsdoc-x integration for improved performance and maintainability

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Nov 4, 2025, 11:00 PM

This ticket summarizes the refactoring of the jsdoc-x integration within the project. The primary goals were to modernize the codebase, remove outdated dependencies, and improve performance.

Changes Made:

  • Removed the jsdoc-x package from package.json.
  • Added glob as a devDependency to package.json.
  • Introduced 6 new files in buildScripts/docs/jsdoc-x/ as a module-based (ESM) rewrite of the original jsdoc-x library. This rewrite gives kudos to the original author, Onury (https://github.com/onury/jsdoc-x).
  • Adjusted buildScripts/docs/jsdocx.mjs to utilize the new jsdoc-x implementation.

Performance Improvement: The parsing time for documentation JSON files has significantly improved:

  • Before: ~28 seconds
  • After: ~7.52 seconds
tobiu added the enhancement label on Nov 4, 2025, 11:00 PM
tobiu added the ai label on Nov 4, 2025, 11:00 PM
tobiu assigned to @tobiu on Nov 4, 2025, 11:00 PM
tobiu referenced in commit f06f783 - "Refactor jsdoc-x integration for improved performance and maintainability #7706" on Nov 4, 2025, 11:01 PM
tobiu closed this issue on Nov 4, 2025, 11:02 PM