Configuration Loading: You can now load the package property directly when using --config with package.json, making it easier to manage your configurations.
Error Handling: The system now throws an error when attempting to load an empty configuration file, ensuring you are alerted to potential issues immediately.
Improvements
Code Coverage: We have added comprehensive tests to achieve 100% code coverage, enhancing the reliability of the application.
Type Safety: Flow typing has been introduced, improving type safety and helping you catch errors earlier in the development process.
Fixes
Fix an issue where the conditional for resolving the transform function was faulty, ensuring that configurations are processed correctly.
Resolve the removal of the argv config option, which simplifies the configuration process and avoids unnecessary parsing of command-line arguments.
Others
Revert the previous revert of version 2.2.0, restoring the functionality that was lost in that change.
Set up pre-commit hooks using Husky along with lint-staged and Prettier to ensure code quality before commits.