From a4e098dc1d68c34db596c6b14696274fdc0dcbaa Mon Sep 17 00:00:00 2001 From: NewtTheWolf Date: Mon, 27 Jul 2026 21:19:12 +0200 Subject: [PATCH] feat: migrate to the .tabularium manifest for the Tabularium registry --- .github/workflows/release.yml | 6 ++++-- manifest.json => .tabularium | 21 ++++++++++++++++++--- README.md | 2 +- sync.sh | 2 +- 4 files changed, 24 insertions(+), 7 deletions(-) rename manifest.json => .tabularium (56%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a496a58..532b99d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,12 @@ jobs: - name: Build zip run: | chmod +x plugin.py - zip tabularis-csv-plugin.zip plugin.py manifest.json + zip tabularis-csv-plugin.zip plugin.py .tabularium - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: - files: tabularis-csv-plugin.zip + files: | + tabularis-csv-plugin.zip + .tabularium generate_release_notes: true diff --git a/manifest.json b/.tabularium similarity index 56% rename from manifest.json rename to .tabularium index 7f30cad..7754000 100644 --- a/manifest.json +++ b/.tabularium @@ -16,8 +16,23 @@ "alter_primary_key": false }, "data_types": [ - { "name": "TEXT", "category": "string", "requires_length": false, "requires_precision": false }, - { "name": "INTEGER", "category": "numeric", "requires_length": false, "requires_precision": false }, - { "name": "REAL", "category": "numeric", "requires_length": false, "requires_precision": false } + { + "name": "TEXT", + "category": "string", + "requires_length": false, + "requires_precision": false + }, + { + "name": "INTEGER", + "category": "numeric", + "requires_length": false, + "requires_precision": false + }, + { + "name": "REAL", + "category": "numeric", + "requires_length": false, + "requires_precision": false + } ] } diff --git a/README.md b/README.md index e207508..f9d053f 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Open **Settings → Available Plugins** in Tabularis and install **CSV Folder** 1. Download the latest `csv-plugin.zip` from the [Releases page](https://github.com/debba/tabularis-csv-plugin/releases). 2. Extract the archive. -3. Copy `plugin.py` and `manifest.json` into the Tabularis plugins directory: +3. Copy `plugin.py` and `.tabularium` into the Tabularis plugins directory: | OS | Plugins Directory | |---|---| diff --git a/sync.sh b/sync.sh index 3e79b4e..d0392fe 100755 --- a/sync.sh +++ b/sync.sh @@ -24,7 +24,7 @@ esac DEST="$PLUGINS_DIR/$PLUGIN_ID" mkdir -p "$DEST" -cp plugin.py manifest.json "$DEST/" +cp plugin.py .tabularium "$DEST/" chmod +x "$DEST/plugin.py" echo "Installed to: $DEST"