You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pinned Watchdog version leads to problems when updating #376
In the published package on the npm, we pin a specific version of Watchdog which leads to problems when someone is using a different version of the editor or wants to update.
package.json on npm:
React on the other hand specifies Watchdog as a peer dependency: .
Not sure what's the best approach to solve this but it's a major issue for some integrators.
We agreed to define core, engine, utils, and watchdog packages as peer dependencies.
They all are needed when an integrator installs the <CKEditor> component and tries to build a custom app.
Example: tsc needs to resolve import type { GetEventInfo } from '@ckeditor/ckeditor5-utils';, so the utils package must be installed too.
We require at least version 37 or higher (>=37.0.0). 37 is the first number that offers typings.
It's a breaking change.
Update the Angular guide. We should mention that peer dependencies should be installed in the same version like the editor build that integrator wants to use.
Activity
Reinmar commentedon Jun 22, 2023
We also planned to expose Watchdog on the Editor class to completely avoid this additional dependency.
Some internal notes where we discussed this:
Editorexpose thesepomek commentedon Jun 29, 2023
Scope
<CKEditor>component and tries to build a custom app.tscneeds to resolveimport type { GetEventInfo } from '@ckeditor/ckeditor5-utils';, so the utils package must be installed too.>=37.0.0). 37 is the first number that offers typings.Merge pull request #378 from ckeditor/i/376
Merge pull request #14549 from ckeditor/ckeditor5-angular/376