9 Commits

Author SHA1 Message Date
Colin Murphy
3bbd7590c4
Replaced polygon-clipping with polyclip-ts (#2729)
* Replaced polygon-clipping with polyclip-ts

---------

Co-authored-by: colin <cmurphy@terabase.energy>
Co-authored-by: James Beard <james@smallsaucepan.com>
2024-12-22 18:01:00 +11:00
mfedderly
2e9d3d51f7
Add Prettier and ESLint to the builds (#1965)
* Configure ESlint and Prettier
- Disable all eslint rules that trigger
- Build's lint step now runs monorepoint, prettier, and eslint
- Remove all tslint references

* [auto] run prettier on everything

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-12-08 19:24:15 -05:00
Michael Bullington
908dedbe1a
turf-union, turf-difference, turf-intersect: Swap out martinez-polygon-clipping for polygon-clipping used in v7. (#1916)
* swap out martinez-polygon-clipping for polygon-clipping

* reinstate single polygon return on turf-difference

* reinstate single polygon return for turf-intersect

* remove @ts-ignore from intersect and union

* reinstate single polygon return for turf-union

* remove leftover comment on turf-intersect type error

Co-authored-by: Nick Gottlieb <ngottlieb@gmail.com>
Co-authored-by: mfedderly <mdfedderly@mdfedderly.com>
2020-07-08 16:05:40 -04:00
Denis
8a3659dc0b Update turf-difference tests 2018-01-26 21:52:42 -05:00
Denis
a39b0cd7f8 Update to Major release format v6 & update tests 2018-01-26 17:28:05 -05:00
Rowan Winsemius
3dc69dce32 Initial commit remove jsts for turf/difference 2018-01-17 22:46:25 +11:00
Denis
60b2ee012a Fix jsts empty (Multi)Polygon error @turf/difference (#725)
* Update fixtures from https://github.com/Turfjs/turf/pull/644

* Fix jsts empty (Multi)Polygon error
- Major refactoring to `index.js` & `test.js`
- Update JSDocs & Typescript definition to support MultiPolygon
https://github.com/Turfjs/turf/issues/721
2017-05-10 00:46:30 -04:00
Denis
b1a0ede1f5 Clean package.json
- Remove .npmignore in favor of files: [] in package.json
- Remove yarn.lock files
- Make sure devDependencies & dependencies are at the bottom of package.json
- Normalize scripts `node test.js` & `node bench.js`
- Normalize description `turf <name> module (descriptions should be maintained by JSDocs index.js)
- Change LICENSE author to TurfJS

CC: @morganherlocker
2017-03-05 23:40:09 -05:00
Tom MacWright
2143b515f7 Improve performance by using invariant.getCoord
This simplifies calls to methods that previously required GeoJSON:
by allowing coordinates as well in those calls, we cut down on churning
through objects.

This needs a second pass to hook up dependencies and standardize
invariant once I land.
2016-03-09 22:49:53 -05:00