Skip to content

Releases: Balthazar33/rnx-gen

v1.2.4

20 Feb 04:19
c2bed80
Compare
Choose a tag to compare

Bug fixes

  • Fixed error while wrapping App.tsx with the redux Provider component in some cases
  • Fixed incorrect/missing peer dependencies for @testing-library/react-native
  • Replaced deprecated type for dispatch in store.utils

v1.2.3

05 Feb 04:53
d868d50
Compare
Choose a tag to compare

Bug fix

  • Removed extra space from component test file

v1.2.2

30 Jan 05:10
9ab3732
Compare
Choose a tag to compare

🚀 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

10 Jan 11:59
Compare
Choose a tag to compare

🚀 What's new?

1. Custom path for files or the redux folder need not begin with src

v1.2.0

08 Jan 07:02
4676c72
Compare
Choose a tag to compare

🚀 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