Skip to content

Commit 2fbb518

Browse files
authored
Add explicit geojson types dependency (#2676)
* Use monorepolint to enforce @types/geojson dependency on all packages * Apply monorepolint and run pnpm install
1 parent e231564 commit 2fbb518

File tree

117 files changed

+464
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+464
-55
lines changed

.monorepolint.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,14 @@ export default {
250250
},
251251
includePackages: [MAIN_PACKAGE],
252252
}),
253+
254+
requireDependency({
255+
options: {
256+
dependencies: {
257+
"@types/geojson": "^7946.0.0",
258+
},
259+
},
260+
includePackages: [MAIN_PACKAGE, ...TS_PACKAGES, ...JS_PACKAGES],
261+
}),
253262
],
254263
};

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"@monorepolint/config": "0.5.0-alpha.132",
3535
"@monorepolint/core": "0.5.0-alpha.132",
3636
"@monorepolint/rules": "0.5.0-alpha.132",
37-
"@types/geojson": "7946.0.8",
3837
"@types/node": "18.11.9",
3938
"@typescript-eslint/eslint-plugin": "^6.10.0",
4039
"@typescript-eslint/parser": "^6.10.0",

packages/turf-along/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"@turf/distance": "workspace:^",
6969
"@turf/helpers": "workspace:^",
7070
"@turf/invariant": "workspace:^",
71+
"@types/geojson": "^7946.0.0",
7172
"tslib": "^2.6.2"
7273
}
7374
}

packages/turf-angle/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"@turf/helpers": "workspace:^",
7373
"@turf/invariant": "workspace:^",
7474
"@turf/rhumb-bearing": "workspace:^",
75+
"@types/geojson": "^7946.0.0",
7576
"tslib": "^2.6.2"
7677
}
7778
}

packages/turf-area/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"dependencies": {
6666
"@turf/helpers": "workspace:^",
6767
"@turf/meta": "workspace:^",
68+
"@types/geojson": "^7946.0.0",
6869
"tslib": "^2.6.2"
6970
}
7071
}

packages/turf-bbox-clip/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"dependencies": {
7373
"@turf/helpers": "workspace:^",
7474
"@turf/invariant": "workspace:^",
75+
"@types/geojson": "^7946.0.0",
7576
"tslib": "^2.6.2"
7677
}
7778
}

packages/turf-bbox-polygon/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
},
6464
"dependencies": {
6565
"@turf/helpers": "workspace:^",
66+
"@types/geojson": "^7946.0.0",
6667
"tslib": "^2.6.2"
6768
}
6869
}

packages/turf-bbox/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"dependencies": {
6666
"@turf/helpers": "workspace:^",
6767
"@turf/meta": "workspace:^",
68+
"@types/geojson": "^7946.0.0",
6869
"tslib": "^2.6.2"
6970
}
7071
}

packages/turf-bearing/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"dependencies": {
6464
"@turf/helpers": "workspace:^",
6565
"@turf/invariant": "workspace:^",
66+
"@types/geojson": "^7946.0.0",
6667
"tslib": "^2.6.2"
6768
}
6869
}

packages/turf-bezier-spline/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"dependencies": {
6767
"@turf/helpers": "workspace:^",
6868
"@turf/invariant": "workspace:^",
69+
"@types/geojson": "^7946.0.0",
6970
"tslib": "^2.6.2"
7071
}
7172
}

0 commit comments

Comments
 (0)