LearnNewsExamplesServices
Frontmatter
id7794
titleMove highlight.js build from postinstall to buildAll
stateClosed
labels
enhancementdeveloper-experienceai
assigneestobiu
createdAtNov 18, 2025, 6:23 PM
updatedAtNov 18, 2025, 6:26 PM
githubUrlhttps://github.com/neomjs/neo/issues/7794
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 18, 2025, 6:26 PM

Move highlight.js build from postinstall to buildAll

Closed v11.5.0 enhancementdeveloper-experienceai
tobiu
tobiu commented on Nov 18, 2025, 6:23 PM

Description

The current postinstall script in package.json triggers the highlight.js build process. This is considered too aggressive for a standard installation.

Goal

Move the highlight.js build execution from the postinstall script in package.json to the buildScripts/buildAll.mjs script.

Acceptance Criteria

  1. Remove postinstall script calling buildHighlightJs.mjs from package.json.
  2. Add execution of buildScripts/buildHighlightJs.mjs to buildScripts/buildAll.mjs, ensuring it runs as part of the standard build process (e.g., after bundleParse5).
tobiu added the enhancement label on Nov 18, 2025, 6:23 PM
tobiu added the developer-experience label on Nov 18, 2025, 6:23 PM
tobiu added the ai label on Nov 18, 2025, 6:23 PM
tobiu assigned to @tobiu on Nov 18, 2025, 6:25 PM
tobiu referenced in commit a9e30df - "Move highlight.js build from postinstall to buildAll #7794" on Nov 18, 2025, 6:26 PM
tobiu closed this issue on Nov 18, 2025, 6:26 PM
tobiu referenced in commit a8b33a0 - "Move highlight.js build from postinstall to buildAll #7794" on Nov 18, 2025, 6:37 PM