diff options
-rw-r--r-- | all.json | 23 | ||||
-rw-r--r-- | docs/configuration.md | 3 | ||||
-rw-r--r-- | recipes/element/package.json | 6 | ||||
-rw-r--r-- | recipes/googlecalendar/package.json | 6 | ||||
-rw-r--r-- | recipes/hangoutschat/package.json | 6 | ||||
-rw-r--r-- | recipes/msteams/package.json | 5 | ||||
-rw-r--r-- | scripts/package.js | 3 |
7 files changed, 43 insertions, 9 deletions
@@ -246,7 +246,11 @@ | |||
246 | "featured": false, | 246 | "featured": false, |
247 | "id": "element", | 247 | "id": "element", |
248 | "name": "Element", | 248 | "name": "Element", |
249 | "version": "1.0.5", | 249 | "version": "1.0.6", |
250 | "aliases": [ | ||
251 | "Riot.im", | ||
252 | "Matrix" | ||
253 | ], | ||
250 | "icons": { | 254 | "icons": { |
251 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/element/icon.svg" | 255 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/element/icon.svg" |
252 | } | 256 | } |
@@ -453,7 +457,11 @@ | |||
453 | "featured": false, | 457 | "featured": false, |
454 | "id": "googlecalendar", | 458 | "id": "googlecalendar", |
455 | "name": "Google Calendar", | 459 | "name": "Google Calendar", |
456 | "version": "2.1.0", | 460 | "version": "2.1.1", |
461 | "aliases": [ | ||
462 | "google-calendar", | ||
463 | "gCalendar" | ||
464 | ], | ||
457 | "icons": { | 465 | "icons": { |
458 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/googlecalendar/icon.svg" | 466 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/googlecalendar/icon.svg" |
459 | } | 467 | } |
@@ -570,7 +578,11 @@ | |||
570 | "featured": false, | 578 | "featured": false, |
571 | "id": "hangoutschat", | 579 | "id": "hangoutschat", |
572 | "name": "Hangouts Chat", | 580 | "name": "Hangouts Chat", |
573 | "version": "1.4.3", | 581 | "version": "1.4.4", |
582 | "aliases": [ | ||
583 | "google-chat", | ||
584 | "gChat" | ||
585 | ], | ||
574 | "icons": { | 586 | "icons": { |
575 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/hangoutschat/icon.svg" | 587 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/hangoutschat/icon.svg" |
576 | } | 588 | } |
@@ -822,7 +834,10 @@ | |||
822 | "featured": false, | 834 | "featured": false, |
823 | "id": "msteams", | 835 | "id": "msteams", |
824 | "name": "Microsoft Teams", | 836 | "name": "Microsoft Teams", |
825 | "version": "3.0.1", | 837 | "version": "3.0.2", |
838 | "aliases": [ | ||
839 | "teamsChat" | ||
840 | ], | ||
826 | "icons": { | 841 | "icons": { |
827 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/msteams/icon.svg" | 842 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/msteams/icon.svg" |
828 | } | 843 | } |
diff --git a/docs/configuration.md b/docs/configuration.md index 532a1f7..fa5d4d9 100644 --- a/docs/configuration.md +++ b/docs/configuration.md | |||
@@ -29,6 +29,9 @@ The license of the integration. We prefer MIT, but here is a list of all the ava | |||
29 | `string` **repository**<br /> | 29 | `string` **repository**<br /> |
30 | Link to your Github, Gitlab or Bitbucket public repository. Not used in the application, but is very helpful if we need to log bugs or update to newer versions, etc. | 30 | Link to your Github, Gitlab or Bitbucket public repository. Not used in the application, but is very helpful if we need to log bugs or update to newer versions, etc. |
31 | 31 | ||
32 | `array[string]` **aliases**<br /> | ||
33 | The list of alternate names that this recipe can be called | ||
34 | |||
32 | `object` **config** _mandatory_<br /> | 35 | `object` **config** _mandatory_<br /> |
33 | This is the Ferdi-specific integration config. | 36 | This is the Ferdi-specific integration config. |
34 | 37 | ||
diff --git a/recipes/element/package.json b/recipes/element/package.json index 2a8ad5a..5e155ae 100644 --- a/recipes/element/package.json +++ b/recipes/element/package.json | |||
@@ -1,8 +1,12 @@ | |||
1 | { | 1 | { |
2 | "id": "element", | 2 | "id": "element", |
3 | "name": "Element", | 3 | "name": "Element", |
4 | "version": "1.0.5", | 4 | "version": "1.0.6", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | ||
7 | "Riot.im", | ||
8 | "Matrix" | ||
9 | ], | ||
6 | "config": { | 10 | "config": { |
7 | "serviceURL": "https://app.element.io", | 11 | "serviceURL": "https://app.element.io", |
8 | "hasCustomUrl": true, | 12 | "hasCustomUrl": true, |
diff --git a/recipes/googlecalendar/package.json b/recipes/googlecalendar/package.json index b9a5b4a..6d097bb 100644 --- a/recipes/googlecalendar/package.json +++ b/recipes/googlecalendar/package.json | |||
@@ -1,8 +1,12 @@ | |||
1 | { | 1 | { |
2 | "id": "googlecalendar", | 2 | "id": "googlecalendar", |
3 | "name": "Google Calendar", | 3 | "name": "Google Calendar", |
4 | "version": "2.1.0", | 4 | "version": "2.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | ||
7 | "google-calendar", | ||
8 | "gCalendar" | ||
9 | ], | ||
6 | "config": { | 10 | "config": { |
7 | "serviceURL": "https://calendar.google.com/calendar", | 11 | "serviceURL": "https://calendar.google.com/calendar", |
8 | "hasCustomUrl": true, | 12 | "hasCustomUrl": true, |
diff --git a/recipes/hangoutschat/package.json b/recipes/hangoutschat/package.json index 76cc971..2d8b562 100644 --- a/recipes/hangoutschat/package.json +++ b/recipes/hangoutschat/package.json | |||
@@ -1,8 +1,12 @@ | |||
1 | { | 1 | { |
2 | "id": "hangoutschat", | 2 | "id": "hangoutschat", |
3 | "name": "Hangouts Chat", | 3 | "name": "Hangouts Chat", |
4 | "version": "1.4.3", | 4 | "version": "1.4.4", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | ||
7 | "google-chat", | ||
8 | "gChat" | ||
9 | ], | ||
6 | "config": { | 10 | "config": { |
7 | "serviceURL": "https://chat.google.com", | 11 | "serviceURL": "https://chat.google.com", |
8 | "hasNotificationSound": true, | 12 | "hasNotificationSound": true, |
diff --git a/recipes/msteams/package.json b/recipes/msteams/package.json index c600036..7ddfcaa 100644 --- a/recipes/msteams/package.json +++ b/recipes/msteams/package.json | |||
@@ -1,8 +1,11 @@ | |||
1 | { | 1 | { |
2 | "id": "msteams", | 2 | "id": "msteams", |
3 | "name": "Microsoft Teams", | 3 | "name": "Microsoft Teams", |
4 | "version": "3.0.1", | 4 | "version": "3.0.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | ||
7 | "teamsChat" | ||
8 | ], | ||
6 | "config": { | 9 | "config": { |
7 | "serviceURL": "https://teams.microsoft.com", | 10 | "serviceURL": "https://teams.microsoft.com", |
8 | "hasNotificationSound": true, | 11 | "hasNotificationSound": true, |
diff --git a/scripts/package.js b/scripts/package.js index 8410247..236cdff 100644 --- a/scripts/package.js +++ b/scripts/package.js | |||
@@ -119,7 +119,7 @@ const compress = (src, dest) => new Promise((resolve, reject) => { | |||
119 | } | 119 | } |
120 | }); | 120 | }); |
121 | 121 | ||
122 | const knownTopLevelKeys = ['id', 'name', 'version', 'license', 'repository', 'config']; | 122 | const knownTopLevelKeys = ['id', 'name', 'version', 'license', 'repository', 'aliases', 'config']; |
123 | const unrecognizedKeys = topLevelKeys.filter(x => !knownTopLevelKeys.includes(x)); | 123 | const unrecognizedKeys = topLevelKeys.filter(x => !knownTopLevelKeys.includes(x)); |
124 | if (unrecognizedKeys.length > 0) { | 124 | if (unrecognizedKeys.length > 0) { |
125 | configErrors.push(`The recipe's package.json contains the following keys that are not recognized: ${unrecognizedKeys}`); | 125 | configErrors.push(`The recipe's package.json contains the following keys that are not recognized: ${unrecognizedKeys}`); |
@@ -189,6 +189,7 @@ const compress = (src, dest) => new Promise((resolve, reject) => { | |||
189 | "id": config.id, | 189 | "id": config.id, |
190 | "name": config.name, | 190 | "name": config.name, |
191 | "version": config.version, | 191 | "version": config.version, |
192 | "aliases": config.aliases, | ||
192 | "icons": { | 193 | "icons": { |
193 | "svg": `${repo}${config.id}/icon.svg`, | 194 | "svg": `${repo}${config.id}/icon.svg`, |
194 | }, | 195 | }, |