From 98fb43bc7dd01bf90c4bdcb2ed628ce246a54a46 Mon Sep 17 00:00:00 2001 From: Claas Date: Sat, 20 Apr 2024 16:25:16 +0200 Subject: [PATCH] Add information to help contributors like myfutureself --- CONTRIBUTING | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CONTRIBUTING diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 0000000..896bded --- /dev/null +++ b/CONTRIBUTING @@ -0,0 +1,12 @@ +# Contributing + +## Types but not TypeScript + +Types have to be defined and are enforced but instead of writing TypeScript files we use plain JavaScript with +JSDoc to use types. This allows us to write safe code without needing an additional compilation step. +Tooling like VS Code picks automatically picks up `jsconfig.json` which is equivalent to `tsconfig.json` and helps you +write type safe code. Meaning the code would still pass `tsc` if it were run. + +## Versioning + +Versions are controlled using git tags which get picked up by GitHub actions. No need to manually update `package.json`. -- knotmirror 0.0.1