From 8c5753c757c0a61439f1ac6912d933d4526f367a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 24 Aug 2026 17:01:07 +0000 Subject: [PATCH] Improve README for community install, pack, and contribution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document npm build/pack scripts, date formats from the plugin source, and a short PR contribution note. No feature claims beyond the existing README, manifest, and code. Co-authored-by: Tomás Maritano --- README.md | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c676faa..ab6c0e0 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,34 @@ Under the **Plugins** menu: | Item | Inserts | | --- | --- | -| Insert Date | `2026-08-18` (`Mod+Shift+T`) | -| Insert Timestamp | `2026-08-18 14:30` | -| Insert ISO Timestamp | `2026-08-18T14:30:00.000Z` | +| Insert Date | Local date `YYYY-MM-DD` (`Mod+Shift+T`) | +| Insert Timestamp | Local date and time `YYYY-MM-DD HH:MM` | +| Insert ISO Timestamp | ISO timestamp from `Date.toISOString()` | + +Examples: `2026-08-18`, `2026-08-18 14:30`, `2026-08-18T14:30:00.000Z`. ## Develop +Source is CommonJS (`src/index.js`). The desktop loads `dist/index.js`. + +``` +npm run build # copies src/index.js → dist/index.js +npm run pack # dripnex-plugin pack . +``` + +Same steps by hand: + ``` -# edit src/index.js, then cp src/index.js dist/index.js dripnex-plugin pack . ``` Attach `stamp-0.1.0.tar.gz` to the GitHub release for that tag. + +## Contribute + +Open a pull request. Keep the change small and focused on one fix or one small improvement. + +Edit `src/index.js`, then run `npm run build` so `dist/index.js` stays in sync. + +License: MIT.