- Ignore typescript test files
- Bump lodash because vulnerability
- Added a before each hook to the tests
- Added
coverage/*
to.npmignore
- Added
.eslintignore
to.npmignore
- Added
.eslintrc.js
to.npmignore
- Added
.vscode/settings.json
to.npmignore
- Added
test/*
to.npmignore
- Added typescript files to the walker whitelist
.ts
and.tsx
- Array of objects now work correctly
- Array of strings now work correctly
- Fixed crash for JSX in ternary operators
- Ignoring dangerouslySetInnerHtml and src attributes
- Added to JSXAttributes to blacklist
className
,color
,href
,as
- Only traverse the source dir
- Babel generator now tries to maintain lines (
retainLines
) - Babel generator now retains function parenthesis. (
retainFunctionParens
) - Ignore things in react router (path, from, to)
- Ignore things inside any an object or JSX named style
- Added test for nested identifiers
- Added array of objects in aspirational testing
- Added change log
- Dont replace ternaries outside JSX
- Added another troubleshooting tip
- Support for ternary operators
- Ignore
<style jsx>{'.some-class{background:'white';}'}</style>
- Added trouble shooting advice in README.md
- Now accepting src dir in process argv
- A dry run support (Babel parses and generates the code again without changing anything)
- Added support for multiline values
- Added more aspirational test cases
- Fixed template literal in regression testing
- Added keywords in package.json
- Overhauled identifier filtering
- Support let assignments
- Fixed key extractor regex
- Add some aspirational test cases
- Ignore file if unable to parse
- Added support for experimental class properties
- Some inline documentation
- Added fixtures testing
- Replace all JSXText with i18n bindings
- All Identifiers used inside JSX elements should be translated
- Idempotence
- Dont import i18n if there is nothing to translate
- Dont import i18n if nothing changed (idempotence)
- Support for interpolated strings