@tested/cli 0.1.2 → 0.1.3
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/README.md +2 -2
- package/dist/td.js +4 -2
- package/dist/tested.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ CI uses the composite Action (`tested-hq/cli/action@main`). It installs `@tested
|
|
|
25
25
|
```yaml
|
|
26
26
|
- uses: tested-hq/cli/action@main
|
|
27
27
|
with:
|
|
28
|
-
version: 0.1.
|
|
28
|
+
version: 0.1.3
|
|
29
29
|
token: ${{ secrets.TESTED_TOKEN }}
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -133,7 +133,7 @@ If `thresholds` is missing from `.tested.yaml`, `tested check` prints a notice o
|
|
|
133
133
|
```yaml
|
|
134
134
|
- uses: tested-hq/cli/action@main
|
|
135
135
|
with:
|
|
136
|
-
version: 0.1.
|
|
136
|
+
version: 0.1.3
|
|
137
137
|
push: true
|
|
138
138
|
pr-number: ${{ github.event.pull_request.number }}
|
|
139
139
|
token: ${{ secrets.TESTED_TOKEN }}
|
package/dist/td.js
CHANGED
|
@@ -1053,7 +1053,9 @@ function assertSafeApiBase(raw) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
function resolveApiBase(opts) {
|
|
1055
1055
|
const env = opts.env ?? process.env;
|
|
1056
|
-
const
|
|
1056
|
+
const flag = opts.flag?.trim();
|
|
1057
|
+
const fromEnv = env.TESTED_API_URL?.trim();
|
|
1058
|
+
const raw = flag || fromEnv || DEFAULT_API_BASE;
|
|
1057
1059
|
return assertSafeApiBase(raw);
|
|
1058
1060
|
}
|
|
1059
1061
|
function redactGitRemote(url) {
|
|
@@ -1879,7 +1881,7 @@ import pc3 from "picocolors";
|
|
|
1879
1881
|
// package.json
|
|
1880
1882
|
var package_default = {
|
|
1881
1883
|
name: "@tested/cli",
|
|
1882
|
-
version: "0.1.
|
|
1884
|
+
version: "0.1.3",
|
|
1883
1885
|
description: "Coverage your agent can use. CLI for patch + project coverage with agent-readable JSON output.",
|
|
1884
1886
|
license: "MIT",
|
|
1885
1887
|
homepage: "https://tested.dev",
|
package/dist/tested.js
CHANGED
|
@@ -1053,7 +1053,9 @@ function assertSafeApiBase(raw) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
function resolveApiBase(opts) {
|
|
1055
1055
|
const env = opts.env ?? process.env;
|
|
1056
|
-
const
|
|
1056
|
+
const flag = opts.flag?.trim();
|
|
1057
|
+
const fromEnv = env.TESTED_API_URL?.trim();
|
|
1058
|
+
const raw = flag || fromEnv || DEFAULT_API_BASE;
|
|
1057
1059
|
return assertSafeApiBase(raw);
|
|
1058
1060
|
}
|
|
1059
1061
|
function redactGitRemote(url) {
|
|
@@ -1879,7 +1881,7 @@ import pc3 from "picocolors";
|
|
|
1879
1881
|
// package.json
|
|
1880
1882
|
var package_default = {
|
|
1881
1883
|
name: "@tested/cli",
|
|
1882
|
-
version: "0.1.
|
|
1884
|
+
version: "0.1.3",
|
|
1883
1885
|
description: "Coverage your agent can use. CLI for patch + project coverage with agent-readable JSON output.",
|
|
1884
1886
|
license: "MIT",
|
|
1885
1887
|
homepage: "https://tested.dev",
|
package/package.json
CHANGED