Y-array dependency conflict

After I have set up the basic quill example, I wanted to extend my work with a simple HTML form. I noticed that for this y-text exists. After I tried to install y-text I received the following error. What is the recommended way to use Yjs with a regular input type=text?

npm install y-text 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: kabelkrantadmin@undefined
npm ERR! Found: yjs@13.5.16
npm ERR! node_modules/yjs
npm ERR!   yjs@"^13.5.16" from the root project
npm ERR!   peer yjs@">= 12.0.0 < 14.0.0" from y-text@9.5.1
npm ERR!   node_modules/y-text
npm ERR!     y-text@"*" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer yjs@">= 12.3.1 < 13.0.0" from y-array@10.1.4
npm ERR! node_modules/y-array
npm ERR!   peer y-array@">= 10.0.0 < 12.0.0" from y-text@9.5.1
npm ERR!   node_modules/y-text
npm ERR!     y-text@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I think y-text is deprecated and you should just use yjs instead with Y.Text type.

If you have a reference to an example doing so it would be sincerely appreciated. I think this is kind of ‘the basic’ thing.

I guess I am looking for the integration with a stock input type=text element.