Initial commit
This commit is contained in:
4
.eslintrc.json
Normal file
4
.eslintrc.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"root": true,
|
||||||
|
"extends": ["@raycast"]
|
||||||
|
}
|
||||||
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
@@ -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
|
||||||
4
.prettierrc
Normal file
4
.prettierrc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"printWidth": 120,
|
||||||
|
"singleQuote": false
|
||||||
|
}
|
||||||
3
CHANGELOG.md
Normal file
3
CHANGELOG.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Universal Inbox Changelog
|
||||||
|
|
||||||
|
## [Initial Version] - 2024-01-19
|
||||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Universal Inbox
|
||||||
|
|
||||||
|
Manage Universal Inbox notifications from Raycast
|
||||||
BIN
assets/command-icon.png
Normal file
BIN
assets/command-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
assets/list-icon.png
Normal file
BIN
assets/list-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
40
package.json
Normal file
40
package.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
17
src/index.tsx
Normal file
17
src/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import { ActionPanel, Detail, List, Action } from "@raycast/api";
|
||||||
|
|
||||||
|
export default function Command() {
|
||||||
|
return (
|
||||||
|
<List>
|
||||||
|
<List.Item
|
||||||
|
icon="list-icon.png"
|
||||||
|
title="Greeting"
|
||||||
|
actions={
|
||||||
|
<ActionPanel>
|
||||||
|
<Action.Push title="Show Details" target={<Detail markdown="# Hey! 👋" />} />
|
||||||
|
</ActionPanel>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</List>
|
||||||
|
);
|
||||||
|
}
|
||||||
16
tsconfig.json
Normal file
16
tsconfig.json
Normal file
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user