chore: update lockfile - #10619
Conversation
Code Review by Qodo
1. Webpack template unregistered
|
PR Summary by QodoUpdate pnpm lockfile
AI Description
High-Level Assessment
Files changed (1)
|
@bitdev/react.generators.react-templates 6.0.6 deleted webpack-template/app-template, so the bump to 6.0.9 in the lockfile update broke check-types. The rspack replacement in that package is not re-exported from its entry point, so there is nothing to swap in; the react-cjs-app template is simply gone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
| ReactWebpackTemplate.from({ env: 'bitdev.react/react-env' }), | ||
| // ReactWebpackAppTemplate.from({ env: 'bitdev.react/react-env' }), | ||
| ReactJSComponentTemplate.from({ env: 'bitdev.react/react-env' }), | ||
| ReactEnvTemplate.from(), | ||
| ]); |
There was a problem hiding this comment.
1. Webpack template unregistered 🐞 Bug ≡ Correctness
scopes/react/react/react.templates.ts removes ReactWebpackTemplate from the templates returned by getTemplates(), so the Generator aspect will no longer expose that template for component generation under this env.
Agent Prompt
### Issue description
The React env no longer registers the webpack-based generator template (`ReactWebpackTemplate`). This removes it from the template set exposed via `generator.registerComponentTemplate(...)`, which can break template selection/generation flows that expect it to exist.
### Issue Context
`getTemplates()` defines the full list of component templates, and `ReactMain` registers that list with the Generator aspect.
### Fix Focus Areas
- scopes/react/react/react.templates.ts[1-21]
- scopes/react/react/react.main.runtime.ts[470-478]
### Expected fix
- If webpack-based generation is still supported: re-add `ReactWebpackTemplate` import and its `.from(...)` entry in the `TemplateList.from([...])` list.
- If it is intentionally deprecated: add an explicit replacement path (e.g., documented Vite template), and update the PR description/changelog so consumers understand the removal and can migrate.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
Code review by qodo was updated up to the latest commit cfea426 |
Proposed Changes