-
Notifications
You must be signed in to change notification settings - Fork 994
Closed
Description
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
| "dependencies": { |
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-28Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels