mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-26 03:03:04 +00:00
* fix(highlight): vendor pure-Lezer Svelte parser Replace @replit/codemirror-lang-svelte with a vendored, pure-Lezer Svelte parser so the daemon and desktop app stop pulling the interactive CodeMirror editor runtime. @replit/codemirror-lang-svelte executes EditorView.inputHandler and HTML autocompletion at module load and depends on @codemirror/view, @codemirror/state, and @codemirror/lang-* as peers. Those peers were not declared by @getpaseo/highlight, so electron-builder omitted them from app.asar and the daemon crashed on startup with ERR_MODULE_NOT_FOUND: Cannot find package '@codemirror/lang-css'. The vendored parser uses only @lezer/lr, @lezer/common, @lezer/highlight, @lezer/javascript, and @lezer/css, with @codemirror/language kept for the existing Language wrapper. Drops the now-unused @codemirror/autocomplete dependency and adds @lezer/lr as a direct dependency. * fix(nix): update npm-deps hash for vendored Svelte parser
24 lines
778 B
TypeScript
24 lines
778 B
TypeScript
export const scriptText = 145;
|
|
export const StartCloseScriptTag = 1;
|
|
export const styleText = 146;
|
|
export const StartCloseStyleTag = 2;
|
|
export const textareaText = 147;
|
|
export const StartCloseTextareaTag = 3;
|
|
export const StartTag = 4;
|
|
export const StartScriptTag = 5;
|
|
export const StartStyleTag = 6;
|
|
export const StartTextareaTag = 7;
|
|
export const StartSelfClosingTag = 8;
|
|
export const StartCloseTag = 9;
|
|
export const MismatchedStartCloseTag = 11;
|
|
export const missingCloseTag = 148;
|
|
export const IncompleteCloseTag = 12;
|
|
export const commentContent$1 = 149;
|
|
export const LongExpression = 13;
|
|
export const ShortExpression = 14;
|
|
export const Element = 67;
|
|
export const ScriptText = 110;
|
|
export const StyleText = 113;
|
|
export const TextareaText = 116;
|
|
export const OpenTag = 118;
|