Merge pull request #22456 from minkimcello/mk/new-create-app

Migrate create-app template to use the new backend
This commit is contained in:
Patrik Oldsberg
2024-03-19 08:52:13 +01:00
committed by GitHub
18 changed files with 77 additions and 342 deletions
+3
View File
@@ -418,6 +418,9 @@ async function switchToReact17(appDir: string) {
'react-dom': '^17.0.0',
'@types/react': '^17.0.0',
'@types/react-dom': '^17.0.0',
'swagger-ui-react/react': '17.0.2',
'swagger-ui-react/react-dom': '17.0.2',
'swagger-ui-react/react-redux': '^8',
};
await fs.writeJson(resolvePath(appDir, 'package.json'), rootPkg, {
spaces: 2,