You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Thanks for your interest in improving h2m-parser! Keeping cognitive load low is
22
22
- Husky runs `lint-staged` to format/lint staged files. Make sure your commits are clean.
23
23
- Use [Changesets](https://github.com/changesets/changesets) for release notes. After feature work, run `bun changeset` to document changes and version bumps.
24
24
- When the release PR opens, review the changelog and, after merging, approve the pending run in the `release` environment to publish.
25
-
- CI runs `bun lint`, `bun typecheck`, `bun test`, and `bun build`. Keep the `verify` script green locally before pushing.
25
+
- CI runs `bun lint`, `bun typecheck`, `bun test`, and `bun run build`. Keep the `verify` script green locally before pushing.
Copy file name to clipboardExpand all lines: docs/PERFORMANCE-REGRESSION.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ bun bench:compare:full
179
179
180
180
```bash
181
181
# Watch mode - rerun on file changes
182
-
bun build:watch & bun bench:compare:quick
182
+
bun run build:watch & bun bench:compare:quick
183
183
```
184
184
185
185
> ℹ️ **Configuration parity:**`bun bench:baseline`, `bun bench:regression`, and `bun bench:readme --fresh` all invoke the same comparison run (100 iterations, 3 warmups, 5MB per-file limit, dataset `tests/fixtures`). This keeps the baseline, regression gate, and published metrics directly comparable.
Copy file name to clipboardExpand all lines: docs/RELEASE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Need to kick a release outside of an automatic merge? Use **Actions → Release
33
33
34
34
-*Publish fails with auth errors*: confirm the npm trusted publisher entry still points at `.github/workflows/release.yml` and the `release` environment exists. Re-run the job after fixing.
35
35
-*No release PR appears*: make sure there is at least one unpublished changeset file on `main`; otherwise the workflow exits early. You can run it manually via `workflow_dispatch`.
36
-
-*Need to bypass automation*: as a last resort you can run `bun verify && bun build && npm publish --access public`, but follow up by re-running `bun changeset version` so history stays in sync.
36
+
-*Need to bypass automation*: as a last resort you can run `bun verify && bun run build && npm publish --access public`, but follow up by re-running `bun changeset version` so history stays in sync.
Copy file name to clipboardExpand all lines: docs/SCRIPTS.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ This document mirrors the scripts defined in `package.json` so newcomers can dis
4
4
5
5
## Build & Packaging
6
6
7
-
-`bun build` – Build the distributable bundles in `dist/` via tsup.
8
-
-`bun build:watch` – Rebuild bundles on file changes (handy while working on the CLI).
7
+
-`bun run build` – Build the distributable bundles in `dist/`.
8
+
-`bun run build:watch` – Rebuild bundles on file changes (handy while working on the CLI).
9
9
-`bun build:binary` – Compile standalone executable for current platform.
10
10
-`bun build:binary:all` – Build binaries for all platforms (Linux, macOS, Windows)
11
-
-`bun prepack` – Convenience alias used by npm when publishing; runs `bun build`.
11
+
-`bun prepack` – Convenience alias used by npm when publishing; runs `bun run build`.
12
12
13
13
## Quality Gates
14
14
@@ -27,12 +27,12 @@ This document mirrors the scripts defined in `package.json` so newcomers can dis
27
27
## Publishing
28
28
29
29
-`bun changeset` – Create or edit Changesets.
30
-
-`bun release` – Build and publish using Changesets automation (calls `bun build` internally).
30
+
-`bun release` – Build and publish using Changesets automation (calls `bun run build` internally).
31
31
-`bun prepare` – Husky hook installer (runs automatically after install).
32
32
33
33
## Benchmarking & Performance Tooling
34
34
35
-
The benchmarking utilities live under `bench/` and expect a fresh build (`bun build`) before running because they import from the compiled bundles. The `bun bench` command opens an interactive menu that wraps the most common flows; every entry has a matching script for CI usage.
35
+
The benchmarking utilities live under `bench/` and expect a fresh build (`bun run build`) before running because they import from the compiled bundles. The `bun bench` command opens an interactive menu that wraps the most common flows; every entry has a matching script for CI usage.
36
36
37
37
### Everyday commands
38
38
@@ -77,7 +77,7 @@ The benchmarking utilities live under `bench/` and expect a fresh build (`bun bu
77
77
```bash
78
78
bun install # bootstrap
79
79
bun verify # lint + typecheck + tests
80
-
bun build # produce dist/ bundles
80
+
bun run build# produce dist/ bundles
81
81
bun bench # open interactive benchmark menu
82
82
bun bench quick # run quick benchmark via CLI shortcut
83
83
bun bench:compare # compare h2m-parser vs. other converters (Markdown output)
0 commit comments