detect_stencil_version
Identify the StencilJS version used in a project by reading node_modules/@stencil/core and package.json, ensuring suggestions match the installed framework.
Instructions
Detect the StencilJS version a project is actually using so suggestions match the installed framework. Reads node_modules/@stencil/core and package.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | No | Absolute path to the project root. Defaults to the current working directory. |