From f7d830fff31a1a260d54da3033afc02dbbfd87b3 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Thu, 18 Jul 2024 10:07:35 -0400 Subject: [PATCH] chore: Add meta info to plugin --- release-please-config.json | 4 ++-- src/index.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index 4ce9c79..8ee42ac 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -4,14 +4,14 @@ "packages": { ".": { "release-type": "node", - "release-as": "0.1.0", "pull-request-title-pattern": "chore: release ${version} 🚀", "extra-files": [ { "type": "json", "path": "jsr.json", "jsonpath": "$.version" - } + }, + "src/index.js" ] } } diff --git a/src/index.js b/src/index.js index 9618ba6..26aeff0 100644 --- a/src/index.js +++ b/src/index.js @@ -16,6 +16,10 @@ import noEmptyKeys from "./rules/no-empty-keys.js"; //----------------------------------------------------------------------------- const plugin = { + meta: { + name: "@eslint/json", + version: "0.1.0", // x-release-please-version + }, languages: { json: new JSONLanguage({ mode: "json" }), jsonc: new JSONLanguage({ mode: "jsonc" }),