mb-run 1.1.0 → 1.1.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/CHANGELOG.md CHANGED
@@ -23,6 +23,19 @@ If you like this project and find it useful, please consider giving it a star on
23
23
 
24
24
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
25
25
 
26
+ ## [1.1.1] - 2026-10-17
27
+
28
+ ### Changed
29
+
30
+ - [template]: Update `vitest.config.ts` to 2.0.9 with a JUnit reporter writing `.cache/vitest/junit.xml`.
31
+ - [template]: Update `bunfig.toml` to 1.0.3 with `/**` directory ignore patterns and a JUnit reporter writing `.cache/bun/junit.xml`.
32
+
33
+ ### Fixed
34
+
35
+ - [template]: Install optional frontend dependencies before plugin lint in CI, coverage and publish workflows.
36
+
37
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
38
+
26
39
  ## [1.1.0] - 2026-10-16
27
40
 
28
41
  ### Added
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "mb-run",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "mb-run",
9
- "version": "1.1.0",
9
+ "version": "1.1.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "cross-spawn": "7.0.6",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mb-run",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Matterbridge command line executor",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -1,4 +1,4 @@
1
- # Node.js CI (plugin) v. 2.0.7
1
+ # Node.js CI (plugin) v. 2.0.8
2
2
  # Path: .github/workflows/build.yml
3
3
 
4
4
  name: Node.js CI
@@ -79,9 +79,6 @@ jobs:
79
79
  - name: Typecheck the plugin
80
80
  run: npm run typecheck
81
81
 
82
- - name: Lint the plugin
83
- run: npm run lint
84
-
85
82
  - name: Check the plugin frontend
86
83
  id: check_frontend
87
84
  shell: bash
@@ -92,6 +89,9 @@ jobs:
92
89
  working-directory: apps/frontend
93
90
  run: npm ci --no-fund --no-audit
94
91
 
92
+ - name: Lint the plugin
93
+ run: npm run lint
94
+
95
95
  - name: Build the frontend
96
96
  if: steps.check_frontend.outputs.has_frontend == 'true'
97
97
  working-directory: apps/frontend
@@ -1,4 +1,4 @@
1
- # Codecov (plugin) v. 2.0.7
1
+ # Codecov (plugin) v. 2.0.8
2
2
  # Path: .github/workflows/codecov.yml
3
3
 
4
4
  name: Codecov
@@ -66,9 +66,6 @@ jobs:
66
66
  - name: Typecheck the plugin
67
67
  run: npm run typecheck
68
68
 
69
- - name: Lint the plugin
70
- run: npm run lint
71
-
72
69
  - name: Check the plugin frontend
73
70
  id: check_frontend
74
71
  shell: bash
@@ -79,6 +76,9 @@ jobs:
79
76
  working-directory: apps/frontend
80
77
  run: npm ci --no-fund --no-audit
81
78
 
79
+ - name: Lint the plugin
80
+ run: npm run lint
81
+
82
82
  - name: Build the frontend
83
83
  if: steps.check_frontend.outputs.has_frontend == 'true'
84
84
  working-directory: apps/frontend
@@ -1,4 +1,4 @@
1
- # Publish to npm (plugin) v. 2.0.6
1
+ # Publish to npm (plugin) v. 2.0.7
2
2
  # Path: .github/workflows/publish.yml
3
3
 
4
4
  name: Publish to npm
@@ -79,9 +79,6 @@ jobs:
79
79
  - name: Typecheck the plugin
80
80
  run: npm run typecheck
81
81
 
82
- - name: Lint the plugin
83
- run: npm run lint
84
-
85
82
  - name: Check the plugin frontend
86
83
  id: check_frontend
87
84
  shell: bash
@@ -92,6 +89,9 @@ jobs:
92
89
  working-directory: apps/frontend
93
90
  run: npm ci --no-fund --no-audit
94
91
 
92
+ - name: Lint the plugin
93
+ run: npm run lint
94
+
95
95
  - name: Build the frontend
96
96
  if: steps.check_frontend.outputs.has_frontend == 'true'
97
97
  working-directory: apps/frontend
@@ -230,9 +230,6 @@ jobs:
230
230
  - name: Typecheck the plugin
231
231
  run: npm run typecheck
232
232
 
233
- - name: Lint the plugin
234
- run: npm run lint
235
-
236
233
  - name: Check the plugin frontend
237
234
  id: check_frontend
238
235
  shell: bash
@@ -243,6 +240,9 @@ jobs:
243
240
  working-directory: apps/frontend
244
241
  run: npm ci --no-fund --no-audit
245
242
 
243
+ - name: Lint the plugin
244
+ run: npm run lint
245
+
246
246
  - name: Build the frontend
247
247
  if: steps.check_frontend.outputs.has_frontend == 'true'
248
248
  working-directory: apps/frontend
@@ -1,6 +1,7 @@
1
- # Matterbridge — Bun-native test runner config v 1.0.2.
1
+ # Matterbridge — Bun-native test runner config v 1.0.3.
2
2
 
3
3
  [install]
4
+
4
5
  # Installation strategy: "hoisted" places dependencies in the shared node_modules root;
5
6
  # "isolated" keeps each package's dependencies in its own node_modules directory.
6
7
  # Default: "hoisted".
@@ -18,40 +19,41 @@ globalStore = false
18
19
  # preload = ["./buntest/setup.ts"]
19
20
 
20
21
  # Bun scans root for *.test.{js|jsx|ts|tsx} *_test.{js|jsx|ts|tsx} *.spec.{js|jsx|ts|tsx} *_spec.{js|jsx|ts|tsx}.
22
+ # Directory entries end in /** so they match the directory's contents, the same form the coverage list
23
+ # below needs.
21
24
  pathIgnorePatterns = [
22
- '**/.cache/',
23
- '**/apps/',
24
- '**/build/',
25
- '**/chip/',
26
- '**/coverage/',
27
- '**/dist/',
28
- '**/node_modules/',
29
- '**/screenshots/',
30
- '**/scripts/',
31
- '**/src/',
32
- '**/temp/',
33
- '**/test/',
34
- '**/template/',
35
- '**/vitest/',
25
+ '**/.cache/**',
26
+ '**/build/**',
27
+ '**/coverage/**',
28
+ '**/dist/**',
29
+ '**/node_modules/**',
30
+ '**/screenshots/**',
31
+ '**/scripts/**',
32
+ '**/src/**',
33
+ '**/temp/**',
34
+ '**/tmp/**',
35
+ '**/test/**',
36
+ '**/vitest/**',
36
37
  ]
37
38
 
38
39
  # Source files kept out of the coverage report. pathIgnorePatterns above decides which files are
39
40
  # scanned for tests; this one decides which files are measured. Whole paths only: Bun has no
40
41
  # line-level ignore, so /* istanbul ignore */, /* c8 ignore */ and /* v8 ignore */ do nothing.
42
+ # Each pattern is matched against every source file path after the run, never against a directory,
43
+ # so a directory entry must end in /** ('**/dist/**').
41
44
  coveragePathIgnorePatterns = [
42
- '**/.cache/',
43
- '**/apps/',
44
- '**/build/',
45
- '**/chip/',
46
- '**/coverage/',
47
- '**/dist/',
48
- '**/node_modules/',
49
- '**/screenshots/',
50
- '**/scripts/',
51
- '**/src/mock/',
52
- '**/temp/',
53
- '**/template/',
45
+ '**/.cache/**',
46
+ '**/build/**',
47
+ '**/coverage/**',
48
+ '**/dist/**',
49
+ '**/node_modules/**',
50
+ '**/screenshots/**',
51
+ '**/scripts/**',
52
+ '**/temp/**',
53
+ '**/tmp/**',
54
+ '**/test/**',
54
55
  '**/vitest/**',
56
+ '**/buntest/**',
55
57
  '**/src/**/*.d.ts',
56
58
  '**/src/**/*.{spec,test}.{ts,mts,cts}',
57
59
  ]
@@ -73,3 +75,9 @@ coverageIgnoreSourcemaps = false
73
75
 
74
76
  # Fail the run if coverage drops below 100%. Applies to the whole run, not per file.
75
77
  coverageThreshold = { lines = 1.0, functions = 1.0 }
78
+
79
+ [test.reporter]
80
+
81
+ # Every run also writes a JUnit XML report with the duration of each test (handy to find slow tests:
82
+ # --parallel prints no per-test lines). It holds test results only, coverage stays in coverageDir.
83
+ junit = ".cache/bun/junit.xml"
@@ -1,4 +1,4 @@
1
- // vitest.config.ts 2.0.8
1
+ // vitest.config.ts 2.0.9
2
2
 
3
3
  // This Vitest configuration is designed for a TypeScript project.
4
4
 
@@ -26,6 +26,8 @@ export default defineConfig({
26
26
  restoreMocks: false,
27
27
  environment: 'node',
28
28
  maxWorkers: '100%',
29
+ reporters: ['default', 'junit'],
30
+ outputFile: { junit: '.cache/vitest/junit.xml' },
29
31
  coverage: {
30
32
  provider: 'v8',
31
33
  reportsDirectory: 'coverage/vitest',