Releases: Balthazar33/rnx-gen
Releases · Balthazar33/rnx-gen
v1.2.4
v1.2.3
Bug fix
- Removed extra space from component test file
v1.2.2
🚀 What's new?
1. Auto-generate test.utils.tsx
file on running the command for generating the redux folder.
This file contains the renderWithProviders
helper function to wrap individual components with providers while running tests.
You can prevent the creation of this file by passing the option --no-testutil
to the redux
command.
v1.2.1
🚀 What's new?
1. Custom path for files or the redux folder need not begin with src
v1.2.0
🚀 What's new?
1. Added a new command api
to create an api using Redux Toolkit Query:
npx rnx-gen g api dashboard
Supported options:
--path
: Custom path beginning with src (example --path=src/api/home)--keep-name
: Use the resource name provided without modification--no-endpoints
: Do not create the endpoints file--no-dir
: Do not create a separate folder for the api--dry-run
: Simulate command execution without creating any files