Commit Graph

5 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Tom Wanzek
9ecd90e9e8 refactor(*): refactor d3-scale and d3-scale-chromatic
BREAKING CHANGE:
* refactor(d3-scale) update to major version 2.0. As a breaking change all color related features are removed. schemeCategory20x features are removed without replacement. All other color features are moved to d3-scale-chromatic 1.2
* refactor(d3-scale-chromatic): update to minor version 1.2 by including refactored features dropped from  d3-scale 2.0: schemeCategory10 and color interpolators.
* fix(d3-scale) All input arguments for domain or range arrays now also permit ReadonlyArray<T> as inputs. This change allows seamless integration with the color schemes defined in d3-scale-chromatic. This change has been applied to both d3-scale 1.x and 2.x.
* chore(d3-scale-chromatic) activate strictNullChecks
* chore(d3-scale) move d3-scale 1.x into legacy folder `v1` and update tsconfig.json including path mapping for d3-scale itself to pick up legacy version in its own legacy tests
* test(d3-scale) update tests including integration test with d3-scale-chromatic
* test(d3-scale-chromatic) update tests. Including generalized assignment tests for interplators and schemes.
* chore(*) update version numbers for d3-scale and d3-scale-chromatic
2018-02-08 16:50:46 -05:00
Andy
bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00