$ jlpm clean && jlpm build:lib:prod && jlpm build:labextension
src/jcadplugin/plugins.ts(92,9): error TS2322: Type '() => JupyterCadDoc' is not assignable to type 'SharedDocumentFactory'.
Type 'JupyterCadDoc' is not assignable to type 'YDocument<DocumentChange>'.
Property 'onStateChanged' is protected but type 'YDocument<T>' is not a class derived from 'YDocument<T>'.
src/stepplugin/plugins.ts(61,9): error TS2322: Type '() => JupyterCadStepDoc' is not assignable to type 'SharedDocumentFactory'.
Type 'JupyterCadStepDoc' is not assignable to type 'YDocument<DocumentChange>'.
Property 'onStateChanged' is protected but type 'YDocument<T>' is not a class derived from 'YDocument<T>'.
src/stlplugin/plugins.ts(61,9): error TS2322: Type '() => JupyterCadStlDoc' is not assignable to type 'SharedDocumentFactory'.
Type 'JupyterCadStlDoc' is not assignable to type 'YDocument<DocumentChange>'.
Property 'onStateChanged' is protected but type 'YDocument<T>' is not a class derived from 'YDocument<T>'.
Publishing releases currently fails with: