@side-quest/bun-runner 1.0.0 → 1.0.2

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
@@ -1,5 +1,19 @@
1
1
  # @side-quest/bun-runner
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix import.meta.main being transformed to \_\_require by adding target: 'bun' to bunup config
8
+
9
+ The bunup bundler was transforming `import.meta.main` into CommonJS-style `__require.main == __require.module`, but the output format is ESM where `__require` doesn't exist. Adding `target: 'bun'` preserves Bun-specific features and adds the `// @bun` pragma.
10
+
11
+ ## 1.0.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2](https://github.com/nathanvale/side-quest-runners/pull/2) [`429c007`](https://github.com/nathanvale/side-quest-runners/commit/429c00757913f8caa1c15b3a2fd4a7995926b92d) Thanks [@nathanvale](https://github.com/nathanvale)! - Document response_format parameter in README files
16
+
3
17
  ## 1.0.0
4
18
 
5
19
  ### Major Changes
package/README.md CHANGED
@@ -27,6 +27,10 @@ Or in `.mcp.json`:
27
27
  }
28
28
  ```
29
29
 
30
+ ## Response Format
31
+
32
+ All tools accept a `response_format` parameter (`"markdown"` or `"json"`). Use `"json"` for token-efficient structured output in agent pipelines.
33
+
30
34
  ## License
31
35
 
32
36
  MIT
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ function parseBunTestOutput(output) {
38
38
  }
39
39
  continue;
40
40
  }
41
- if (line.includes("") || line.startsWith("FAIL ")) {
41
+ if (line.includes("\u2717") || line.startsWith("FAIL ")) {
42
42
  if (currentFailure)
43
43
  failures.push(currentFailure);
44
44
  currentFailure = {
@@ -379,7 +379,7 @@ tool("bun_testCoverage", {
379
379
  logger: createLoggerAdapter(mcpLogger),
380
380
  createCid: createCorrelationId
381
381
  }));
382
- if (__require.main == __require.module) {
382
+ if (import.meta.main) {
383
383
  startServer("bun-runner", {
384
384
  version: "1.0.0",
385
385
  fileLogging: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@side-quest/bun-runner",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Bun test runner MCP server — structured, token-efficient test output for Claude Code",
5
5
  "author": {
6
6
  "name": "Nathan Vale",
@@ -8,7 +8,9 @@
8
8
  },
9
9
  "license": "MIT",
10
10
  "type": "module",
11
- "bin": "./dist/index.js",
11
+ "bin": {
12
+ "bun-runner": "./dist/index.js"
13
+ },
12
14
  "main": "./dist/index.js",
13
15
  "types": "./dist/index.d.ts",
14
16
  "exports": {