@selvajs/cli 4.14.2 → 4.16.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/package.json +1 -1
- package/src/checks/config.js +8 -0
package/package.json
CHANGED
package/src/checks/config.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// Checks that read only `.env` values — no filesystem, no network, no
|
|
2
2
|
// subprocesses. These decide whether a deployment is validly configured, so
|
|
3
3
|
// they run on every `selva doctor` regardless of which providers are in play.
|
|
4
|
+
//
|
|
5
|
+
// The reverse-proxy and body-limit rules (checkClientAddress, checkBodySizeLimit)
|
|
6
|
+
// are duplicated in @selvajs/server/ops deploymentConfig.ts, which the admin
|
|
7
|
+
// health panel runs so an operator who never opens a shell sees the same
|
|
8
|
+
// findings. Duplicated because this package is dependency-free by design — it
|
|
9
|
+
// scaffolds the deployment that installs the runtime, so it cannot import from
|
|
10
|
+
// it. `__tests__/doctor-config-parity.test.js` asserts both against one fixture
|
|
11
|
+
// table, so a rule changed here and not there fails CI.
|
|
4
12
|
|
|
5
13
|
import { RENAMED_ENV_VARS, REPLACED_ENV_VARS } from '../env.js';
|
|
6
14
|
import { green, red, yellow } from './result.js';
|