feat: Add base Extension interface to GQL schema
#50
Annotations
6 errors and 2 warnings
|
check
Process completed with exit code 1.
|
|
tests
Process completed with exit code 1.
|
|
error: expect(received).toEqual(expected):
src/utils/chrome/__tests__/chrome-crawler.e2e.test.ts#L10
{
"iconUrl": "https://lh3.googleusercontent.com/GcffNyCJaxT2G9dsQCJHhUEMlu_E0vEzph5cLPrQj7UHKat7QyCzGu69Dmp_DDUL8rY-bPMFJceQarS1wcqdwTalTg=s256",
"id": "ocfdgncpifmegplaglcnglhioflaimkd",
- "lastUpdated": Any<String>,
- "longDescription": StringContaining "Isn't it annoying when you",
+ "lastUpdated": "October 27, 2025",
+ "longDescription":
+ "Lots of code is generated nowadays and GitHub's line counts are not representative of a PR's true size.
+ This extension subtracts generated files from the total line counts, giving you a better idea of how big a PR really is. That's it.
+ Generated files are detected from the branch's root .gitattributes file. See GitHub's docs to learn how to mark a file as generated: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
+ For a simple example, checkout this extension's .gitattributes file! https://github.com/aklinker1/github-better-line-counts/blob/main/.gitattributes
+ ---
+ The extension is open source: https://github.com/aklinker1/github-better-line-counts"
+ ,
"name": "GitHub Better Line Counts",
- "rating": Any<Number>,
- "reviewCount": Any<Number>,
+ "rating": 5,
+ "reviewCount": 5,
"screenshots": [
{
"index": 0,
"indexUrl": "http://localhost:3000/api/rest/chrome-extensions/ocfdgncpifmegplaglcnglhioflaimkd/screenshots/0",
- "rawUrl": Any<String>,
+ "rawUrl": "https://lh3.googleusercontent.com/2k5BFkBDsDGxnda4efhAy7t7Riqu8JZQ5G03EMTTJT4SmSyFzxpJKuDec2hc8dqsq07FPvlF4UIp-os6PPTVGKDX=s1280",
},
{
"index": 1,
"indexUrl": "http://localhost:3000/api/rest/chrome-extensions/ocfdgncpifmegplaglcnglhioflaimkd/screenshots/1",
- "rawUrl": Any<String>,
+ "rawUrl": "https://lh3.googleusercontent.com/sC4nS26z6wmP5FV8B34sD-caoMqobtWDz1dHWK9faF0c8fdp5Q2HguyTJSSVPF5yb0j8IPgadDUbUSckK7985NJT=s1280",
},
],
"shortDescription": "Remove generated files from GitHub line counts",
- "storeUrl": StringContaining "https://chromewebstore.google.com/detail/github-better-line-counts/ocfdgncpifmegplaglcnglhioflaimkd",
- "version": Any<String>,
- "weeklyActiveUsers": Any<Number>,
+ "storeUrl": "https://chromewebstore.google.com/detail/github-better-line-counts/ocfdgncpifmegplaglcnglhioflaimkd",
+ "users": 424,
+ "version": "1.8.0",
+ "weeklyActiveUsers": 424,
}
- Expected - 9
+ Received + 17
at <anonymous> (/home/runner/work/queue/queue/src/utils/chrome/__tests__/chrome-crawler.e2e.test.ts:10:17)
|
|
error: expect(received).toMatchSnapshot(expected):
src/utils/chrome/__tests__/chrome-crawler.test.ts#L43
@@ -90,10 +90,10 @@
"rawUrl": "https://lh3.googleusercontent.com/MXf271aHeP9deq2VjO0-_QDU-VSKgu81hcc9iKNMbAg74sI1RnvOb7Esgy95P-NTrQ7vVJtW2fMOPnTYv8pnbnMEng=s1280",
},
],
"shortDescription": "Preview links, search the web without leaving your current tab and use AI (ChatGPT, Gemini) in popup and sidebar",
"storeUrl": "https://chromewebstore.google.com/detail/blync-preview-links-selec/odffpjnpocjfcaclnenaaaddghkgijdb?hl=en",
+ "users": 40,
"version": "0.3.3",
"weeklyActiveUsers": 40,
}
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/queue/queue/src/utils/chrome/__tests__/chrome-crawler.test.ts:43:19)
|
|
error: expect(received).toMatchSnapshot(expected):
src/utils/chrome/__tests__/chrome-crawler.test.ts#L43
@@ -28,10 +28,10 @@
"rawUrl": "https://lh3.googleusercontent.com/qRi-kO0il8W6CnWa_-7oFzCwWKwr73w607I-rpYF9MM27omsuoN0k4dkgBbBECD3vZszdTSkQnoW9sywsfvAQ_7M9Q=s1280",
},
],
"shortDescription": "Remove generated files from GitHub line counts",
"storeUrl": "https://chromewebstore.google.com/detail/github-better-line-counts/ocfdgncpifmegplaglcnglhioflaimkd?hl=en",
+ "users": 251,
"version": "1.7.1",
"weeklyActiveUsers": 251,
}
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/queue/queue/src/utils/chrome/__tests__/chrome-crawler.test.ts:43:19)
|
|
error: expect(received).toMatchSnapshot(expected):
src/utils/chrome/__tests__/chrome-crawler.test.ts#L43
@@ -74,10 +74,10 @@
"rawUrl": "https://lh3.googleusercontent.com/SwOe0XmN3ZkCkJQ4IF1a1i2qqCsw0b7I-Ez6VSQflAvafwiJhGbdRW6YAKNX8fAwdv159XogYSFc5Uykgt1fsYSv=s1280",
},
],
"shortDescription": "Convert webpages to Markdown. Easily convert headers, text, tables or code snippets to Markdown.",
"storeUrl": "https://chromewebstore.google.com/detail/html-to-markdown/kofbbilhmnkcmibjbioafflgmpkbnmme?hl=en",
+ "users": 77,
"version": "0.0.13",
"weeklyActiveUsers": 77,
}
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/queue/queue/src/utils/chrome/__tests__/chrome-crawler.test.ts:43:19)
|
|
check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|