From 4df6936720ec6217a8658878d8765e69b6e20d72 Mon Sep 17 00:00:00 2001 From: Danny Hammer Date: Tue, 9 Jul 2024 11:44:58 -0600 Subject: [PATCH 1/3] feat: added 'moreInfoUrl' and 'supportUrl' to manifest --- README.md | 2 ++ manifest.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index c4b7318..dd8bc91 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ To make the process of customizing from the template as smooth as possible, we r - Replace `paranext-extension-template` with `your-extension-name` (2 occurrences) - Replace the description with your own description - Update ownership information and other relevant fields as desired + - Update the `moreInfoUrl` field to web URL to a page where users can find out more information about you / your organization / your extension. + - Update the `supportUrl` field to web URL to a support page where users can request help and report issues with your extension. - In `package.json`: diff --git a/manifest.json b/manifest.json index 2c9c40b..b79949d 100644 --- a/manifest.json +++ b/manifest.json @@ -5,6 +5,8 @@ "author": "Paranext", "license": "MIT", "main": "src/main.ts", + "moreInfoUrl": "", + "supportUrl": "", "types": "src/types/paranext-extension-template.d.ts", "menus": "contributions/menus.json", "settings": "contributions/settings.json", From ccbf06c8b7a7839e2c0fc83820226774b658e9eb Mon Sep 17 00:00:00 2001 From: Danny Hammer Date: Wed, 10 Jul 2024 12:19:15 -0600 Subject: [PATCH 2/3] refactor: adjusted structure for fields in manifest.json --- README.md | 4 ++-- assets/displayData.json | 2 ++ manifest.json | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd8bc91..2673f8f 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,6 @@ To make the process of customizing from the template as smooth as possible, we r - Replace `paranext-extension-template` with `your-extension-name` (2 occurrences) - Replace the description with your own description - Update ownership information and other relevant fields as desired - - Update the `moreInfoUrl` field to web URL to a page where users can find out more information about you / your organization / your extension. - - Update the `supportUrl` field to web URL to a support page where users can request help and report issues with your extension. - In `package.json`: @@ -46,6 +44,8 @@ To make the process of customizing from the template as smooth as possible, we r - In `assets/displayData.json`: - If your extension has an icon, update the `icon` value to point towards the icon file (for example: `assets/icon.svg`) + - Update the `moreInfoUrl` field to web URL to a page where users can find out more information about you / your organization / your extension. + - Update the `supportUrl` field to web URL to a support page where users can request help and report issues with your extension. - Update the `en` entry of `localizedDisplayInfo` so that: - `displayName` contains a human-readable name for your extension (i.e. `Your Extension Name`). diff --git a/assets/displayData.json b/assets/displayData.json index 8fa745b..d2579e3 100644 --- a/assets/displayData.json +++ b/assets/displayData.json @@ -1,5 +1,7 @@ { "icon": "", + "moreInfoUrl": "", + "supportUrl": "", "localizedDisplayInfo": { "en": { "displayName": "Paranext Extension Template", diff --git a/manifest.json b/manifest.json index b79949d..15a9c73 100644 --- a/manifest.json +++ b/manifest.json @@ -5,8 +5,8 @@ "author": "Paranext", "license": "MIT", "main": "src/main.ts", - "moreInfoUrl": "", - "supportUrl": "", + "extensionDependencies": {}, + "elevatedPrivileges": {}, "types": "src/types/paranext-extension-template.d.ts", "menus": "contributions/menus.json", "settings": "contributions/settings.json", From 8076b16241d475e36577e8643717c8ac2af2c3be Mon Sep 17 00:00:00 2001 From: Danny Hammer Date: Thu, 11 Jul 2024 07:51:22 -0600 Subject: [PATCH 3/3] fix: changed elevatedPrivileges to an array --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 15a9c73..5db7442 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "license": "MIT", "main": "src/main.ts", "extensionDependencies": {}, - "elevatedPrivileges": {}, + "elevatedPrivileges": [], "types": "src/types/paranext-extension-template.d.ts", "menus": "contributions/menus.json", "settings": "contributions/settings.json",