Contributing
November 4, 2024 ยท View on GitHub
These are some notes about contributing to the project.
Note: To add or remove words in a dictionary, visit cspell-dicts.
Continuous Integration
Code Coverage
NPM
- https://www.npmjs.com/package/cspell
- https://www.npmjs.com/package/cspell-lib
- https://www.npmjs.com/package/cspell-trie-lib
Development
Node JS version 18 or higher is required.
Commands
| Command | Description |
|---|---|
corepack enable | Makes sure the right version of the package manager is running. |
pnpm install | Installs all the dependencies for all packages |
pnpm run build | To compile the typescript into javascript |
pnpm test | Runs the unit tests for all packages |
pnpm ibt | A shortcut to run install / build / test |
pnpm update-test-snapshots | Will build all the packages and run pnpm test -- -u in each package to update the snapshots |
pnpm run check-spelling | Checks the spelling for all sources files |
pnpm run coverage | Generates coverage information for all projects. Open coverage/index.html to view coverage. |