dev-booster 1.16.4 → 1.16.5
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
CHANGED
|
@@ -81,8 +81,14 @@ Load only when lint is being blocked by unclear legacy choices, suppressions, or
|
|
|
81
81
|
## 5. PRE-FLIGHT (MANDATORY AND ACTIVE)
|
|
82
82
|
Start working immediately.
|
|
83
83
|
|
|
84
|
-
### Step A — Check
|
|
85
|
-
|
|
84
|
+
### Step A — Check runtime before lint
|
|
85
|
+
Before any `npm`, `npx`, or lint command, verify the project runtime:
|
|
86
|
+
- if `.nvmrc` exists, read it and use the project's Node version first
|
|
87
|
+
- when the project clearly expects NVM-managed Node, do not try random `npm` commands before switching runtime
|
|
88
|
+
- if `.nvmrc` is missing, continue with the currently available runtime and inspect the project normally
|
|
89
|
+
- if Node/NPM is still unavailable after the expected runtime switch, report that clearly as a setup blocker
|
|
90
|
+
|
|
91
|
+
Only after runtime is aligned, inspect what is necessary to answer:
|
|
86
92
|
- is there a `lint` script?
|
|
87
93
|
- is ESLint config present?
|
|
88
94
|
- is the project using framework wrappers such as `next lint`?
|