aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/google-keep
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-07-26 06:29:03 -0600
committerLibravatar GitHub <noreply@github.com>2023-07-26 17:59:03 +0530
commit9b8f01716774a960073e944823ab727cc867a8f6 (patch)
tree732b83770baa78f5cf12776aaa33ce65bebfa418 /recipes/google-keep
parentAdd Excalidraw recipe (#393) (diff)
downloadferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.tar.gz
ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.tar.zst
ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.zip
chore: improve lint setup (#397)
- update eslint config to closely mirror the ones from ferdium-app - add .eslintignore - opt in to eslint `reportUnusedDisableDirectives` config option - remove `trailingComma: all` from `prettier` config which is default in `prettier` v3 - autofix or disable a lot of lint issues throughout codebase - add `volta` configuration to `package.json` to autoload correct `node` and `pnpm` versions - upgrade all `eslint` and `prettier` related dependencies to latest - update lint:fix npm script - reformat touched files with prettier - bumped up minor version for all recipes that have changes - introduced injection of 'service.css' where it was missing in many recipes --------- Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/google-keep')
-rw-r--r--recipes/google-keep/LICENSE7
-rw-r--r--recipes/google-keep/icon.svg1
-rw-r--r--recipes/google-keep/index.js1
-rw-r--r--recipes/google-keep/package.json9
-rw-r--r--recipes/google-keep/webview.js16
5 files changed, 34 insertions, 0 deletions
diff --git a/recipes/google-keep/LICENSE b/recipes/google-keep/LICENSE
new file mode 100644
index 0000000..8d55d49
--- /dev/null
+++ b/recipes/google-keep/LICENSE
@@ -0,0 +1,7 @@
1Copyright 2017 SiloCityLabs LLC
2
3Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
5The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
7THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file
diff --git a/recipes/google-keep/icon.svg b/recipes/google-keep/icon.svg
new file mode 100644
index 0000000..20c040f
--- /dev/null
+++ b/recipes/google-keep/icon.svg
@@ -0,0 +1 @@
<svg height="528" viewBox="0 0 48 48" width="528" xmlns="http://www.w3.org/2000/svg"><path d="M9 42h23l10-10V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3z" fill="#ffc107"/><path d="M32 42V32h10z" fill="#ffecb3"/><path d="M32 20a8 8 0 0 0-16 0 8.002 8.002 0 0 0 5 7.414V35h6v-7.586A8.002 8.002 0 0 0 32 20z" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2"/><path d="M22 35h4v3h-4z" fill="#fff"/><path d="M21 31h6" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/recipes/google-keep/index.js b/recipes/google-keep/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/google-keep/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/google-keep/package.json b/recipes/google-keep/package.json
new file mode 100644
index 0000000..97aaa7c
--- /dev/null
+++ b/recipes/google-keep/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "google-keep",
3 "name": "Google Keep",
4 "version": "1.4.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://keep.google.com/u/0/"
8 }
9}
diff --git a/recipes/google-keep/webview.js b/recipes/google-keep/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/google-keep/webview.js
@@ -0,0 +1,16 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => {
8 // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
9 // const getMessages = () => {
10 // // TODO: Insert your notification-finding code here
11 // Ferdium.setBadge(0, 0);
12 // };
13 // Ferdium.loop(getMessages);
14
15 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
16};