-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add base code for math plugin
- Loading branch information
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @rokii-plugins/math | ||
|
||
> Do math operations quickly from Rokii | ||
## Related | ||
|
||
This plugin was migrated from the original Cerebro | ||
plugin [cerebro-math](https://github.com/cerebroapp/plugins/tree/main/cerebro-math) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "@rokii-plugins/math", | ||
"version": "0.1.0", | ||
"description": "Do quick math operations on Rokii", | ||
"main": "dist/index.js", | ||
"author": "David Jiménez <[email protected]> (https://dubis.dev)", | ||
"repository": "https://github.com/rokiiapp/extensions", | ||
"type": "module", | ||
"license": "MIT", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"start": "rokii-build dev", | ||
"build": "rokii-build build", | ||
"prepublish": "pnpm build" | ||
}, | ||
"dependencies": { | ||
"@rokii/api": "*", | ||
"@tauri-apps/api": "*" | ||
}, | ||
"devDependencies": { | ||
"@rokii/build": "*" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { ExtensionModule } from '@rokii/api'; | ||
|
||
const run: ExtensionModule['run'] = async () => { | ||
|
||
}; | ||
|
||
const MathExtension: ExtensionModule = { | ||
name: 'Math', | ||
run, | ||
icon: '' | ||
}; | ||
|
||
export default MathExtension; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"include": [ | ||
"src" | ||
], | ||
"compilerOptions": { | ||
"moduleResolution": "Bundler", | ||
"target": "ESNext", | ||
"module": "ESNext", | ||
"esModuleInterop": true, | ||
"baseUrl": "src", | ||
"strict": true, | ||
"noImplicitAny": false | ||
} | ||
} |