Skip to content

Releases: datarockets/dreact

v0.3.0

03 Sep 09:10
Compare
Choose a tag to compare

Enhanced

  • We fail test cases if there are console.error or console.warn executed. This is mostly to keep test cases up-to-date through the time and match them with prop-types definitions.

  • We now allow override eslint config for each project. It's not possible to remove everything added by us and add new rules.

  • We turned on a check of useless inline disables of eslint rules.

  • Up-to-date dependencies.

v0.2.1

23 Aug 16:41
Compare
Choose a tag to compare

This release brings new dependencies.

It also fixes some linters and brings new react-scripts from 3.0.1 to 3.1.1.

v0.2.0

19 Aug 19:07
Compare
Choose a tag to compare

Enhanced

  • Consider src/services as a separate category when linting the order of imports (0cf1111, #6)

  • Require all components to be written as normal functions. That is mostly to avoid arrow functions as part of convention. (b1d4577, #5)

  • Require tests for the source code. We now require all files to have corresponding test file. (e217d37, #4)

  • Forbid default export in certain files inside collections: api.js, actions.js and use.js (8b11e30, #8)

Fixed

  • Removed default filter when running Jest (5d62f05, #7)

v0.1.5

13 Aug 20:24
Compare
Choose a tag to compare

Fixed

  • Remove some legacy eslint rules to make it more stronger

v0.1.4

13 Aug 09:15
Compare
Choose a tag to compare

Fixed

  • Eliminate the conflict between eslint and prettier. We basically turn off eslint rules once we can find prettier in the dependency list of the main app.

  • All the code inside dreact package now compiled by Jest.

Enhanced

  • Setup Jest to work with enzyme.

    We now use basic setup script so you don't need to care about tests in each project. Just run dreact test to run tests with jest and enzyme.

    It also provides dreact/helper-test which exposes enzyme package. So we are sure that we use correct enzyme environment under the hood.

v0.1.3

08 Aug 19:46
Compare
Choose a tag to compare

Fixed

  • Don't crash when ./src/collections directory doesn't exist (64ec232)

v0.1.2

08 Aug 14:48
Compare
Choose a tag to compare

Fixed

  • Fix crash after running dreact test (bd9d8b3)

Enhanced

  • Have more robust behavior of automatic sagas and reducers counting (73aab23, 285b144)

v0.1.1

07 Aug 11:43
Compare
Choose a tag to compare

Fixed

  • Crash when src/collections directory does not exist

Enhanced

  • Allow pages to be files or directories (src/pages/Home.js and src/pages/Home/index.js)

v0.1.0

06 Aug 22:36
Compare
Choose a tag to compare

Initial release. It contains these modules:

  • cli — infrastructure
  • helper-actions — to work with actions
  • helper-book — to write the book easier
  • helper-store — to organize store