@code-pushup/models 0.10.7 → 0.11.0
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 +6 -0
- package/package.json +1 -1
- package/src/index.d.ts +2 -1
- package/src/lib/implementation/configuration.d.ts +2 -0
package/index.js
CHANGED
|
@@ -484,6 +484,10 @@ var PERSIST_OUTPUT_DIR = ".code-pushup";
|
|
|
484
484
|
var PERSIST_FORMAT = ["json"];
|
|
485
485
|
var PERSIST_FILENAME = "report";
|
|
486
486
|
|
|
487
|
+
// packages/models/src/lib/implementation/configuration.ts
|
|
488
|
+
var CONFIG_FILE_NAME = "code-pushup.config";
|
|
489
|
+
var SUPPORTED_CONFIG_FILE_FORMATS = ["ts", "mjs", "js"];
|
|
490
|
+
|
|
487
491
|
// packages/models/src/lib/report.ts
|
|
488
492
|
import { z as z12 } from "zod";
|
|
489
493
|
var auditReportSchema = auditSchema.merge(auditOutputSchema);
|
|
@@ -546,6 +550,7 @@ var reportSchema = packageVersionSchema({
|
|
|
546
550
|
})
|
|
547
551
|
);
|
|
548
552
|
export {
|
|
553
|
+
CONFIG_FILE_NAME,
|
|
549
554
|
MAX_DESCRIPTION_LENGTH,
|
|
550
555
|
MAX_ISSUE_MESSAGE_LENGTH,
|
|
551
556
|
MAX_SLUG_LENGTH,
|
|
@@ -553,6 +558,7 @@ export {
|
|
|
553
558
|
PERSIST_FILENAME,
|
|
554
559
|
PERSIST_FORMAT,
|
|
555
560
|
PERSIST_OUTPUT_DIR,
|
|
561
|
+
SUPPORTED_CONFIG_FILE_FORMATS,
|
|
556
562
|
auditOutputsSchema,
|
|
557
563
|
auditReportSchema,
|
|
558
564
|
auditSchema,
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -4,8 +4,9 @@ export { AuditOutput, AuditOutputs, auditOutputsSchema, } from './lib/audit-outp
|
|
|
4
4
|
export { CategoryConfig, CategoryRef, categoryConfigSchema, categoryRefSchema, } from './lib/category-config';
|
|
5
5
|
export { CoreConfig, coreConfigSchema, refineCoreConfig, unrefinedCoreConfigSchema, } from './lib/core-config';
|
|
6
6
|
export { Group, GroupRef, groupSchema } from './lib/group';
|
|
7
|
-
export { PERSIST_FILENAME, PERSIST_FORMAT, PERSIST_OUTPUT_DIR, } from './lib/implementation/constants';
|
|
8
7
|
export { MAX_DESCRIPTION_LENGTH, MAX_ISSUE_MESSAGE_LENGTH, MAX_SLUG_LENGTH, MAX_TITLE_LENGTH, } from './lib/implementation/limits';
|
|
8
|
+
export { PERSIST_FILENAME, PERSIST_OUTPUT_DIR, PERSIST_FORMAT, } from './lib/implementation/constants';
|
|
9
|
+
export { CONFIG_FILE_NAME, SUPPORTED_CONFIG_FILE_FORMATS, } from './lib/implementation/configuration';
|
|
9
10
|
export { fileNameSchema, filePathSchema, materialIconSchema, urlSchema, } from './lib/implementation/schemas';
|
|
10
11
|
export { Format, PersistConfig, formatSchema, persistConfigSchema, } from './lib/persist-config';
|
|
11
12
|
export { PluginConfig, PluginMeta, pluginConfigSchema, } from './lib/plugin-config';
|