Skip to content

rename: ep_syntax_highlighting -> ep_hljs#6

Merged
JohnMcLear merged 1 commit into
mainfrom
chore/rename-to-ep-hljs
May 8, 2026
Merged

rename: ep_syntax_highlighting -> ep_hljs#6
JohnMcLear merged 1 commit into
mainfrom
chore/rename-to-ep-hljs

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

Summary

npm refused to accept ep_syntax_highlighting as too similar to ep_syntaxhighlighting (no underscore between syntax and highlighting), an unmaintained 2014-era package by etinquis we don't own and can't reach quickly. Renaming to ep_hljs avoids the similarity check, ties the package name to the underlying library, and is shorter.

Scope

grep -rl 'ep_syntax_highlighting' touched 23 files. The substring is namespaced everywhere: require('…') paths, ep.json hooks, padToggle/padSelect pluginName, HTML element IDs, locale keys, template references, README, CLAUDE.md, even the postinstall script. All 23 files updated via sed; rename is mechanical.

Test plan

  • Lint clean.
  • 39/39 backend tests pass under the new install path plugin_packages/.versions/ep_hljs@0.1.1/.
  • Frontend Playwright will be exercised by CI on this PR.

Related

GitHub repo also renamed (ether/ep_syntax_highlighting → ether/ep_hljs). GitHub auto-redirects the old URL.

🤖 Generated with Claude Code

npm rejected publishing 'ep_syntax_highlighting' as too similar to
'ep_syntaxhighlighting' (without underscore between 'syntax' and
'highlighting'), an unmaintained 2014-era plugin by etinquis we don't
own. Renaming to ep_hljs avoids the similarity check, ties the package
name to the underlying library (highlight.js), and is shorter to type.

Find/replace touches everything under the namespace:
- package.json name
- ep.json hook paths
- require('ep_syntax_highlighting/...') -> require('ep_hljs/...')
- padToggle / padSelect pluginName config
- HTML element ids (#ep_syntax_highlighting_select etc.)
- locale keys (ep_syntax_highlighting.label etc.)
- references in templates, README, CLAUDE.md, scripts

The Etherpad-side install path also moves: the plugin lives at
plugin_packages/.versions/ep_hljs@<ver>/ now. 39 backend tests still
pass under the new install path.

GitHub repo also renamed: ether/ep_syntax_highlighting -> ether/ep_hljs.
The old URL redirects, but the canonical home is now
https://github.com/ether/ep_hljs.
@qodo-code-review
Copy link
Copy Markdown

ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one.

@JohnMcLear JohnMcLear merged commit a64f3ce into main May 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant