@code-pushup/core
Advanced tools
Comparing version 0.49.0 to 0.50.0
{ | ||
"name": "@code-pushup/core", | ||
"version": "0.49.0", | ||
"version": "0.50.0", | ||
"license": "MIT", | ||
"description": "Core business logic for the used by the Code PushUp CLI", | ||
"dependencies": { | ||
"@code-pushup/models": "0.49.0", | ||
"@code-pushup/utils": "0.49.0", | ||
"@code-pushup/models": "0.50.0", | ||
"@code-pushup/utils": "0.50.0", | ||
"@code-pushup/portal-client": "^0.9.0", | ||
"ansis": "^3.3.0" | ||
}, | ||
"type": "module", | ||
"main": "./index.js", | ||
"homepage": "https://github.com/code-pushup/cli#readme", | ||
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/core#readme", | ||
"bugs": { | ||
@@ -22,30 +21,5 @@ "url": "https://github.com/code-pushup/cli/issues" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Igor Katsuba", | ||
"email": "igor@katsuba.dev", | ||
"url": "https://katsuba.dev" | ||
}, | ||
{ | ||
"name": "Kateřina Pilátová", | ||
"email": "katerina.pilatova@flowup.cz", | ||
"url": "https://github.com/Tlacenka" | ||
}, | ||
{ | ||
"name": "Matěj Chalk", | ||
"email": "matej.chalk@flowup.cz", | ||
"url": "https://github.com/matejchalk" | ||
}, | ||
{ | ||
"name": "Michael Hladky", | ||
"email": "michael.hladky@push-based.io", | ||
"url": "https://push-based.io" | ||
}, | ||
{ | ||
"name": "Michael Seredenko", | ||
"email": "misha.seredenko@push-based.io", | ||
"url": "https://github.com/MishaSeredenkoPushBased" | ||
} | ||
], | ||
"type": "module", | ||
"main": "./index.js", | ||
"types": "./src/index.d.ts" | ||
} |
@@ -1,10 +0,11 @@ | ||
export { CollectAndPersistReportsOptions, collectAndPersistReports, } from './lib/collect-and-persist'; | ||
export { type CollectAndPersistReportsOptions, collectAndPersistReports, } from './lib/collect-and-persist'; | ||
export { compareReportFiles, compareReports } from './lib/compare'; | ||
export { CollectOptions, collect } from './lib/implementation/collect'; | ||
export { ReportsToCompare } from './lib/implementation/compare-scorables'; | ||
export { type CollectOptions, collect } from './lib/implementation/collect'; | ||
export type { ReportsToCompare } from './lib/implementation/compare-scorables'; | ||
export { PluginOutputMissingAuditError, executePlugin, executePlugins, } from './lib/implementation/execute-plugin'; | ||
export { PersistDirError, PersistError, persistReport, } from './lib/implementation/persist'; | ||
export { history, HistoryOptions, HistoryOnlyOptions } from './lib/history'; | ||
export { history, type HistoryOptions, type HistoryOnlyOptions, } from './lib/history'; | ||
export { ConfigPathError, autoloadRc, readRcByPath, } from './lib/implementation/read-rc-file'; | ||
export { GlobalOptions } from './lib/types'; | ||
export { UploadOptions, upload } from './lib/upload'; | ||
export type { GlobalOptions } from './lib/types'; | ||
export { type UploadOptions, upload } from './lib/upload'; | ||
export { mergeDiffs } from './lib/merge-diffs'; |
@@ -1,3 +0,3 @@ | ||
import { CoreConfig, PersistConfig } from '@code-pushup/models'; | ||
import { GlobalOptions } from './types'; | ||
import { type CoreConfig, type PersistConfig } from '@code-pushup/models'; | ||
import type { GlobalOptions } from './types'; | ||
export type CollectAndPersistReportsOptions = Required<Pick<CoreConfig, 'plugins' | 'categories'>> & { | ||
@@ -4,0 +4,0 @@ persist: Required<PersistConfig>; |
@@ -1,4 +0,4 @@ | ||
import { type PersistConfig, Report, ReportsDiff, type UploadConfig } from '@code-pushup/models'; | ||
import { Diff } from '@code-pushup/utils'; | ||
export declare function compareReportFiles(inputPaths: Diff<string>, persistConfig: Required<PersistConfig>, uploadConfig: UploadConfig | undefined): Promise<string[]>; | ||
import { type PersistConfig, type Report, type ReportsDiff, type UploadConfig } from '@code-pushup/models'; | ||
import { type Diff } from '@code-pushup/utils'; | ||
export declare function compareReportFiles(inputPaths: Diff<string>, persistConfig: Required<PersistConfig>, uploadConfig: UploadConfig | undefined, label?: string): Promise<string[]>; | ||
export declare function compareReports(reports: Diff<Report>): ReportsDiff; |
@@ -1,3 +0,3 @@ | ||
import { CoreConfig, PersistConfig, UploadConfig } from '@code-pushup/models'; | ||
import { GlobalOptions } from './types'; | ||
import type { CoreConfig, PersistConfig, UploadConfig } from '@code-pushup/models'; | ||
import type { GlobalOptions } from './types'; | ||
export type HistoryOnlyOptions = { | ||
@@ -4,0 +4,0 @@ targetBranch?: string; |
@@ -1,3 +0,3 @@ | ||
import { CoreConfig, Report } from '@code-pushup/models'; | ||
import { GlobalOptions } from '../types'; | ||
import type { CoreConfig, Report } from '@code-pushup/models'; | ||
import type { GlobalOptions } from '../types'; | ||
export type CollectOptions = Required<Pick<CoreConfig, 'plugins' | 'categories'>> & Partial<GlobalOptions>; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { ReportsDiff } from '@code-pushup/models'; | ||
import { Diff, ScoredReport } from '@code-pushup/utils'; | ||
import type { ReportsDiff } from '@code-pushup/models'; | ||
import { type Diff, type ScoredReport } from '@code-pushup/utils'; | ||
export type ReportsToCompare = Diff<ScoredReport>; | ||
@@ -4,0 +4,0 @@ export declare function compareCategories(reports: ReportsToCompare): ReportsDiff['categories']; |
@@ -1,2 +0,2 @@ | ||
import { OnProgress, PluginConfig, PluginReport } from '@code-pushup/models'; | ||
import { type OnProgress, type PluginConfig, type PluginReport } from '@code-pushup/models'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Error thrown when plugin output is invalid. |
@@ -1,3 +0,3 @@ | ||
import { PersistConfig, Report } from '@code-pushup/models'; | ||
import { MultipleFileResults } from '@code-pushup/utils'; | ||
import type { PersistConfig, Report } from '@code-pushup/models'; | ||
import { type MultipleFileResults } from '@code-pushup/utils'; | ||
export declare class PersistDirError extends Error { | ||
@@ -4,0 +4,0 @@ constructor(outputDir: string); |
@@ -1,2 +0,2 @@ | ||
import { CoreConfig } from '@code-pushup/models'; | ||
import { type CoreConfig } from '@code-pushup/models'; | ||
export declare class ConfigPathError extends Error { | ||
@@ -3,0 +3,0 @@ constructor(configPath: string); |
@@ -1,2 +0,2 @@ | ||
import { OnProgress, RunnerConfig, RunnerFunction } from '@code-pushup/models'; | ||
import type { OnProgress, RunnerConfig, RunnerFunction } from '@code-pushup/models'; | ||
export type RunnerResult = { | ||
@@ -3,0 +3,0 @@ date: string; |
@@ -1,3 +0,3 @@ | ||
import { type AuditOutputs, Issue } from '@code-pushup/models'; | ||
import type { AuditOutputs, Issue } from '@code-pushup/models'; | ||
export declare function normalizeIssue(issue: Issue, gitRoot: string): Issue; | ||
export declare function normalizeAuditOutputs(audits: AuditOutputs): Promise<AuditOutputs>; |
import { uploadToPortal } from '@code-pushup/portal-client'; | ||
import { PersistConfig, UploadConfig } from '@code-pushup/models'; | ||
import { GlobalOptions } from './types'; | ||
import type { PersistConfig, UploadConfig } from '@code-pushup/models'; | ||
import type { GlobalOptions } from './types'; | ||
export type UploadOptions = { | ||
@@ -5,0 +5,0 @@ upload?: UploadConfig; |
Sorry, the diff of this file is too big to display
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
106969
18
3209
1
+ Added@code-pushup/models@0.50.0(transitive)
+ Added@code-pushup/utils@0.50.0(transitive)
- Removed@code-pushup/models@0.49.0(transitive)
- Removed@code-pushup/utils@0.49.0(transitive)
Updated@code-pushup/models@0.50.0
Updated@code-pushup/utils@0.50.0