aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-09-12 22:01:51 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-12 22:06:03 +0530
commit9db43e100a672b6d6932ac68c0fbe503c129138b (patch)
tree4f6a31d25a7345c5d92dbd8b80d30ce7d129944f
parentNew recipe: 'stackoverflow' (#707) (diff)
downloadferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.tar.gz
ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.tar.zst
ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.zip
Added a check to verify that the folder name of the recipe matches the recipe id (#708)
Use the recipe-id as master to rename internal folder names
-rw-r--r--recipes/OVHCloud/LICENSE (renamed from recipes/docker/LICENSE)0
-rw-r--r--recipes/OVHCloud/icon.svg (renamed from recipes/ovh-cloud/icon.svg)0
-rw-r--r--recipes/OVHCloud/index.js (renamed from recipes/ovh-cloud/index.js)0
-rw-r--r--recipes/OVHCloud/package.json (renamed from recipes/ovh-cloud/package.json)0
-rw-r--r--recipes/OVHCloud/service.css (renamed from recipes/docker/service.css)0
-rw-r--r--recipes/OVHCloud/webview.js (renamed from recipes/ovh-cloud/webview.js)0
-rw-r--r--recipes/TickTick/LICENSE (renamed from recipes/ticktick/LICENSE)0
-rw-r--r--recipes/TickTick/icon.svg (renamed from recipes/ticktick/icon.svg)0
-rw-r--r--recipes/TickTick/index.js (renamed from recipes/ticktick/index.js)0
-rw-r--r--recipes/TickTick/package.json (renamed from recipes/ticktick/package.json)0
-rw-r--r--recipes/TickTick/webview.js (renamed from recipes/ticktick/webview.js)0
-rw-r--r--recipes/amazon-work-mail/.gitignore (renamed from recipes/aws-workmail/.gitignore)0
-rw-r--r--recipes/amazon-work-mail/LICENSE (renamed from recipes/aws-workmail/LICENSE)0
-rwxr-xr-xrecipes/amazon-work-mail/icon.svg (renamed from recipes/aws-workmail/icon.svg)0
-rw-r--r--recipes/amazon-work-mail/index.js (renamed from recipes/aws-workmail/index.js)0
-rw-r--r--recipes/amazon-work-mail/package.json (renamed from recipes/aws-workmail/package.json)0
-rw-r--r--recipes/amazon-work-mail/webview.js (renamed from recipes/aws-workmail/webview.js)0
-rw-r--r--recipes/dockerhub/LICENSE (renamed from recipes/line.me/LICENSE)0
-rw-r--r--recipes/dockerhub/icon.svg (renamed from recipes/docker/icon.svg)0
-rw-r--r--recipes/dockerhub/index.js (renamed from recipes/docker/index.js)0
-rw-r--r--recipes/dockerhub/package.json (renamed from recipes/docker/package.json)0
-rw-r--r--recipes/dockerhub/service.css (renamed from recipes/ovh-cloud/service.css)0
-rw-r--r--recipes/dockerhub/webview.js (renamed from recipes/docker/webview.js)0
-rw-r--r--recipes/google-contacts/icon.svg (renamed from recipes/googlecontacts/icon.svg)0
-rw-r--r--recipes/google-contacts/index.js (renamed from recipes/googlecontacts/index.js)0
-rw-r--r--recipes/google-contacts/package.json (renamed from recipes/googlecontacts/package.json)0
-rw-r--r--recipes/google-contacts/webview.js (renamed from recipes/googlecontacts/webview.js)0
-rw-r--r--recipes/google-news/icon.svg (renamed from recipes/googlenews/icon.svg)0
-rw-r--r--recipes/google-news/index.js (renamed from recipes/googlenews/index.js)0
-rw-r--r--recipes/google-news/package.json (renamed from recipes/googlenews/package.json)0
-rw-r--r--recipes/google-news/webview.js (renamed from recipes/googlenews/webview.js)0
-rw-r--r--recipes/kimaicloud/icon.svg (renamed from recipes/kimai-cloud/icon.svg)0
-rw-r--r--recipes/kimaicloud/index.js (renamed from recipes/kimai-cloud/index.js)0
-rw-r--r--recipes/kimaicloud/package.json (renamed from recipes/kimai-cloud/package.json)0
-rw-r--r--recipes/kimaicloud/webview.js (renamed from recipes/kimai-cloud/webview.js)0
-rw-r--r--recipes/line-me/LICENSE (renamed from recipes/ovh-cloud/LICENSE)0
-rw-r--r--recipes/line-me/icon.svg (renamed from recipes/line.me/icon.svg)0
-rw-r--r--recipes/line-me/index.js (renamed from recipes/line.me/index.js)0
-rw-r--r--recipes/line-me/package.json (renamed from recipes/line.me/package.json)0
-rw-r--r--recipes/line-me/webview.js (renamed from recipes/line.me/webview.js)0
-rw-r--r--recipes/paymo/icon.svg (renamed from recipes/paymoapp/icon.svg)0
-rw-r--r--recipes/paymo/index.js (renamed from recipes/paymoapp/index.js)0
-rw-r--r--recipes/paymo/package.json (renamed from recipes/paymoapp/package.json)0
-rw-r--r--recipes/paymo/webview.js (renamed from recipes/paymoapp/webview.js)0
-rw-r--r--recipes/superhuman/LICENSE (renamed from recipes/superhuman-email/LICENSE)0
-rw-r--r--recipes/superhuman/icon.svg (renamed from recipes/superhuman-email/icon.svg)0
-rw-r--r--recipes/superhuman/index.js (renamed from recipes/superhuman-email/index.js)0
-rw-r--r--recipes/superhuman/package.json (renamed from recipes/superhuman-email/package.json)0
-rw-r--r--recipes/superhuman/webview.js (renamed from recipes/superhuman-email/webview.js)0
-rw-r--r--scripts/package.js3
50 files changed, 3 insertions, 0 deletions
diff --git a/recipes/docker/LICENSE b/recipes/OVHCloud/LICENSE
index 99d6f23..99d6f23 100644
--- a/recipes/docker/LICENSE
+++ b/recipes/OVHCloud/LICENSE
diff --git a/recipes/ovh-cloud/icon.svg b/recipes/OVHCloud/icon.svg
index 14b4933..14b4933 100644
--- a/recipes/ovh-cloud/icon.svg
+++ b/recipes/OVHCloud/icon.svg
diff --git a/recipes/ovh-cloud/index.js b/recipes/OVHCloud/index.js
index 99219fe..99219fe 100644
--- a/recipes/ovh-cloud/index.js
+++ b/recipes/OVHCloud/index.js
diff --git a/recipes/ovh-cloud/package.json b/recipes/OVHCloud/package.json
index a853f2d..a853f2d 100644
--- a/recipes/ovh-cloud/package.json
+++ b/recipes/OVHCloud/package.json
diff --git a/recipes/docker/service.css b/recipes/OVHCloud/service.css
index 38dcab0..38dcab0 100644
--- a/recipes/docker/service.css
+++ b/recipes/OVHCloud/service.css
diff --git a/recipes/ovh-cloud/webview.js b/recipes/OVHCloud/webview.js
index ee7d8aa..ee7d8aa 100644
--- a/recipes/ovh-cloud/webview.js
+++ b/recipes/OVHCloud/webview.js
diff --git a/recipes/ticktick/LICENSE b/recipes/TickTick/LICENSE
index b0958eb..b0958eb 100644
--- a/recipes/ticktick/LICENSE
+++ b/recipes/TickTick/LICENSE
diff --git a/recipes/ticktick/icon.svg b/recipes/TickTick/icon.svg
index 2521fe7..2521fe7 100644
--- a/recipes/ticktick/icon.svg
+++ b/recipes/TickTick/icon.svg
diff --git a/recipes/ticktick/index.js b/recipes/TickTick/index.js
index 223ef7e..223ef7e 100644
--- a/recipes/ticktick/index.js
+++ b/recipes/TickTick/index.js
diff --git a/recipes/ticktick/package.json b/recipes/TickTick/package.json
index c7d3b58..c7d3b58 100644
--- a/recipes/ticktick/package.json
+++ b/recipes/TickTick/package.json
diff --git a/recipes/ticktick/webview.js b/recipes/TickTick/webview.js
index 927bb08..927bb08 100644
--- a/recipes/ticktick/webview.js
+++ b/recipes/TickTick/webview.js
diff --git a/recipes/aws-workmail/.gitignore b/recipes/amazon-work-mail/.gitignore
index 63137ec..63137ec 100644
--- a/recipes/aws-workmail/.gitignore
+++ b/recipes/amazon-work-mail/.gitignore
diff --git a/recipes/aws-workmail/LICENSE b/recipes/amazon-work-mail/LICENSE
index 231d35b..231d35b 100644
--- a/recipes/aws-workmail/LICENSE
+++ b/recipes/amazon-work-mail/LICENSE
diff --git a/recipes/aws-workmail/icon.svg b/recipes/amazon-work-mail/icon.svg
index 72a9bfb..72a9bfb 100755
--- a/recipes/aws-workmail/icon.svg
+++ b/recipes/amazon-work-mail/icon.svg
diff --git a/recipes/aws-workmail/index.js b/recipes/amazon-work-mail/index.js
index 23607bd..23607bd 100644
--- a/recipes/aws-workmail/index.js
+++ b/recipes/amazon-work-mail/index.js
diff --git a/recipes/aws-workmail/package.json b/recipes/amazon-work-mail/package.json
index e407dd2..e407dd2 100644
--- a/recipes/aws-workmail/package.json
+++ b/recipes/amazon-work-mail/package.json
diff --git a/recipes/aws-workmail/webview.js b/recipes/amazon-work-mail/webview.js
index 944a15c..944a15c 100644
--- a/recipes/aws-workmail/webview.js
+++ b/recipes/amazon-work-mail/webview.js
diff --git a/recipes/line.me/LICENSE b/recipes/dockerhub/LICENSE
index 99d6f23..99d6f23 100644
--- a/recipes/line.me/LICENSE
+++ b/recipes/dockerhub/LICENSE
diff --git a/recipes/docker/icon.svg b/recipes/dockerhub/icon.svg
index e04cb87..e04cb87 100644
--- a/recipes/docker/icon.svg
+++ b/recipes/dockerhub/icon.svg
diff --git a/recipes/docker/index.js b/recipes/dockerhub/index.js
index 6bff43a..6bff43a 100644
--- a/recipes/docker/index.js
+++ b/recipes/dockerhub/index.js
diff --git a/recipes/docker/package.json b/recipes/dockerhub/package.json
index 6b33abe..6b33abe 100644
--- a/recipes/docker/package.json
+++ b/recipes/dockerhub/package.json
diff --git a/recipes/ovh-cloud/service.css b/recipes/dockerhub/service.css
index 38dcab0..38dcab0 100644
--- a/recipes/ovh-cloud/service.css
+++ b/recipes/dockerhub/service.css
diff --git a/recipes/docker/webview.js b/recipes/dockerhub/webview.js
index 1fd69e8..1fd69e8 100644
--- a/recipes/docker/webview.js
+++ b/recipes/dockerhub/webview.js
diff --git a/recipes/googlecontacts/icon.svg b/recipes/google-contacts/icon.svg
index e5bf72a..e5bf72a 100644
--- a/recipes/googlecontacts/icon.svg
+++ b/recipes/google-contacts/icon.svg
diff --git a/recipes/googlecontacts/index.js b/recipes/google-contacts/index.js
index 23607bd..23607bd 100644
--- a/recipes/googlecontacts/index.js
+++ b/recipes/google-contacts/index.js
diff --git a/recipes/googlecontacts/package.json b/recipes/google-contacts/package.json
index 4f91692..4f91692 100644
--- a/recipes/googlecontacts/package.json
+++ b/recipes/google-contacts/package.json
diff --git a/recipes/googlecontacts/webview.js b/recipes/google-contacts/webview.js
index e69de29..e69de29 100644
--- a/recipes/googlecontacts/webview.js
+++ b/recipes/google-contacts/webview.js
diff --git a/recipes/googlenews/icon.svg b/recipes/google-news/icon.svg
index eab3bdc..eab3bdc 100644
--- a/recipes/googlenews/icon.svg
+++ b/recipes/google-news/icon.svg
diff --git a/recipes/googlenews/index.js b/recipes/google-news/index.js
index 23607bd..23607bd 100644
--- a/recipes/googlenews/index.js
+++ b/recipes/google-news/index.js
diff --git a/recipes/googlenews/package.json b/recipes/google-news/package.json
index 36bbca9..36bbca9 100644
--- a/recipes/googlenews/package.json
+++ b/recipes/google-news/package.json
diff --git a/recipes/googlenews/webview.js b/recipes/google-news/webview.js
index e69de29..e69de29 100644
--- a/recipes/googlenews/webview.js
+++ b/recipes/google-news/webview.js
diff --git a/recipes/kimai-cloud/icon.svg b/recipes/kimaicloud/icon.svg
index 06c87fb..06c87fb 100644
--- a/recipes/kimai-cloud/icon.svg
+++ b/recipes/kimaicloud/icon.svg
diff --git a/recipes/kimai-cloud/index.js b/recipes/kimaicloud/index.js
index 23607bd..23607bd 100644
--- a/recipes/kimai-cloud/index.js
+++ b/recipes/kimaicloud/index.js
diff --git a/recipes/kimai-cloud/package.json b/recipes/kimaicloud/package.json
index f4c1dcf..f4c1dcf 100644
--- a/recipes/kimai-cloud/package.json
+++ b/recipes/kimaicloud/package.json
diff --git a/recipes/kimai-cloud/webview.js b/recipes/kimaicloud/webview.js
index f4e2e9f..f4e2e9f 100644
--- a/recipes/kimai-cloud/webview.js
+++ b/recipes/kimaicloud/webview.js
diff --git a/recipes/ovh-cloud/LICENSE b/recipes/line-me/LICENSE
index 99d6f23..99d6f23 100644
--- a/recipes/ovh-cloud/LICENSE
+++ b/recipes/line-me/LICENSE
diff --git a/recipes/line.me/icon.svg b/recipes/line-me/icon.svg
index 381a62a..381a62a 100644
--- a/recipes/line.me/icon.svg
+++ b/recipes/line-me/icon.svg
diff --git a/recipes/line.me/index.js b/recipes/line-me/index.js
index 3ffa657..3ffa657 100644
--- a/recipes/line.me/index.js
+++ b/recipes/line-me/index.js
diff --git a/recipes/line.me/package.json b/recipes/line-me/package.json
index 6db3351..6db3351 100644
--- a/recipes/line.me/package.json
+++ b/recipes/line-me/package.json
diff --git a/recipes/line.me/webview.js b/recipes/line-me/webview.js
index 7e19dff..7e19dff 100644
--- a/recipes/line.me/webview.js
+++ b/recipes/line-me/webview.js
diff --git a/recipes/paymoapp/icon.svg b/recipes/paymo/icon.svg
index 58199e0..58199e0 100644
--- a/recipes/paymoapp/icon.svg
+++ b/recipes/paymo/icon.svg
diff --git a/recipes/paymoapp/index.js b/recipes/paymo/index.js
index 23607bd..23607bd 100644
--- a/recipes/paymoapp/index.js
+++ b/recipes/paymo/index.js
diff --git a/recipes/paymoapp/package.json b/recipes/paymo/package.json
index 905f8da..905f8da 100644
--- a/recipes/paymoapp/package.json
+++ b/recipes/paymo/package.json
diff --git a/recipes/paymoapp/webview.js b/recipes/paymo/webview.js
index 7e19dff..7e19dff 100644
--- a/recipes/paymoapp/webview.js
+++ b/recipes/paymo/webview.js
diff --git a/recipes/superhuman-email/LICENSE b/recipes/superhuman/LICENSE
index fcf56e2..fcf56e2 100644
--- a/recipes/superhuman-email/LICENSE
+++ b/recipes/superhuman/LICENSE
diff --git a/recipes/superhuman-email/icon.svg b/recipes/superhuman/icon.svg
index faaa17f..faaa17f 100644
--- a/recipes/superhuman-email/icon.svg
+++ b/recipes/superhuman/icon.svg
diff --git a/recipes/superhuman-email/index.js b/recipes/superhuman/index.js
index 44bc55d..44bc55d 100644
--- a/recipes/superhuman-email/index.js
+++ b/recipes/superhuman/index.js
diff --git a/recipes/superhuman-email/package.json b/recipes/superhuman/package.json
index 53509cb..53509cb 100644
--- a/recipes/superhuman-email/package.json
+++ b/recipes/superhuman/package.json
diff --git a/recipes/superhuman-email/webview.js b/recipes/superhuman/webview.js
index 697efa6..697efa6 100644
--- a/recipes/superhuman-email/webview.js
+++ b/recipes/superhuman/webview.js
diff --git a/scripts/package.js b/scripts/package.js
index 236cdff..26580d5 100644
--- a/scripts/package.js
+++ b/scripts/package.js
@@ -102,6 +102,9 @@ const compress = (src, dest) => new Promise((resolve, reject) => {
102 } else if (!/^[a-zA-Z0-9._\-]+$/.test(config.id)) { 102 } else if (!/^[a-zA-Z0-9._\-]+$/.test(config.id)) {
103 configErrors.push("The recipe's package.json defines an invalid recipe ID. Please make sure the 'id' field only contains lowercase letters (a-z), numbers (0-9), hyphens (-), periods (.), and underscores (_)"); 103 configErrors.push("The recipe's package.json defines an invalid recipe ID. Please make sure the 'id' field only contains lowercase letters (a-z), numbers (0-9), hyphens (-), periods (.), and underscores (_)");
104 } 104 }
105 if (config.id !== recipe) {
106 configErrors.push(`The recipe's id (${config.id}) does not match the folder name (${recipe})`);
107 }
105 if (!config.name) { 108 if (!config.name) {
106 configErrors.push("The recipe's package.json contains no 'name' field. This field should contain the name of the service (e.g. 'Google Keep')"); 109 configErrors.push("The recipe's package.json contains no 'name' field. This field should contain the name of the service (e.g. 'Google Keep')");
107 } 110 }