I have already rewrite the @codemirror/autocomplete
package and publish the modified package as rdcodemirror-autocomplete
, and now using the modified package in my project. Now I found the rdcodemirror-autocomplete
conflict with the @codemirror/autocomplete
package, I just want to keep one of them. now the autocomplate event will trigger twice.This is the package.lock:
/[email protected](@lezer/[email protected]):
resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==}
dependencies:
'@codemirror/autocomplete': 6.18.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
'@codemirror/commands': 6.6.0
'@codemirror/language': 6.10.2
'@codemirror/lint': 6.8.1
'@codemirror/search': 6.5.6
'@codemirror/state': 6.4.1
'@codemirror/view': 6.30.0
transitivePeerDependencies:
- '@lezer/common'
dev: false
I found the @codemirror package use the @codemirror/autocomplete
, how to disable the @codemirror/autocomplete
? exclude the pakcage and replace using custom modified package rdcodemirror-autocomplete
, is it possible? what should I do to replace it? is it possible to redirect @codemirror/autocomplete
to rdcodemirror-autocomplete
in the whole project?