From dec0c486423bd1dc2a070fe8e176a9adb46a45cd Mon Sep 17 00:00:00 2001 From: Crouton Alpha audit Date: Thu, 5 Nov 2026 07:53:49 +0200 Subject: [PATCH 1/2] docs: add MIT licence --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f39e076 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Buttercode Systems + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 8c7e8581a1d3398d4e9e7ab563af5049aa89a0c8 Mon Sep 17 00:00:00 2001 From: Crouton Alpha audit Date: Thu, 5 Nov 2026 09:14:06 +0200 Subject: [PATCH 2/2] docs: clarify dist/ is hand-maintained source, not build output --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 9c0e72c..38ff1e0 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,13 @@ The complete application is now present in [buttercode101/InvoiceFlow](https://g - [Contributing](CONTRIBUTING.md) ยท [Security reporting](SECURITY.md) Current source version: **0.4.0**. Tax fields are aids, not SARS verification or tax advice. + +## Source layout note + +`dist/` is the deployable source tree, not generated build output: there is +no bundler or build step. `dist/core.js` (domain logic, imported directly by +`tests/`), `dist/app.js` (UI) and `dist/pdf.js` are hand-maintained ES +modules served as-is by any static host and copied verbatim into the Android +assets by `android/prepare.mjs`. `src/lib/validation.js` is the only file +outside `dist/` (used by the vitest UI tests). If you add a build step later, +update `tests/` imports, `sw.js` precache and `android/prepare.mjs` together.