`react-with-storybook` template installs ~1000 direct dependencies
See original GitHub issuehi folks, coming back to tsdx after a long absence 😃
Current Behavior
when i do npx tsdx create mylib
and pick the react-storybook template, the resulting project installs every single transitive dependency as a dependency of the scaffolded project. i’m preettty sure this is wrong
Expected behavior
a much cleaner package.json
Suggested solution(s)
i’m not sure what causes this yet, but i’m pretty sure this is unintentional…
Your environment
Software | Version(s) |
---|---|
TSDX | 0.13.2 |
TypeScript | 3.9 |
npm/Yarn | npm 6.14 |
Node | 12.18 |
Operating System | macos |
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
`react-with-storybook` template installs ~1000 direct ... - GitHub
hi folks, coming back to tsdx after a long absence :) Current Behavior when i do npx tsdx create mylib and pick the...
Read more >Install Storybook
Storybook will look into your project's dependencies during its install process and provide you with the best configuration available.
Read more >From my experience, it's really great to work with and definitely ...
The dependencies are needed by people developing WITH React Native as opposed to devDependencies (which are for people developing ON React Native). So...
Read more >How to build a component library with React and Storybook
Storybook runs outside of our application; therefore, we can develop UI components in isolation without worrying about any project dependencies and requirements ...
Read more >intro-storybook-react-template - npm package - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. License: MIT. Security Policy: No.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hmm @agilgur5 i just tried it on my personal machine and got what you got. very strange. this could be a weird bug on my work machine. i will close for now until i can repro.
I was unable to reproduce this:
Repro logs:
The install code is quite simple, so I wouldn’t suspect a bug coming from here.