@code-pushup/ci 0.53.0 → 0.53.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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +20 -11
package/index.js CHANGED
@@ -19,7 +19,7 @@ var MAX_ISSUE_MESSAGE_LENGTH = 1024;
19
19
  var slugRegex = /^[a-z\d]+(?:-[a-z\d]+)*$/;
20
20
  var filenameRegex = /^(?!.*[ \\/:*?"<>|]).+$/;
21
21
  function hasDuplicateStrings(strings) {
22
- const sortedStrings = [...strings].sort();
22
+ const sortedStrings = strings.toSorted();
23
23
  const duplStrings = sortedStrings.filter(
24
24
  (item, index) => index !== 0 && item === sortedStrings[index - 1]
25
25
  );
@@ -1562,6 +1562,7 @@ async function runInCI(refs, api, options, git = simpleGit4()) {
1562
1562
  diffArtifact
1563
1563
  };
1564
1564
  }
1565
+ return { mode: "monorepo", projects: projectResults };
1565
1566
  }
1566
1567
  logger.info("Running Code PushUp in standalone project mode");
1567
1568
  const { artifacts, newIssues } = await runOnProject({
package/package.json CHANGED
@@ -1,28 +1,37 @@
1
1
  {
2
2
  "name": "@code-pushup/ci",
3
- "version": "0.53.0",
3
+ "version": "0.53.1",
4
4
  "description": "CI automation logic for Code PushUp (provider-agnostic)",
5
- "dependencies": {
6
- "@code-pushup/models": "0.53.0",
7
- "@code-pushup/utils": "0.53.0",
8
- "glob": "^10.4.5",
9
- "simple-git": "^3.20.0",
10
- "yaml": "^2.5.1"
11
- },
12
5
  "license": "MIT",
13
6
  "homepage": "https://github.com/code-pushup/cli/tree/main/packages/ci#readme",
14
7
  "bugs": {
15
- "url": "https://github.com/code-pushup/cli/issues"
8
+ "url": "https://github.com/code-pushup/cli/issues?q=is%3Aissue%20state%3Aopen%20type%3ABug%20label%3A\"🧩%20ci\""
16
9
  },
17
10
  "repository": {
18
11
  "type": "git",
19
12
  "url": "git+https://github.com/code-pushup/cli.git",
20
13
  "directory": "packages/ci"
21
14
  },
15
+ "keywords": [
16
+ "Code PushUp",
17
+ "CI integration",
18
+ "automation",
19
+ "KPI tracking",
20
+ "tech debt",
21
+ "automated feedback",
22
+ "regression guard"
23
+ ],
22
24
  "publishConfig": {
23
25
  "access": "public"
24
26
  },
25
27
  "type": "module",
26
28
  "main": "./index.js",
27
- "types": "./src/index.d.ts"
28
- }
29
+ "types": "./src/index.d.ts",
30
+ "dependencies": {
31
+ "@code-pushup/models": "0.53.1",
32
+ "@code-pushup/utils": "0.53.1",
33
+ "glob": "^10.4.5",
34
+ "simple-git": "^3.20.0",
35
+ "yaml": "^2.5.1"
36
+ }
37
+ }