hushrun 0.0.0-stage → 0.3.0

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/LICENSE.md ADDED
@@ -0,0 +1,37 @@
1
+ # hushrun license
2
+
3
+ Copyright (c) 2026 hushrun. All rights reserved.
4
+
5
+ This license covers hushrun ("the software"): its binaries, its installers and install script, its
6
+ npm packages, its container image, and its GitHub Actions and reusable workflow. hushrun is not
7
+ open source.
8
+
9
+ ## What you may do
10
+
11
+ You may download, install and use the software free of charge, for any purpose, including
12
+ commercial use. You may keep the copies you need to do that: in a CI cache, in a package or
13
+ container registry you use, or in a repository of yours, such as the install script
14
+ `install-hushrun.sh`.
15
+
16
+ ## What you may not do
17
+
18
+ Except as this license allows, you may not:
19
+
20
+ - copy the software;
21
+ - modify it, or make works based on it;
22
+ - reverse engineer, decompile or disassemble it, except where applicable law allows that despite
23
+ this limitation;
24
+ - redistribute, sell, rent, lend or sublicense it, or otherwise make it available to others.
25
+
26
+ ## Open-source components
27
+
28
+ The software includes open-source components, listed with their licenses in
29
+ THIRD-PARTY-NOTICES.md. Each component is under its own license, and nothing in this license
30
+ limits the rights that license gives you.
31
+
32
+ ## No warranty
33
+
34
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING THE
35
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT
36
+ WILL HUSHRUN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR
37
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
package/README.md CHANGED
@@ -1,3 +1,90 @@
1
- # Temporary Holding Version
1
+ # hushrun
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ hushrun skips a check this exact code already passed: on your laptop, in CI and in an agent's
4
+ sandbox. This package puts its `hushrun` command on your PATH through npm.
5
+
6
+ [Docs](https://hushrun.com/docs) · [Quickstart](https://hushrun.com/docs/quickstart) ·
7
+ [Compared with Nx, Turborepo and Bazel](https://hushrun.com/docs/compare) ·
8
+ [Pricing](https://hushrun.com/pricing)
9
+
10
+ ## Set up a repository
11
+
12
+ At the repository's root:
13
+
14
+ ```bash
15
+ npx hushrun init
16
+ ```
17
+
18
+ `init` finds the checks in package.json's scripts, signs you in, shows the changes, and applies
19
+ them when you say yes: each check runs through `hushrun run`, and package.json gets hushrun
20
+ in devDependencies, so every teammate and CI job runs the same hushrun.
21
+
22
+ ```json
23
+ "scripts": {
24
+ "test": "hushrun run -- vitest run"
25
+ }
26
+ ```
27
+
28
+ Run a check twice, and the second run skips:
29
+
30
+ ```text
31
+ $ npm test
32
+ hushrun: test running: no pass yet for this exact code
33
+ … vitest's output …
34
+ hushrun: test passed in 41s; it won't run again on this code
35
+ $ npm test
36
+ hushrun: test skipped: this exact code passed just now (saves 41s)
37
+ ```
38
+
39
+ A coding agent runs `npx hushrun init --yes`, which applies the changes without asking.
40
+
41
+ ## How the package works
42
+
43
+ `hushrun` is a small Node script that runs the hushrun binary from the package for your
44
+ platform. That package is an optional dependency, so npm, pnpm, yarn and bun install only the
45
+ one that matches:
46
+
47
+ | Package | Platform |
48
+ |---|---|
49
+ | `@hushrun/cli-darwin-arm64` | macOS on Apple silicon |
50
+ | `@hushrun/cli-darwin-x64` | macOS on Intel |
51
+ | `@hushrun/cli-linux-arm64` | Linux on arm64 (static, any libc) |
52
+ | `@hushrun/cli-linux-x64` | Linux on x64 (static, any libc) |
53
+ | `@hushrun/cli-win32-arm64` | Windows on arm64 |
54
+ | `@hushrun/cli-win32-x64` | Windows on x64 |
55
+
56
+ Arguments, input and output pass through unchanged, and `hushrun` exits with the binary's exit
57
+ code, or by the same signal. It sets `HUSHRUN_NPM_PACKAGE` to `hushrun@<version>`, the package
58
+ `hushrun init` adds to devDependencies, unless it is already set.
59
+
60
+ An install that leaves out optional dependencies (`--omit=optional`, `--no-optional`) has no
61
+ binary, and `hushrun` says so. Where this package has no binary, `HUSHRUN_BINARY` names one to
62
+ run instead.
63
+
64
+ ## Other installs
65
+
66
+ Without npm, on macOS and Linux:
67
+
68
+ ```bash
69
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hushrun/hushrun/releases/latest/download/hushrun-installer.sh | sh
70
+ ```
71
+
72
+ On Windows:
73
+
74
+ ```powershell
75
+ powershell -ExecutionPolicy Bypass -c "irm https://github.com/hushrun/hushrun/releases/latest/download/hushrun-installer.ps1 | iex"
76
+ ```
77
+
78
+ ## Update
79
+
80
+ At a terminal, hushrun says once a day when a newer release is out. Update this package with
81
+ your package manager, such as `npm install hushrun@latest`. `hushrun update` updates what the
82
+ installers above installed. To know, hushrun asks GitHub at most once a day, never in CI;
83
+ `HUSHRUN_NO_UPDATE_CHECK=1` turns that off.
84
+
85
+ ## License
86
+
87
+ hushrun is free to use under the terms in
88
+ [LICENSE.md](https://github.com/hushrun/hushrun/blob/main/LICENSE.md), and isn't open source.
89
+ [THIRD-PARTY-NOTICES.md](https://github.com/hushrun/hushrun/blob/main/THIRD-PARTY-NOTICES.md)
90
+ lists the open-source crates it is built with, and their licenses. This package holds both files.