187 lines
4.8 KiB
JSON
187 lines
4.8 KiB
JSON
|
{
|
||
|
"$schema": "https://www.raycast.com/schemas/extension.json",
|
||
|
"name": "gitlab",
|
||
|
"title": "GitLab",
|
||
|
"version": "1.1.0",
|
||
|
"author": "tonka3000",
|
||
|
"license": "MIT",
|
||
|
"description": "Create, search and modify issues, manage merge requests, projects and more.",
|
||
|
"icon": "gitlab.png",
|
||
|
"commands": [
|
||
|
{
|
||
|
"name": "issue_my",
|
||
|
"title": "My Open Issues",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "My GitLab Issues",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "issue_search",
|
||
|
"title": "Search Issues",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Search GitLab Issues",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "issue_create",
|
||
|
"title": "Create Issue",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Create GitLab Issue",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "mr_my",
|
||
|
"title": "My Merge Requests",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "You GitLab Merge Requests",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "mr_search",
|
||
|
"title": "Search Merge Requests",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Search Merge Requests",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "mr_create",
|
||
|
"title": "Create Merge Request",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Create GitLab Merge Request",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "user_search",
|
||
|
"title": "Search User",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Search GitLab user",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "todos",
|
||
|
"title": "My Todos",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "My GitLab Todos",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "reviews",
|
||
|
"title": "My Reviews",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "My GitLab Reviews",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "project_search",
|
||
|
"title": "Search Project",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Search GitLab Project",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "project_starred",
|
||
|
"title": "My Starred Projects",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Starred GitLab Projects",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "project_my",
|
||
|
"title": "My Projects",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "My GitLab Projects",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "group_my",
|
||
|
"title": "My Groups",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "GitLab Groups",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "epics",
|
||
|
"title": "Epics",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "GitLab Epics",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "epic_search",
|
||
|
"title": "Search Epics",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Search GitLab Epics",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "event_my",
|
||
|
"title": "My Recent Activities",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Recent GitLab Activities",
|
||
|
"mode": "view"
|
||
|
},
|
||
|
{
|
||
|
"name": "status",
|
||
|
"title": "Set Status",
|
||
|
"subtitle": "GitLab",
|
||
|
"description": "Managed My GitLab Status",
|
||
|
"mode": "view"
|
||
|
}
|
||
|
],
|
||
|
"preferences": [
|
||
|
{
|
||
|
"name": "instance",
|
||
|
"type": "textfield",
|
||
|
"required": true,
|
||
|
"title": "GitLab URL",
|
||
|
"description": "URL of your GitLab instance",
|
||
|
"placeholder": "URL of your GitLab instance e.g. https://gitlab.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "token",
|
||
|
"type": "password",
|
||
|
"required": true,
|
||
|
"title": "API Token",
|
||
|
"description": "Your GitLab API token. `api` scope for read and write operations, `read_api` when you just want to read only commands.",
|
||
|
"link": "https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html",
|
||
|
"placeholder": "Enter your GitLab API token."
|
||
|
},
|
||
|
{
|
||
|
"name" : "cirefreshinterval",
|
||
|
"type" :"textfield",
|
||
|
"required": false,
|
||
|
"default": "10",
|
||
|
"title": "CI Auto Refresh Interval (sec)",
|
||
|
"description": "Refresh interval in seconds for CI Pipeline/Job lists. Values between 1-9 are not recommended. 0 mean no auto refresh at all",
|
||
|
"placeholder": "10"
|
||
|
}
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"@apollo/client": "^3.4.8",
|
||
|
"@raycast/api": "^1.26.0",
|
||
|
"apollo-link-context": "^1.0.20",
|
||
|
"fuse.js": "^6.4.6",
|
||
|
"graphql": "^15.5.1",
|
||
|
"javascript-time-ago": "^2.3.10",
|
||
|
"node-fetch": "^2.6.1",
|
||
|
"open": "^8.2.1",
|
||
|
"use-interval": "^1.4.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/node": "^16.4.3",
|
||
|
"@types/node-emoji": "^1.8.1",
|
||
|
"@types/node-fetch": "^2.5.12",
|
||
|
"@types/open": "^6.2.1",
|
||
|
"@types/react": "^17.0.20",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.28.5",
|
||
|
"@typescript-eslint/parser": "^4.28.5",
|
||
|
"eslint": "^7.31.0",
|
||
|
"eslint-config-prettier": "^8.3.0",
|
||
|
"typescript": "^4.3.5"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"dev": "ray develop",
|
||
|
"build": "ray build -e dist"
|
||
|
}
|
||
|
}
|