@code-pushup/core 0.16.6 → 0.16.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { z as z2 } from "zod";
|
|
3
3
|
|
|
4
4
|
// packages/models/src/lib/implementation/schemas.ts
|
|
5
|
+
import { MATERIAL_ICONS } from "vscode-material-icons";
|
|
5
6
|
import { z } from "zod";
|
|
6
|
-
import { MATERIAL_ICONS } from "@code-pushup/portal-client";
|
|
7
7
|
|
|
8
8
|
// packages/models/src/lib/implementation/limits.ts
|
|
9
9
|
var MAX_SLUG_LENGTH = 128;
|
|
@@ -161,10 +161,9 @@ function scorableSchema(description, refSchema, duplicateCheckFn, duplicateMessa
|
|
|
161
161
|
{ description }
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
var materialIconSchema = z.enum(
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
);
|
|
164
|
+
var materialIconSchema = z.enum(MATERIAL_ICONS, {
|
|
165
|
+
description: "Icon from VSCode Material Icons extension"
|
|
166
|
+
});
|
|
168
167
|
function hasWeightedRefsInCategories(categoryRefs) {
|
|
169
168
|
return categoryRefs.reduce((acc, { weight }) => weight + acc, 0) !== 0;
|
|
170
169
|
}
|
|
@@ -1374,9 +1373,6 @@ function withColor({ score, text }) {
|
|
|
1374
1373
|
}
|
|
1375
1374
|
|
|
1376
1375
|
// packages/utils/src/lib/transform.ts
|
|
1377
|
-
function toArray(val) {
|
|
1378
|
-
return Array.isArray(val) ? val : [val];
|
|
1379
|
-
}
|
|
1380
1376
|
function deepClone(obj) {
|
|
1381
1377
|
return obj == null || typeof obj !== "object" ? obj : structuredClone(obj);
|
|
1382
1378
|
}
|
|
@@ -1546,7 +1542,7 @@ import chalk4 from "chalk";
|
|
|
1546
1542
|
|
|
1547
1543
|
// packages/core/package.json
|
|
1548
1544
|
var name = "@code-pushup/core";
|
|
1549
|
-
var version = "0.16.
|
|
1545
|
+
var version = "0.16.8";
|
|
1550
1546
|
|
|
1551
1547
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
1552
1548
|
import chalk5 from "chalk";
|
|
@@ -1796,84 +1792,103 @@ async function autoloadRc() {
|
|
|
1796
1792
|
}
|
|
1797
1793
|
|
|
1798
1794
|
// packages/core/src/lib/upload.ts
|
|
1799
|
-
import {
|
|
1795
|
+
import {
|
|
1796
|
+
uploadToPortal
|
|
1797
|
+
} from "@code-pushup/portal-client";
|
|
1800
1798
|
|
|
1801
|
-
// packages/core/src/lib/implementation/
|
|
1799
|
+
// packages/core/src/lib/implementation/report-to-gql.ts
|
|
1802
1800
|
import {
|
|
1803
|
-
CategoryConfigRefType,
|
|
1804
|
-
|
|
1805
|
-
|
|
1801
|
+
CategoryConfigRefType as PortalCategoryRefType,
|
|
1802
|
+
IssueSeverity as PortalIssueSeverity,
|
|
1803
|
+
IssueSourceType as PortalIssueSourceType
|
|
1806
1804
|
} from "@code-pushup/portal-client";
|
|
1807
|
-
function
|
|
1805
|
+
function reportToGQL(report) {
|
|
1808
1806
|
return {
|
|
1809
1807
|
packageName: report.packageName,
|
|
1810
1808
|
packageVersion: report.version,
|
|
1811
1809
|
commandStartDate: report.date,
|
|
1812
1810
|
commandDuration: report.duration,
|
|
1813
|
-
plugins:
|
|
1814
|
-
categories:
|
|
1811
|
+
plugins: report.plugins.map(pluginToGQL),
|
|
1812
|
+
categories: report.categories.map(categoryToGQL)
|
|
1815
1813
|
};
|
|
1816
1814
|
}
|
|
1817
|
-
function
|
|
1818
|
-
return
|
|
1819
|
-
audits: auditReportsToGql(plugin.audits),
|
|
1820
|
-
description: plugin.description,
|
|
1821
|
-
docsUrl: plugin.docsUrl,
|
|
1822
|
-
groups: plugin.groups?.map((group) => ({
|
|
1823
|
-
slug: group.slug,
|
|
1824
|
-
title: group.title,
|
|
1825
|
-
description: group.description,
|
|
1826
|
-
refs: group.refs.map((ref) => ({ slug: ref.slug, weight: ref.weight }))
|
|
1827
|
-
})),
|
|
1828
|
-
icon: plugin.icon,
|
|
1815
|
+
function pluginToGQL(plugin) {
|
|
1816
|
+
return {
|
|
1829
1817
|
slug: plugin.slug,
|
|
1830
1818
|
title: plugin.title,
|
|
1819
|
+
icon: plugin.icon,
|
|
1820
|
+
description: plugin.description,
|
|
1821
|
+
docsUrl: plugin.docsUrl,
|
|
1822
|
+
audits: plugin.audits.map(auditToGQL),
|
|
1823
|
+
groups: plugin.groups?.map(groupToGQL),
|
|
1831
1824
|
packageName: plugin.packageName,
|
|
1832
1825
|
packageVersion: plugin.version,
|
|
1833
1826
|
runnerDuration: plugin.duration,
|
|
1834
1827
|
runnerStartDate: plugin.date
|
|
1835
|
-
}
|
|
1828
|
+
};
|
|
1836
1829
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return
|
|
1830
|
+
function groupToGQL(group) {
|
|
1831
|
+
return {
|
|
1832
|
+
slug: group.slug,
|
|
1833
|
+
title: group.title,
|
|
1834
|
+
description: group.description,
|
|
1835
|
+
refs: group.refs.map((ref) => ({ slug: ref.slug, weight: ref.weight }))
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
function auditToGQL(audit) {
|
|
1839
|
+
return {
|
|
1840
|
+
slug: audit.slug,
|
|
1841
|
+
title: audit.title,
|
|
1839
1842
|
description: audit.description,
|
|
1840
|
-
details: {
|
|
1841
|
-
issues: issuesToGql(audit.details?.issues)
|
|
1842
|
-
},
|
|
1843
1843
|
docsUrl: audit.docsUrl,
|
|
1844
|
-
formattedValue: audit.displayValue,
|
|
1845
1844
|
score: audit.score,
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1845
|
+
value: audit.value,
|
|
1846
|
+
formattedValue: audit.displayValue,
|
|
1847
|
+
...audit.details && {
|
|
1848
|
+
details: {
|
|
1849
|
+
...audit.details.issues && {
|
|
1850
|
+
issues: audit.details.issues.map(issueToGQL)
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
};
|
|
1850
1855
|
}
|
|
1851
|
-
function
|
|
1852
|
-
return
|
|
1856
|
+
function issueToGQL(issue) {
|
|
1857
|
+
return {
|
|
1853
1858
|
message: issue.message,
|
|
1854
|
-
severity:
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
|
|
1859
|
+
severity: issueSeverityToGQL(issue.severity),
|
|
1860
|
+
...issue.source?.file && {
|
|
1861
|
+
sourceType: PortalIssueSourceType.SourceCode,
|
|
1862
|
+
sourceFilePath: issue.source.file,
|
|
1863
|
+
sourceStartLine: issue.source.position?.startLine,
|
|
1864
|
+
sourceStartColumn: issue.source.position?.startColumn,
|
|
1865
|
+
sourceEndLine: issue.source.position?.endLine,
|
|
1866
|
+
sourceEndColumn: issue.source.position?.endColumn
|
|
1867
|
+
}
|
|
1868
|
+
};
|
|
1869
|
+
}
|
|
1870
|
+
function categoryToGQL(category) {
|
|
1871
|
+
return {
|
|
1865
1872
|
slug: category.slug,
|
|
1866
1873
|
title: category.title,
|
|
1867
1874
|
description: category.description,
|
|
1868
1875
|
refs: category.refs.map((ref) => ({
|
|
1869
1876
|
plugin: ref.plugin,
|
|
1870
|
-
type: ref.type
|
|
1877
|
+
type: categoryRefTypeToGQL(ref.type),
|
|
1871
1878
|
weight: ref.weight,
|
|
1872
1879
|
slug: ref.slug
|
|
1873
1880
|
}))
|
|
1874
|
-
}
|
|
1881
|
+
};
|
|
1882
|
+
}
|
|
1883
|
+
function categoryRefTypeToGQL(type) {
|
|
1884
|
+
switch (type) {
|
|
1885
|
+
case "audit":
|
|
1886
|
+
return PortalCategoryRefType.Audit;
|
|
1887
|
+
case "group":
|
|
1888
|
+
return PortalCategoryRefType.Group;
|
|
1889
|
+
}
|
|
1875
1890
|
}
|
|
1876
|
-
function
|
|
1891
|
+
function issueSeverityToGQL(severity) {
|
|
1877
1892
|
switch (severity) {
|
|
1878
1893
|
case "info":
|
|
1879
1894
|
return PortalIssueSeverity.Info;
|
|
@@ -1903,7 +1918,7 @@ async function upload(options, uploadFn = uploadToPortal) {
|
|
|
1903
1918
|
organization,
|
|
1904
1919
|
project,
|
|
1905
1920
|
commit: commitData.hash,
|
|
1906
|
-
...
|
|
1921
|
+
...reportToGQL(report)
|
|
1907
1922
|
};
|
|
1908
1923
|
return uploadFn({ apiKey, server, data, timeout });
|
|
1909
1924
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/core",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@code-pushup/models": "*",
|
|
7
7
|
"@code-pushup/utils": "*",
|
|
8
|
-
"@code-pushup/portal-client": "^0.
|
|
8
|
+
"@code-pushup/portal-client": "^0.5.0",
|
|
9
9
|
"chalk": "^5.3.0"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AuditReportIssue as PortalIssue, type SaveReportMutationVariables } from '@code-pushup/portal-client';
|
|
2
|
+
import { Issue, Report } from '@code-pushup/models';
|
|
3
|
+
export declare function reportToGQL(report: Report): Omit<SaveReportMutationVariables, 'organization' | 'project' | 'commit'>;
|
|
4
|
+
export declare function issueToGQL(issue: Issue): PortalIssue;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { CategoryConfigRefType, IssueSourceType, IssueSeverity as PortalIssueSeverity } from '@code-pushup/portal-client';
|
|
2
|
-
import { Issue, Report } from '@code-pushup/models';
|
|
3
|
-
export declare function jsonReportToGql(report: Report): {
|
|
4
|
-
packageName: string;
|
|
5
|
-
packageVersion: string;
|
|
6
|
-
commandStartDate: string;
|
|
7
|
-
commandDuration: number;
|
|
8
|
-
plugins: {
|
|
9
|
-
audits: {
|
|
10
|
-
description: string | undefined;
|
|
11
|
-
details: {
|
|
12
|
-
issues: {
|
|
13
|
-
message: string;
|
|
14
|
-
severity: PortalIssueSeverity;
|
|
15
|
-
sourceEndColumn: number | undefined;
|
|
16
|
-
sourceEndLine: number | undefined;
|
|
17
|
-
sourceFilePath: string | undefined;
|
|
18
|
-
sourceStartColumn: number | undefined;
|
|
19
|
-
sourceStartLine: number | undefined;
|
|
20
|
-
sourceType: IssueSourceType;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
docsUrl: string | undefined;
|
|
24
|
-
formattedValue: string | undefined;
|
|
25
|
-
score: number;
|
|
26
|
-
slug: string;
|
|
27
|
-
title: string;
|
|
28
|
-
value: number;
|
|
29
|
-
}[];
|
|
30
|
-
description: string | undefined;
|
|
31
|
-
docsUrl: string | undefined;
|
|
32
|
-
groups: {
|
|
33
|
-
slug: string;
|
|
34
|
-
title: string;
|
|
35
|
-
description: string | undefined;
|
|
36
|
-
refs: {
|
|
37
|
-
slug: string;
|
|
38
|
-
weight: number;
|
|
39
|
-
}[];
|
|
40
|
-
}[] | undefined;
|
|
41
|
-
icon: "slug" | "file" | "command" | "search" | "blink" | "key" | "folder-robot" | "folder-src" | "folder-dist" | "folder-css" | "folder-sass" | "folder-images" | "folder-scripts" | "folder-node" | "folder-javascript" | "folder-json" | "folder-font" | "folder-bower" | "folder-test" | "folder-jinja" | "folder-markdown" | "folder-php" | "folder-phpmailer" | "folder-sublime" | "folder-docs" | "folder-git" | "folder-github" | "folder-gitlab" | "folder-vscode" | "folder-views" | "folder-vue" | "folder-vuepress" | "folder-expo" | "folder-config" | "folder-i18n" | "folder-components" | "folder-verdaccio" | "folder-aurelia" | "folder-resource" | "folder-lib" | "folder-theme" | "folder-webpack" | "folder-global" | "folder-public" | "folder-include" | "folder-docker" | "folder-database" | "folder-log" | "folder-target" | "folder-temp" | "folder-aws" | "folder-audio" | "folder-video" | "folder-kubernetes" | "folder-import" | "folder-export" | "folder-wakatime" | "folder-circleci" | "folder-wordpress" | "folder-gradle" | "folder-coverage" | "folder-class" | "folder-other" | "folder-lua" | "folder-typescript" | "folder-graphql" | "folder-routes" | "folder-ci" | "folder-benchmark" | "folder-messages" | "folder-less" | "folder-gulp" | "folder-python" | "folder-mojo" | "folder-moon" | "folder-debug" | "folder-fastlane" | "folder-plugin" | "folder-middleware" | "folder-controller" | "folder-ansible" | "folder-server" | "folder-client" | "folder-tasks" | "folder-android" | "folder-ios" | "folder-upload" | "folder-download" | "folder-tools" | "folder-helper" | "folder-serverless" | "folder-api" | "folder-app" | "folder-apollo" | "folder-archive" | "folder-batch" | "folder-buildkite" | "folder-cluster" | "folder-command" | "folder-constant" | "folder-container" | "folder-content" | "folder-context" | "folder-core" | "folder-delta" | "folder-dump" | "folder-examples" | "folder-environment" | "folder-functions" | "folder-generator" | "folder-hook" | "folder-job" | "folder-keys" | "folder-layout" | "folder-mail" | "folder-mappings" | "folder-meta" | "folder-changesets" | "folder-packages" | "folder-shared" | "folder-shader" | "folder-stack" | "folder-template" | "folder-utils" | "folder-supabase" | "folder-private" | "folder-linux" | "folder-windows" | "folder-macos" | "folder-error" | "folder-event" | "folder-secure" | "folder-custom" | "folder-mock" | "folder-syntax" | "folder-vm" | "folder-stylus" | "folder-flow" | "folder-rules" | "folder-review" | "folder-animation" | "folder-guard" | "folder-prisma" | "folder-pipe" | "folder-svg" | "folder-terraform" | "folder-mobile" | "folder-stencil" | "folder-firebase" | "folder-svelte" | "folder-update" | "folder-intellij" | "folder-azure-pipelines" | "folder-mjml" | "folder-admin" | "folder-scala" | "folder-connection" | "folder-quasar" | "folder-next" | "folder-cobol" | "folder-yarn" | "folder-husky" | "folder-storybook" | "folder-base" | "folder-cart" | "folder-home" | "folder-project" | "folder-interface" | "folder-netlify" | "folder-enum" | "folder-contract" | "folder-queue" | "folder-vercel" | "folder-cypress" | "folder-decorators" | "folder-java" | "folder-resolver" | "folder-angular" | "folder-unity" | "folder-pdf" | "folder-proto" | "folder-plastic" | "folder-gamemaker" | "folder-mercurial" | "folder-godot" | "folder-lottie" | "folder-taskfile" | "folder-robot-open" | "folder-src-open" | "folder-dist-open" | "folder-css-open" | "folder-sass-open" | "folder-images-open" | "folder-scripts-open" | "folder-node-open" | "folder-javascript-open" | "folder-json-open" | "folder-font-open" | "folder-bower-open" | "folder-test-open" | "folder-jinja-open" | "folder-markdown-open" | "folder-php-open" | "folder-phpmailer-open" | "folder-sublime-open" | "folder-docs-open" | "folder-git-open" | "folder-github-open" | "folder-gitlab-open" | "folder-vscode-open" | "folder-views-open" | "folder-vue-open" | "folder-vuepress-open" | "folder-expo-open" | "folder-config-open" | "folder-i18n-open" | "folder-components-open" | "folder-verdaccio-open" | "folder-aurelia-open" | "folder-resource-open" | "folder-lib-open" | "folder-theme-open" | "folder-webpack-open" | "folder-global-open" | "folder-public-open" | "folder-include-open" | "folder-docker-open" | "folder-database-open" | "folder-log-open" | "folder-target-open" | "folder-temp-open" | "folder-aws-open" | "folder-audio-open" | "folder-video-open" | "folder-kubernetes-open" | "folder-import-open" | "folder-export-open" | "folder-wakatime-open" | "folder-circleci-open" | "folder-wordpress-open" | "folder-gradle-open" | "folder-coverage-open" | "folder-class-open" | "folder-other-open" | "folder-lua-open" | "folder-typescript-open" | "folder-graphql-open" | "folder-routes-open" | "folder-ci-open" | "folder-benchmark-open" | "folder-messages-open" | "folder-less-open" | "folder-gulp-open" | "folder-python-open" | "folder-mojo-open" | "folder-moon-open" | "folder-debug-open" | "folder-fastlane-open" | "folder-plugin-open" | "folder-middleware-open" | "folder-controller-open" | "folder-ansible-open" | "folder-server-open" | "folder-client-open" | "folder-tasks-open" | "folder-android-open" | "folder-ios-open" | "folder-upload-open" | "folder-download-open" | "folder-tools-open" | "folder-helper-open" | "folder-serverless-open" | "folder-api-open" | "folder-app-open" | "folder-apollo-open" | "folder-archive-open" | "folder-batch-open" | "folder-buildkite-open" | "folder-cluster-open" | "folder-command-open" | "folder-constant-open" | "folder-container-open" | "folder-content-open" | "folder-context-open" | "folder-core-open" | "folder-delta-open" | "folder-dump-open" | "folder-examples-open" | "folder-environment-open" | "folder-functions-open" | "folder-generator-open" | "folder-hook-open" | "folder-job-open" | "folder-keys-open" | "folder-layout-open" | "folder-mail-open" | "folder-mappings-open" | "folder-meta-open" | "folder-changesets-open" | "folder-packages-open" | "folder-shared-open" | "folder-shader-open" | "folder-stack-open" | "folder-template-open" | "folder-utils-open" | "folder-supabase-open" | "folder-private-open" | "folder-linux-open" | "folder-windows-open" | "folder-macos-open" | "folder-error-open" | "folder-event-open" | "folder-secure-open" | "folder-custom-open" | "folder-mock-open" | "folder-syntax-open" | "folder-vm-open" | "folder-stylus-open" | "folder-flow-open" | "folder-rules-open" | "folder-review-open" | "folder-animation-open" | "folder-guard-open" | "folder-prisma-open" | "folder-pipe-open" | "folder-svg-open" | "folder-terraform-open" | "folder-mobile-open" | "folder-stencil-open" | "folder-firebase-open" | "folder-svelte-open" | "folder-update-open" | "folder-intellij-open" | "folder-azure-pipelines-open" | "folder-mjml-open" | "folder-admin-open" | "folder-scala-open" | "folder-connection-open" | "folder-quasar-open" | "folder-next-open" | "folder-cobol-open" | "folder-yarn-open" | "folder-husky-open" | "folder-storybook-open" | "folder-base-open" | "folder-cart-open" | "folder-home-open" | "folder-project-open" | "folder-interface-open" | "folder-netlify-open" | "folder-enum-open" | "folder-contract-open" | "folder-queue-open" | "folder-vercel-open" | "folder-cypress-open" | "folder-decorators-open" | "folder-java-open" | "folder-resolver-open" | "folder-angular-open" | "folder-unity-open" | "folder-pdf-open" | "folder-proto-open" | "folder-plastic-open" | "folder-gamemaker-open" | "folder-mercurial-open" | "folder-godot-open" | "folder-lottie-open" | "folder-taskfile-open" | "html" | "pug" | "markdown" | "css" | "sass" | "less" | "json" | "hjson" | "jinja" | "proto" | "sublime" | "twine" | "yaml" | "xml" | "image" | "javascript" | "react" | "react_ts" | "routing" | "settings" | "typescript-def" | "markojs" | "astro" | "pdf" | "table" | "vscode" | "visualstudio" | "database" | "kusto" | "csharp" | "qsharp" | "zip" | "vala" | "zig" | "exe" | "hex" | "java" | "jar" | "javaclass" | "c" | "h" | "cpp" | "hpp" | "objective-c" | "objective-cpp" | "rc" | "go" | "python" | "python-misc" | "url" | "console" | "powershell" | "gradle" | "word" | "certificate" | "font" | "lib" | "ruby" | "fsharp" | "swift" | "arduino" | "docker" | "tex" | "powerpoint" | "video" | "virtual" | "email" | "audio" | "coffee" | "document" | "graphql" | "rust" | "raml" | "xaml" | "haskell" | "kotlin" | "otne" | "git" | "lua" | "clojure" | "groovy" | "r" | "dart" | "dart_generated" | "actionscript" | "mxml" | "autohotkey" | "flash" | "swc" | "cmake" | "assembly" | "vue" | "ocaml" | "odin" | "javascript-map" | "css-map" | "lock" | "handlebars" | "perl" | "haxe" | "test-ts" | "test-jsx" | "test-js" | "angular" | "angular-component" | "angular-guard" | "angular-service" | "angular-pipe" | "angular-directive" | "angular-resolver" | "puppet" | "elixir" | "livescript" | "erlang" | "twig" | "julia" | "elm" | "purescript" | "smarty" | "stylus" | "reason" | "bucklescript" | "merlin" | "verilog" | "mathematica" | "wolframlanguage" | "nunjucks" | "robot" | "solidity" | "autoit" | "haml" | "yang" | "mjml" | "terraform" | "laravel" | "applescript" | "cake" | "cucumber" | "nim" | "apiblueprint" | "riot" | "vfl" | "kl" | "postcss" | "todo" | "coldfusion" | "cabal" | "nix" | "slim" | "http" | "restql" | "kivy" | "graphcool" | "sbt" | "android" | "tune" | "gitlab" | "jenkins" | "figma" | "crystal" | "drone" | "cuda" | "log" | "dotjs" | "ejs" | "wakatime" | "processing" | "storybook" | "wepy" | "hcl" | "san" | "django" | "red" | "makefile" | "foxpro" | "i18n" | "webassembly" | "jupyter" | "d" | "mdx" | "mdsvex" | "ballerina" | "racket" | "bazel" | "mint" | "velocity" | "godot" | "godot-assets" | "azure-pipelines" | "azure" | "vagrant" | "prisma" | "razor" | "abc" | "asciidoc" | "edge" | "scheme" | "lisp" | "3d" | "svg" | "svelte" | "vim" | "moonscript" | "advpl_prw" | "advpl_ptm" | "advpl_tlpp" | "advpl_include" | "disc" | "fortran" | "tcl" | "liquid" | "prolog" | "coconut" | "sketch" | "pawn" | "forth" | "uml" | "meson" | "dhall" | "sml" | "opam" | "imba" | "drawio" | "pascal" | "shaderlab" | "sas" | "nuget" | "denizenscript" | "nginx" | "minecraft" | "rescript" | "rescript-interface" | "brainfuck" | "bicep" | "cobol" | "grain" | "lolcode" | "idris" | "pipeline" | "opa" | "windicss" | "scala" | "lilypond" | "vlang" | "chess" | "gemini" | "tsconfig" | "tauri" | "jsconfig" | "ada" | "horusec" | "coala" | "dinophp" | "teal" | "template" | "shader" | "siyuan" | "ndst" | "tobi" | "gleam" | "steadybit" | "tree" | "cadence" | "antlr" | "stylable" | "pinejs" | "taskfile" | "gamemaker" | "tldraw" | "typst" | "mermaid" | "mojo" | "roblox" | "spwn" | "templ" | "chrome" | "stan" | "abap" | "lottie" | "apps-script" | "playwright" | "go-mod" | "gemfile" | "rubocop" | "rspec" | "semgrep" | "vue-config" | "nuxt" | "vercel" | "verdaccio" | "next" | "remix" | "posthtml" | "webpack" | "ionic" | "gulp" | "nodejs" | "npm" | "yarn" | "turborepo" | "babel" | "blitz" | "contributing" | "readme" | "changelog" | "architecture" | "credits" | "authors" | "flow" | "favicon" | "karma" | "bithound" | "svgo" | "appveyor" | "travis" | "codecov" | "sonarcloud" | "protractor" | "fusebox" | "heroku" | "editorconfig" | "bower" | "eslint" | "conduct" | "watchman" | "aurelia" | "auto" | "mocha" | "firebase" | "rollup" | "hack" | "hardhat" | "stylelint" | "code-climate" | "prettier" | "renovate" | "apollo" | "nodemon" | "webhint" | "browserlist" | "snyk" | "sequelize" | "gatsby" | "circleci" | "cloudfoundry" | "grunt" | "jest" | "fastlane" | "helm" | "wallaby" | "stencil" | "semantic-release" | "bitbucket" | "istanbul" | "tailwindcss" | "buildkite" | "netlify" | "nest" | "moon" | "percy" | "gitpod" | "codeowners" | "gcp" | "husky" | "tilt" | "capacitor" | "adonis" | "commitlint" | "buck" | "nrwl" | "dune" | "roadmap" | "stryker" | "modernizr" | "stitches" | "replit" | "snowpack" | "quasar" | "dependabot" | "vite" | "vitest" | "lerna" | "textlint" | "sentry" | "phpunit" | "php-cs-fixer" | "robots" | "maven" | "serverless" | "supabase" | "ember" | "poetry" | "parcel" | "astyle" | "lighthouse" | "svgr" | "rome" | "cypress" | "plop" | "tobimake" | "pnpm" | "gridsome" | "caddy" | "bun" | "nano-staged" | "craco" | "mercurial" | "deno" | "plastic" | "unocss" | "ifanr-cloud" | "concourse" | "werf" | "panda" | "biome" | "esbuild" | "puppeteer" | "kubernetes" | "matlab" | "diff" | "typescript" | "php" | "salesforce" | "blink_light" | "jinja_light" | "crystal_light" | "drone_light" | "wakatime_light" | "hcl_light" | "uml_light" | "chess_light" | "tldraw_light" | "rubocop_light" | "vercel_light" | "next_light" | "remix_light" | "turborepo_light" | "auto_light" | "stylelint_light" | "code-climate_light" | "browserlist_light" | "circleci_light" | "semantic-release_light" | "netlify_light" | "stitches_light" | "snowpack_light" | "pnpm_light" | "bun_light" | "nano-staged_light" | "deno_light" | "folder-jinja_light" | "folder-intellij_light" | "folder-jinja-open_light" | "folder-intellij-open_light" | "folder" | "folder-open" | "folder-root" | "folder-root-open" | "php_elephant" | "php_elephant_pink" | "go_gopher" | "nodejs_alt" | "silverstripe";
|
|
42
|
-
slug: string;
|
|
43
|
-
title: string;
|
|
44
|
-
packageName: string | undefined;
|
|
45
|
-
packageVersion: string | undefined;
|
|
46
|
-
runnerDuration: number;
|
|
47
|
-
runnerStartDate: string;
|
|
48
|
-
}[];
|
|
49
|
-
categories: {
|
|
50
|
-
slug: string;
|
|
51
|
-
title: string;
|
|
52
|
-
description: string | undefined;
|
|
53
|
-
refs: {
|
|
54
|
-
plugin: string;
|
|
55
|
-
type: CategoryConfigRefType;
|
|
56
|
-
weight: number;
|
|
57
|
-
slug: string;
|
|
58
|
-
}[];
|
|
59
|
-
}[];
|
|
60
|
-
};
|
|
61
|
-
export declare function issuesToGql(issues: Issue[] | undefined): {
|
|
62
|
-
message: string;
|
|
63
|
-
severity: PortalIssueSeverity;
|
|
64
|
-
sourceEndColumn: number | undefined;
|
|
65
|
-
sourceEndLine: number | undefined;
|
|
66
|
-
sourceFilePath: string | undefined;
|
|
67
|
-
sourceStartColumn: number | undefined;
|
|
68
|
-
sourceStartLine: number | undefined;
|
|
69
|
-
sourceType: IssueSourceType;
|
|
70
|
-
}[];
|