create-react-hook
create-react-hook copied to clipboard
🎣CLI for easily creating reusable react hooks.
I am trying to publish my own hook as a package. The library works fine. I can run the code in the given example code. but when I link the...
The current version of `react` is v17, but the templates are using v16
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I can't upload and publish my hook :( --- 0 verbose cli [ 0 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 0 verbose cli 'C:\\Users\\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', 0 verbose cli 'publish', 0 verbose cli '--access=public'...
I was unabled to run my hook with the fixed version provided in any of my projects.
Edit: this is solved by updating the packates (using `ncu -u` in my case) Running the rollup build fails on the typescript plugin step, complaining about a recursive definition. ```...
### Issue Attempt to create a new package with an invalid name (not from params) causes the program to freeze. ### Repro steps 1. Call `create-react-hook` with no params 2....
my jest.config.js file is this ``` module.exports = { moduleFileExtensions: ['ts', 'js'], testRegex: '/__tests__/.*\\.(ts|js)$', transformIgnorePatterns: ['/node_modules/'] }; ``` > I have my test files in __tests__ folder Console ouptut ```...
npm test script did not recognize the generated test 'test.ts'. I had to rename it to 'index.test.ts' for it to recognize. Can it be generated as 'index.test.ts'? I think default...