-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
224 lines (224 loc) · 6.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "sourcegraph",
"title": "Sourcegraph",
"description": "Search your code and public repositories with Sourcegraph.",
"icon": "command-icon.png",
"author": "bobheadxi",
"license": "MIT",
"categories": [
"Developer Tools",
"Productivity",
"Documentation",
"Web"
],
"keywords": [
"sourcegraph",
"search",
"code",
"codesearch",
"code search"
],
"preferences": [
{
"name": "cloudToken",
"title": "Public code on Sourcegraph.com: Access token",
"description": "Configures 'Sourcegraph.com' commands - available under 'Profile' -> 'Access token' on Sourcegraph.com",
"required": false,
"type": "password"
},
{
"name": "customInstance",
"title": "Sourcegraph: URL",
"description": "Required to use 'Sourcegraph' commands - Sourcegraph URL you want to connect to.",
"placeholder": "https://sourcegraph.my-company.com",
"required": false,
"type": "textfield"
},
{
"name": "customInstanceToken",
"title": "Sourcegraph: Access token",
"description": "Required to use 'Sourcegraph' commands - available under 'Profile' -> 'Access token' in Sourcegraph.",
"required": false,
"type": "password"
},
{
"name": "customInstanceProxy",
"title": "Sourcegraph: Proxy",
"description": "Optional proxy to use when using a custom Sourcegraph connection - presently, only Unix domain sockets are supported.",
"required": false,
"type": "textfield"
},
{
"name": "featureSearchPatternDropdown",
"title": "Additional features",
"label": "Search pattern dropdown",
"description": "Toggle the search pattern dropdown in the search command.",
"required": false,
"type": "checkbox",
"default": true
},
{
"name": "featureDisableTelemetry",
"label": "Disable telemetry",
"description": "Telemetry is only reported to the connected Sourcegraph instance, but can be disabled with this toggle.",
"required": false,
"type": "checkbox",
"default": false
}
],
"commands": [
{
"name": "searchDotCom",
"title": "Search Public Code",
"subtitle": "Sourcegraph",
"description": "Search public repositories on Sourcegraph.com",
"mode": "view",
"keywords": [
"sourcegraph",
"search",
"code",
"code search",
"src"
],
"preferences": [
{
"name": "cloudDefaultContext",
"title": "Default search context",
"description": "Default search context to set on all queries",
"placeholder": "global",
"required": false,
"type": "textfield"
}
]
},
{
"name": "searchInstance",
"icon": "logo-bw.png",
"title": "Search Code",
"subtitle": "Sourcegraph",
"description": "Search code on Sourcegraph.",
"mode": "view",
"keywords": [
"sourcegraph",
"search",
"code",
"code search",
"src"
],
"preferences": [
{
"name": "customInstanceDefaultContext",
"title": "Default context",
"description": "Default search context to set on all queries",
"placeholder": "global",
"required": false,
"type": "textfield"
}
]
},
{
"name": "searchHistoryDotCom",
"title": "Search Public Code History",
"subtitle": "Sourcegraph",
"description": "Browse and launch recent code searches.",
"mode": "view",
"keywords": [
"sourcegraph",
"search",
"code",
"search code",
"history",
"recent"
]
},
{
"name": "searchHistoryInstance",
"icon": "logo-bw.png",
"title": "Code Search History",
"subtitle": "Sourcegraph",
"description": "Browse and launch recent code searches.",
"mode": "view",
"keywords": [
"sourcegraph",
"search",
"code",
"search code",
"history",
"recent"
]
},
{
"name": "findNotebooksInstance",
"icon": "logo-bw.png",
"title": "Find Search Notebooks",
"subtitle": "Sourcegraph",
"description": "Browse search notebooks in Sourcegraph.",
"mode": "view",
"keywords": [
"sourcegraph",
"search",
"notebook",
"snb"
],
"preferences": []
},
{
"name": "manageBatchChangesInstance",
"icon": "logo-bw.png",
"title": "Manage Batch Changes",
"subtitle": "Sourcegraph",
"description": "Manage batch changes in Sourcegraph.",
"mode": "view",
"keywords": [
"sourcegraph",
"batch",
"changes",
"bc"
],
"preferences": []
}
],
"dependencies": {
"@apollo/client": "^3.11.10",
"@raycast/api": "^1.86.1",
"@raycast/utils": "^1.18.1",
"@sourcegraph/telemetry": "^0.18.0",
"@types/uuid": "^10.0.0",
"cross-fetch": "^4.0.0",
"eventsource": "^2.0.2",
"graphql": "^16.9.0",
"luxon": "^3.5.0",
"nanoid": "^5.0.9",
"node-fetch": "^3.3.2",
"uuid": "^11.0.3"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/fragment-matcher": "^5.0.2",
"@graphql-codegen/introspection": "^4.0.3",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@types/eventsource": "^1.1.15",
"@types/luxon": "^3.4.2",
"@types/node": "~22.10.1",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"patch-package": "^8.0.0",
"prettier": "^3.4.1",
"typescript": "^5.7.2"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"lint": "ray lint",
"fmt": "ray lint --fix",
"raycast-publish": ".scripts/raycast-publish.sh",
"gql": "graphql-codegen --config graphql-codegen.yml && npm run fmt",
"postinstall": "patch-package"
}
}