All packages in dependencies section in an ejected project
Hey guys. Most probably it is asked before, but couldn't find it. So: Can someone tell me when I eject the project, all packages are pre-configured to be part of dependencies section in package.json? Doesn't seem to be a good practice or maybe I'm missing something. Thanks.
Hey all - WSL2 yarn start very slow
Not sure if anyone has experience using create-react-app in WSL2, but my yarn start command is running awfully slow. Does anyone have any suggestions that may help? I've gone ahead and created another test app and found similar results. My computer specs: intel i7-8650U 2.11…
Including generated code in create-react-app
We have lots of generated TypeScript code coming from Swagger (and other tools). The convention is to have generated code as a sibling of src called generated/src or gensrc -- is there a way to use this pattern with react-scripts, given the restriction against importing code…
Hey all- I was hoping to get some help re: --scripts-version
I maintain a fork of CRA and it seems as though the new template work prevents projects initiated with the --scripts-version flag from importing even the default template. Could someone point me to the right place to remedy that? In looking through the template commit…
Storybook Storyshots issues?
Has anyone else had problems using Storybook Storyshots with a static build of your Storybook? It works fine if I set storybookUrl to the local URL (http://localhost:9009/), but when I set it to use the local build (path.resolve('public')), I just get a bunch of these errors: I…
Running Cypress with `npm test` sets NODE_ENV to development
Hi guys, I was about to create a issue but I'm sure this is more of a misunderstanding from my part so here goes: I set up Cypress to run e2e tests on my application, which I run with npm test (cypress open --config-file cypress/cypress.json). My problem is that the CRA docs say…
SyntaxError: Unexpected identifier when running jest tests
I have a create-react-app project with TypeScript. I recently added the package material-ui-dropzone to my project, and suddenly all my tests are failing because of a SyntaxError in a file I haven't really touched. I've seen other people having problems with es6 imports and…