monocart-coverage-reports 2.8.4 → 2.8.5

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.
@@ -247,6 +247,9 @@ const getSnapshot = (reportData) => {
247
247
 
248
248
  addPercent(snapshot.summary, summary);
249
249
 
250
+ files.sort((a, b) => {
251
+ return a.sourcePath - b.sourcePath;
252
+ });
250
253
  files.forEach((file) => {
251
254
  // do NOT add debug file
252
255
  if (file.debug) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monocart-coverage-reports",
3
- "version": "2.8.4",
3
+ "version": "2.8.5",
4
4
  "description": "A code coverage tool to generate native V8 reports or Istanbul reports.",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "types": "./lib/index.d.ts",
26
26
  "scripts": {
27
27
  "build-test": "node ./test/build/build-test.js",
28
- "build": "sf lint && sf b -p && npm run build-test",
28
+ "build": "npx sf lint && npx sf b -p && npm run build-test",
29
29
  "test-unit": "mocha --parallel test/unit/*.test.js",
30
30
  "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js",
31
31
  "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",
@@ -55,10 +55,10 @@
55
55
  "test-all": "node ./test/test.js && node ./scripts/docs.js",
56
56
  "test": "npm run test-unit && npx mcr npm run test-all -c test/mcr.config.mcr.js",
57
57
  "test:snap": "cross-env TEST_SNAPSHOT=true npm run test",
58
- "dev": "sf d app",
58
+ "dev": "npx sf d app",
59
59
  "open": "node ./scripts/open.js",
60
60
  "eol": "git rm -rf --cached . && git reset --hard HEAD",
61
- "patch": "npm run build && npm run test && sf publish patch -r"
61
+ "patch": "npm run build && npm run test && npx sf publish patch -r"
62
62
  },
63
63
  "workspaces": [
64
64
  "packages/*",
@@ -83,7 +83,7 @@
83
83
  "monocart-code-viewer": "^1.1.4",
84
84
  "monocart-formatter": "^3.0.0",
85
85
  "monocart-locator": "^1.0.0",
86
- "turbogrid": "^3.1.0"
86
+ "turbogrid": "^3.2.0"
87
87
  },
88
88
  "devDependencies": {
89
89
  "commander": "^12.1.0",
@@ -94,10 +94,11 @@
94
94
  "eslint-plugin-vue": "^9.26.0",
95
95
  "find-up": "^7.0.0",
96
96
  "minimatch": "^9.0.4",
97
+ "starfall-cli": "^2.0.19",
97
98
  "stylelint": "^16.6.1",
98
99
  "stylelint-config-plus": "^1.1.2",
99
100
  "supports-color": "^9.4.0",
100
- "tsx": "^4.15.5",
101
- "ws": "^8.17.0"
101
+ "tsx": "^4.15.7",
102
+ "ws": "^8.17.1"
102
103
  }
103
104
  }