@devrouter/cli 0.0.36 → 0.0.37

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/dist/devrouter.js CHANGED
@@ -2049,7 +2049,7 @@ function loadRepoConfig(repoPath) {
2049
2049
  const config = parseConfig(parsed ?? {}, configPath);
2050
2050
  const requiredVersion = config.devrouter?.version;
2051
2051
  if (requiredVersion && !hasWarnedVersionMismatch) {
2052
- const cliVersion = true ? "0.0.36" : "0.0.0-dev";
2052
+ const cliVersion = true ? "0.0.37" : "0.0.0-dev";
2053
2053
  if (cliVersion !== "0.0.0-dev" && compareSemver(requiredVersion, cliVersion) > 0) {
2054
2054
  hasWarnedVersionMismatch = true;
2055
2055
  process.stderr.write(
@@ -5794,7 +5794,7 @@ async function buildDoctorReport(options = {}) {
5794
5794
  const config = runtimeConfig.config;
5795
5795
  loadedConfig = config;
5796
5796
  loadedWorkspace = runtimeConfig.workspace;
5797
- const cliVersion = true ? "0.0.36" : "0.0.0-dev";
5797
+ const cliVersion = true ? "0.0.37" : "0.0.0-dev";
5798
5798
  const configVersion = config.devrouter?.version;
5799
5799
  if (configVersion && cliVersion !== "0.0.0-dev" && compareSemver(configVersion, cliVersion) > 0) {
5800
5800
  addCheck(checks, {
@@ -6457,7 +6457,8 @@ function probeHttpRoute(host, options = {}) {
6457
6457
  String(options.maxTimeSeconds ?? 5)
6458
6458
  ];
6459
6459
  if (tlsEnabled) {
6460
- args.push("--cacert", getMkcertRootCAPath({ repoPath: options.repoPath }));
6460
+ getMkcertRootCAPath({ repoPath: options.repoPath });
6461
+ args.push("--cacert", CERT_FILE);
6461
6462
  }
6462
6463
  args.push(url);
6463
6464
  const result = (0, import_node_child_process13.spawnSync)("curl", args, { encoding: "utf-8" });
@@ -11424,7 +11425,7 @@ var init_version = __esm({
11424
11425
 
11425
11426
  // src/cli.ts
11426
11427
  var import_commander = require("commander");
11427
- var CLI_VERSION = true ? "0.0.36" : "0.0.0-dev";
11428
+ var CLI_VERSION = true ? "0.0.37" : "0.0.0-dev";
11428
11429
  var VERSION_FLAGS = /* @__PURE__ */ new Set(["-V", "--version"]);
11429
11430
  function withErrorHandling(action2) {
11430
11431
  return async (...args) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrouter/cli",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "Local dev routing CLI with shared Traefik reverse proxy",
5
5
  "author": "Roland Schlaefli",
6
6
  "homepage": "https://github.com/rschlaefli/devrouter#readme",
@@ -0,0 +1,30 @@
1
+ # Upgrade to devrouter 0.0.37
2
+
3
+ Devrouter HTTPS readiness probes now pin curl to the exact certificate served
4
+ by the local Traefik router. This avoids a macOS SecureTransport failure while
5
+ retaining hostname verification, SNI, and the existing route status contract.
6
+
7
+ 1. Install `@devrouter/cli@0.0.37` on the host and bump `.devrouter.yml` to
8
+ `devrouter.version: 0.0.37`.
9
+ 2. No schema or data migration is required.
10
+ 3. Re-run `devrouter doctor --repo <checkout> --json` and then use
11
+ `devrouter ensure <checkout> --json` for managed startup. The readiness
12
+ probe still requires the existing mkcert setup and does not use an
13
+ insecure certificate bypass.
14
+
15
+ Verification:
16
+
17
+ - Run `devrouter -V --repo <checkout>` and confirm both the installed CLI and
18
+ local repository report `0.0.37`.
19
+ - Run `devrouter repo devcontainer verify --repo <checkout> --json` and confirm
20
+ the static checks pass.
21
+ - Run `devrouter ensure <checkout> --json` and confirm the HTTPS route reaches
22
+ the existing status contract (`100..499` accepted, `5xx` rejected).
23
+
24
+ Report template:
25
+
26
+ - CLI/config version: `0.0.37`
27
+ - mkcert setup and certificate readiness: `<passed or details>`
28
+ - Static verification: `<passed or details>`
29
+ - Managed HTTPS readiness: `<passed or details>`
30
+ - Remaining blockers: `<none or details>`