Typescript not resolving types
When importing @editorjs/paragraph in a typescript project with modern settings (package.json type=module, tsconfig moduleResolution=bundler), it does not resolve the typings for Paragraph.
I get error TS7016: Could not find a declaration file for module @editorjs/paragraph.
Further it says: There are types at node_modules/@editorjs/paragraph/dist/index.d.ts, but this result could not be resolved when respecting package.json exports. The @editorjs/paragraph library may need to update its package.json or typings.
More explanations and solution at this site: https://www.kravchyk.com/typescript-npm-package-json-exports/
One can also check the package here: https://arethetypeswrong.github.io/?p=%40editorjs%2Fparagraph%402.11.6
same issue
I had also updated recently from "vite": "4.3.4" to "^4.5.3", "vue-tsc": "^1.8.11" to "vue-tsc": "^2.1.4", because of npm vulnerabilities, and I made "audit fix --force" and after that, it broke down.
UPD: I found the issue - it conflicts with another package "Vee-validate" ^4.13.2, it updates package-lock.json, so it led to console errors with "Module Tools was skipped because of RangeError: Maximum call stack size exceeded" "Tool «paragraph» is not found. Check 'tools' property at the Editor.js config."
UPD2: Vee-validate updates some vue packages as minimal versions to use, and it had broke behavior or provide/inject and their initialization in component
They're not being exported from the package.json