From b7d744ca11c2ad32439d65c9fccc180babe79734 Mon Sep 17 00:00:00 2001 From: SerVB Date: Tue, 14 Apr 2020 15:54:39 +0300 Subject: [PATCH 1/2] Make contributors.md clearer --- docs/contributors.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributors.md b/docs/contributors.md index 0f2cfca..ed9bba1 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -16,11 +16,11 @@ If you're developing locally, you can run ``` npm install tsc -ncc build +ncc build src/setup-python.ts ``` Any files generated using `tsc` will be added to `lib/`, however those files also are not uploaded to the repository and are exluded using `.gitignore`. -During the commit step, Husky will take care of formatting all files with [Prettier](https://github.com/prettier/prettier) +During the commit step, Husky will take care of formatting all files with [Prettier](https://github.com/prettier/prettier) (to run manually, use `prettier --write **/*.ts`). ### Testing From c881de7f35545c5e2a578711dc3390194e79ee98 Mon Sep 17 00:00:00 2001 From: Sergei Bulgakov Date: Thu, 16 Apr 2020 22:30:26 +0300 Subject: [PATCH 2/2] Use shorter command Co-Authored-By: Konrad Pabjan --- docs/contributors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributors.md b/docs/contributors.md index ed9bba1..e6f6123 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -20,7 +20,7 @@ ncc build src/setup-python.ts ``` Any files generated using `tsc` will be added to `lib/`, however those files also are not uploaded to the repository and are exluded using `.gitignore`. -During the commit step, Husky will take care of formatting all files with [Prettier](https://github.com/prettier/prettier) (to run manually, use `prettier --write **/*.ts`). +During the commit step, Husky will take care of formatting all files with [Prettier](https://github.com/prettier/prettier) (to run manually, use `npm run format`). ### Testing