-
Install
pnpm
globally:npm install --global pnpm
pnpm install
pnpm -r build
To run tests use:
pnpm run jest
If updating CKEditor 5, it is best done in three steps:
pnpm update:latest:third-party
pnpm update:latest:ckeditor5-dev
pnpm update:latest:ckeditor5
The first one will trigger an update of all other third-party packages.
The second one will trigger an update of the CKEditor 5 Development Tooling.
The third one will perform the update of the main CKEditor 5 packages.
Peer Dependencies: Note, that pnpm update
will not update the
peerDependencies
. This has to be done in a manual adjustment afterwards.
-
Remove node_modules:
In case of problems, you may want to try to remove all
node_modules
folders and re-install artifacts again viapnpm install
. Removingnode_modules
can be triggered by:pnpm clean:node_modules