Skip to content

Releases: brodycj/create-react-native-module

0.9.0

06 Apr 00:58
Compare
Choose a tag to compare
  • testing: test lib/cli-program.js with mocking on Android
  • cleanup: Split up cli.js
  • testing: quick integration test of ./cli.js --help
  • chore: execa@2.0.4 update
  • chore: uuid@3.3.3 update
  • quick internal cleanup for synchronous commandSync (#74)

create-react-native-module 0.8.0

06 Apr 00:58
Compare
Choose a tag to compare
  • testing: Quick mocking of console logging in a single test
  • cleanup: cleanup internal lib function names & arguments
  • testing: move injection I/O options into a hidden argument
  • testing: test lib-cli-command func using Jest mock
  • fix func in lib/cli-command.js to return a promise
  • testing: add tests/mocked-lib-windows-defaults
  • testing: cleanup mocked-lib-with-config-options-windows
  • testing: fully mocked library test for Windows
  • testing: fully mocked library test with example
  • cleanup: simpler ENOENT error message test
  • cleanup: throw TypeError in case of missing name
  • remove mockable jsonfile option from lib API
  • cleanup: cleanup imports in lib/lib.js
  • Use real execa in place of fake internal execa object
  • Drop support for React Native pre-0.59
  • testing: Windows unit test with config options (#70)
  • testing: check cli-command object
  • testing: jsonfile test updates & fixes (#68)
  • cleanup internal updatePlatformInFile function (#64)
  • cleanup templates/*.js: remove zero max-len lines (#62)
  • testing: add and move some test scripts
  • Merge pull request #59 from brodybits/general-test-updates

0.7.0

06 Apr 00:57
Compare
Choose a tag to compare
  • More README.md updates for 0.7.0 (#56)
  • README.md updates for 0.7.0
  • MIT license by default
  • Add tests with generateExample: true setting
  • Add mockable jsonfile object to the library API
  • fake execa object that can be mocked from the API
  • factor out lib/utils/exec.js
  • Fix handling of default platforms value in lib API
  • Add limited jest testing with snapshots
  • do lint in test script
  • Add mockable fs Object option to library API
  • Fix internal renderTemplateIfValid function
  • remove mkdirp (no longer needed)
  • include .swift files in podspec
  • remove createFile and createFolder, in favor of using fs-extra
  • Remove unused utils hasPrefix and isUppercase

0.6.1

06 Apr 00:56
Compare
Choose a tag to compare
  • restore cli.js in package.json files list, which was accidentally removed during cleanup in PR #33 (#49)

0.6.0

06 Apr 00:55
Compare
Choose a tag to compare
  • Version 0.6.0 status in README.md (#44)
  • chore: remove & reinstall eslint packages in devDependencies to resolve Yarn audit issues
  • cleanup: remove package items not needed (#35)
  • cleanup: move some JavaScript modules into lib subdirectory (#33)
  • Gradle updates in android.js (#24)
  • Add exampleReactNativeVersion option
  • Fix some more fields in generated podspec
  • factor duplicated keys out of command.js
  • Updated TODO comments in generated code
  • Completely remove npm fallback for example
  • Update doc for exampleName & useCocoapods options
  • Cleanup & fix generateExampleWithName in lib.js
  • update-notifier@3 update
  • Bump version to 0.6.0-dev
  • eslint updates in devDependencies
  • Other lint fixes
  • Quick lint fixes to templates/ios.js
  • Fix hardcoded target name in example Podfile
  • Remove the Podfile from library ios project, because it messes up example build
  • Make TestLibrary.xcworkspace compilable on its own
  • Fix formatting
  • Add use cocoapods flag
  • Add AFNetworking test code
  • Add ios example podfile
  • Add description, which is inherited and required by podspec
  • Add AFNetworking pod to library as an example
  • Set podspec name to module name for conventions
  • Pass exampleName to comments in example template
  • Pass exampleName to example template
  • Fix .npmignore template to support custom example name
  • support setting example project name with example project name parameter

0.5.0

06 Apr 00:55
Compare
Choose a tag to compare
  • Update devDependencies for React Native 0.59.4
  • Other generated Android build updates from RN 0.59
  • Add and update badges (#16)
  • Update android.js - upgrade gradle plugin to newest version

0.4.1

06 Apr 00:55
Compare
Choose a tag to compare
  • bugfix: add normalized-options.js to files entry (#13)

0.4.0

06 Apr 00:51
Compare
Choose a tag to compare
  • doc: Add some badges (#11)
  • add @brodybits to LICENSE (#10)
  • Fix defaults & help text in command.js & README.md
  • Updated generated dependencies - now more flexible
  • chore: commander@2.20.0 update
  • chore: update devDependencies
  • lib.js log updates
  • chore: lib.js cleanup & refactoring
  • correct module name from normalized-options.js
  • Update programmatic function name
  • do not import hasPrefix in lib.js
  • Add '-V, --version' option
  • Add exception handling when there is no library's name (frostney/react-native-create-library#103)

0.3.0

06 Apr 00:51
Compare
Choose a tag to compare
  • add --module-name option
  • blank prefix by default
  • Fix known inconsistencies in documented options
  • Remove --override-prefix check
  • Update generated build.gradle to match RN 0.58.6
  • chore: resolve eslint issues

0.2.0

06 Apr 00:49
Compare
Choose a tag to compare
  • lint: use eslint@5 with (semi)standard config, with no failures
  • lint: add missing semicolons
  • chore: update all dependencies (except for mkdirp) & regenerate yarn.lock
  • test: Update npm test script to exit with an error