I'm experiencing an issue with the latest version of Stencil CLI (v8.x and above) when using Node.js 20.
When I clone a theme using git clone or download a bundled theme (i.e., a theme that has already been compiled and is ready for upload), the stencil.conf.cjs file is missing from the theme directory. This prevents me from running stencil bundle or other CLI commands unless I manually copy the stencil.conf.cjs file from the original unbundled version.
This issue seems to have started occurring after the Stencil CLI version 8.0 update. In previous versions, this configuration file was always retained even in the bundled theme directory.
Steps to Reproduce:
Clone or download a bundled theme repository.
Attempt to run stencil bundle.
Observe that stencil.conf.cjs is missing, causing the CLI to throw an error.
Environment:
Node.js: 20.x
Stencil CLI: 8.x (latest)
OS: [Your OS, optional]
Expected Behavior: The stencil.conf.cjs file should be retained after bundling or included when cloning/downloading a bundled theme so that developers can continue to use Stencil CLI commands without manually restoring the file.
Actual Behavior: stencil.conf.cjs is missing, which requires manual copying from the original source to proceed.