Skip to content

Commit

Permalink
reverted husky changes and added recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDemon1000 committed Sep 25, 2024
1 parent f2b124c commit 786acd5
Show file tree
Hide file tree
Showing 11 changed files with 1,876 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"eslint": "8.57.0",
"eslint-plugin-unicorn": "51.0.1",
"fs-extra": "11.2.0",
"husky": "8.0.3",
"husky": "9.1.4",
"image-size": "1.0.2",
"is-ci": "3.0.1",
"open": "10.1.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
1,531 changes: 1,531 additions & 0 deletions recipes/bycs-messenger/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/bycs-messenger/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
10 changes: 10 additions & 0 deletions recipes/bycs-messenger/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "bycs-messenger",
"name": "Bycs-Messenger",
"version": "1.0.0",
"license": "MIT",
"repository": "https://github.com/BlackDemon1000/ferdium-recipes.git",
"config": {
"serviceURL": "https://messenger.bycs.de/#/home"
}
}
16 changes: 16 additions & 0 deletions recipes/bycs-messenger/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Bycs-Messenger service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
286 changes: 286 additions & 0 deletions recipes/sharezone/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/sharezone/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
10 changes: 10 additions & 0 deletions recipes/sharezone/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "sharezone",
"name": "Sharezone",
"version": "1.0.0",
"license": "MIT",
"repository": "https://github.com/BlackDemon1000/ferdium-recipes.git",
"config": {
"serviceURL": "https://web.sharezone.net/"
}
}
16 changes: 16 additions & 0 deletions recipes/sharezone/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Sharezone service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};

0 comments on commit 786acd5

Please sign in to comment.