This project is developed in TypeScript. TypeScript isn't directly supported by Atom, so it requires transpilation into JavaScript. Atom packages are just git tags, so transpiled sources have to be included into version control.
Consequently, please avoid editing files in lib/ directly, since
those are generated and your changes will be gone after the next build.
Also see the Atom contributing guide
Is rather simple. Here are 10 steps to get you running:
- Fork the repo
- Clone your fork
- Run
npm install --only=devin addition toapm installin the root of the working copy. Optionallyapm linkif you want to test your changes in Atom. - Hack on it using your favorite TypeScript package. There are a couple packages in Atom to select from:
- Prettify the code by running
npm run prettier - Transpile to JavaScript by running
npm run build - Run static checks with
npm run test(this will run typecheck and linter, and check if formatting is OK) - Run dynamic test-suite with
apm test - Commit your changes. Don't forget to commit transpiled source in
lib/. Repeat steps 4-9 until satisfied. - Create a pull request.
Note: feel free to create pull requests at any stage of the process. Earlier is usually better. For one, creating PRs early is a good way of letting people know you're working on something, which helps avoid effort duplication. Also it will allow maintainers to chime in early and help you avoid pitfalls and common mistakes.