Firstly thanks for all your hard work on this fantastic library.
I wanted to point out a couple issues with boolean-valid. If boolean-valid does not seem to be be part of @turf/turf. I'm not sure if this is intentional? To reproduce do npm install @turf/turf and try and use turf.booleanValid.
Also, there appears to be a dependency on boolean-disjoint. I'm not sure if this should be specified in the depdencies here
?
To reproduce second issue:
import { Feature } from 'geojson';
import booleanValid from '@turf/boolean-valid';
export function featureIsValid(feature: Feature): boolean {
return booleanValid(feature);
}
Without install boolean-disjoint results in:
ERROR in ../node_modules/@turf/boolean-disjoint/index.js
Module build failed: Error: ENOENT: no such file or directory, open '/home/james/Code/dentreality/customer-portal/node_modules/@turf/boolean-disjoint/index.js'
@ ../node_modules/@turf/boolean-valid/dist/es/index.js 3:0-53 107:13-28
Firstly thanks for all your hard work on this fantastic library.
I wanted to point out a couple issues with
boolean-valid. Ifboolean-validdoes not seem to be be part of@turf/turf. I'm not sure if this is intentional? To reproduce donpm install @turf/turfand try and useturf.booleanValid.Also, there appears to be a dependency on
boolean-disjoint. I'm not sure if this should be specified in the depdencies hereturf/packages/turf-boolean-valid/package.json
Line 50 in b3b5284
To reproduce second issue:
Without install
boolean-disjointresults in: