@code-pushup/models 0.12.10 → 0.13.1

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
@@ -482,15 +482,15 @@ function refineCoreConfig(schema) {
482
482
  );
483
483
  }
484
484
 
485
+ // packages/models/src/lib/implementation/configuration.ts
486
+ var CONFIG_FILE_NAME = "code-pushup.config";
487
+ var SUPPORTED_CONFIG_FILE_FORMATS = ["ts", "mjs", "js"];
488
+
485
489
  // packages/models/src/lib/implementation/constants.ts
486
490
  var PERSIST_OUTPUT_DIR = ".code-pushup";
487
491
  var PERSIST_FORMAT = ["json"];
488
492
  var PERSIST_FILENAME = "report";
489
493
 
490
- // packages/models/src/lib/implementation/configuration.ts
491
- var CONFIG_FILE_NAME = "code-pushup.config";
492
- var SUPPORTED_CONFIG_FILE_FORMATS = ["ts", "mjs", "js"];
493
-
494
494
  // packages/models/src/lib/report.ts
495
495
  import { z as z12 } from "zod";
496
496
  var auditReportSchema = auditSchema.merge(auditOutputSchema);
@@ -568,6 +568,7 @@ export {
568
568
  categoryConfigSchema,
569
569
  categoryRefSchema,
570
570
  coreConfigSchema,
571
+ exists,
571
572
  fileNameSchema,
572
573
  filePathSchema,
573
574
  formatSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/models",
3
- "version": "0.12.10",
3
+ "version": "0.13.1",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "zod": "^3.22.1",
package/src/index.d.ts CHANGED
@@ -4,10 +4,11 @@ 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 { 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
7
  export { CONFIG_FILE_NAME, SUPPORTED_CONFIG_FILE_FORMATS, } from './lib/implementation/configuration';
8
+ export { PERSIST_FILENAME, PERSIST_FORMAT, PERSIST_OUTPUT_DIR, } from './lib/implementation/constants';
9
+ export { MAX_DESCRIPTION_LENGTH, MAX_ISSUE_MESSAGE_LENGTH, MAX_SLUG_LENGTH, MAX_TITLE_LENGTH, } from './lib/implementation/limits';
10
10
  export { fileNameSchema, filePathSchema, materialIconSchema, urlSchema, } from './lib/implementation/schemas';
11
+ export { exists } from './lib/implementation/utils';
11
12
  export { Format, PersistConfig, formatSchema, persistConfigSchema, } from './lib/persist-config';
12
13
  export { PluginConfig, PluginMeta, pluginConfigSchema, } from './lib/plugin-config';
13
14
  export { AuditReport, PluginReport, Report, auditReportSchema, pluginReportSchema, reportSchema, } from './lib/report';