Setup CKEditor development environment in Manjaro Linux
◆ 目次
テスト
yarn run test
ref: https://ckeditor.com/docs/ckeditor5/latest/framework/contributing/development-environment.html
ref: Error on yarn install without detailed log
CHROME_BIN を設定する必要があるらしい
$ sudo pacman -S chromium$ CHROME_BIN=$(which chromium) yarn run test --watch --coverage --source-map --files=engineコミット
ckeditor5 には pre-commit の lint がある。
yarn run check-dependencies でエラーになっていた。
https://github.com/ckeditor/ckeditor5/blob/36453ab84b14f3115edf3c3e179e567b4dc6d79e/package.json#L209
このコードを読んだ。
ディレクトリのパスを扱う処理のなかに、"src" という文字列を見ているものがあった。
ghq の root を ~/go/src にしているので、手元のディレクトリ構成のせいで誤検出されているのだろうと考えた。
推測は当たっていた。~/go/src を ~/go/projects に変えたら、スクリプトはエラーを返さなくなった。
手動で実行
こんな感じ
$ yarn run manual --files mention参考
https://ckeditor.com/d{ocs/ckeditor5/latest/framework/contributing/contributing.html
Development environment | CKEditor 5 Framework DocumentationLearn to install and configure CKEditor 5. Work with the CKEditor 5 Framework, customize it, create plugins, and custom editors. Includes API reference.ckeditor.com

Code style | CKEditor 5 Framework DocumentationLearn to install and configure CKEditor 5. Work with the CKEditor 5 Framework, customize it, create plugins, and custom editors. Includes API reference.ckeditor.com
