commit 6775863ed3f24ad8ae471f88e84957059fe186db Author: David Rousselie Date: Fri Jan 19 16:49:00 2024 +0100 Initial commit diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..e6258e1 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,4 @@ +{ + "root": true, + "extends": ["@raycast"] +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ff34e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules + +# Raycast specific files +raycast-env.d.ts +.raycast-swift-build +.swiftpm +compiled_raycast_swift + +# misc +.DS_Store diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..b7d51e0 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "printWidth": 120, + "singleQuote": false +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..32cef74 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# Universal Inbox Changelog + +## [Initial Version] - 2024-01-19 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e93443 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Universal Inbox + +Manage Universal Inbox notifications from Raycast \ No newline at end of file diff --git a/assets/command-icon.png b/assets/command-icon.png new file mode 100644 index 0000000..8c158ec Binary files /dev/null and b/assets/command-icon.png differ diff --git a/assets/list-icon.png b/assets/list-icon.png new file mode 100644 index 0000000..5cb0858 Binary files /dev/null and b/assets/list-icon.png differ diff --git a/package.json b/package.json new file mode 100644 index 0000000..8550f50 --- /dev/null +++ b/package.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://www.raycast.com/schemas/extension.json", + "name": "universal-inbox", + "title": "Universal Inbox", + "description": "Manage Universal Inbox notifications from Raycast", + "icon": "command-icon.png", + "author": "david_rousselie", + "owner": "universal-inbox", + "categories": [ + "Applications", + "Productivity" + ], + "license": "MIT", + "commands": [ + { + "name": "index", + "title": "List notifications", + "description": "List Universal Inbox notifications", + "mode": "view" + } + ], + "dependencies": { + "@raycast/api": "^1.65.1" + }, + "devDependencies": { + "@raycast/eslint-config": "^1.0.6", + "@types/node": "20.8.10", + "@types/react": "18.2.27", + "eslint": "^8.51.0", + "prettier": "^3.0.3", + "typescript": "^5.2.2" + }, + "scripts": { + "build": "ray build -e dist", + "dev": "ray develop", + "fix-lint": "ray lint --fix", + "lint": "ray lint", + "publish": "npx @raycast/api@latest publish" + } +} \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx new file mode 100644 index 0000000..7fbbebe --- /dev/null +++ b/src/index.tsx @@ -0,0 +1,17 @@ +import { ActionPanel, Detail, List, Action } from "@raycast/api"; + +export default function Command() { + return ( + + + } /> + + } + /> + + ); +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..abb1580 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "include": ["src/**/*", "raycast-env.d.ts"], + "compilerOptions": { + "lib": ["ES2023"], + "module": "commonjs", + "target": "ES2022", + "strict": true, + "isolatedModules": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react-jsx", + "resolveJsonModule": true + } +}