Analyzing CodeMirror V6 Development Environment Setup Script
CodeMirror v6 dev env setup script processes CLI args in start() function, accessing command via process.argv[2] and executing corresponding cmdFn with apply()
In this article, we analyse how the CodeMirror v6 development environment setup script processes CLI arguments. This function is used in setting up development environment for Codemirror v6 as mentioned in their repository. CodeMirror does not use Monorepo setup, instead it clones the packages that are repositories on their own as part of install command. Wait what install command? In the CodeMirror v6 repository, README.md has this below information about setting up the dev env. CodeMirror Readme: This is the central repository for CodeMirror. It holds the bug tracker and development...