Skip to content

Commit 0126a32

Browse files
authored
Merge branch 'master' into deprecate-nearest-point-on-line-properties
2 parents 998d3c8 + 1fed227 commit 0126a32

133 files changed

Lines changed: 331 additions & 329 deletions

File tree

Some content is hidden

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

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
build:
14+
environment: release
1415
strategy:
1516
fail-fast: true
1617
matrix:

.monorepolint.config.mjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const MAIN_PACKAGE = "@turf/turf";
1717

1818
const TAPE_PACKAGES = []; // projects that have tape tests
1919
const TYPES_PACKAGES = []; // projects that have types tests
20+
const TSTYCHE_PACKAGES = []; // projects that use tstyche for type tests.
2021
const BENCH_PACKAGES = []; // projects that have benchmarks
2122

2223
// iterate all the packages and figure out what buckets everything falls into
@@ -39,6 +40,10 @@ glob.sync(path.join(__dirname, "packages", "turf-*")).forEach((pk) => {
3940
if (fs.existsSync(path.join(pk, "types.ts"))) {
4041
TYPES_PACKAGES.push(name);
4142
}
43+
44+
if (fs.existsSync(path.join(pk, "test/types.tst.ts"))) {
45+
TSTYCHE_PACKAGES.push(name);
46+
}
4247
});
4348

4449
const TS_TAPE_PACKAGES = TAPE_PACKAGES.filter(
@@ -216,6 +221,15 @@ export default {
216221
includePackages: TYPES_PACKAGES,
217222
}),
218223

224+
packageScript({
225+
options: {
226+
scripts: {
227+
"test:types": "tstyche",
228+
},
229+
},
230+
includePackages: TSTYCHE_PACKAGES,
231+
}),
232+
219233
requireDependency({
220234
options: {
221235
devDependencies: {
@@ -242,6 +256,15 @@ export default {
242256
includePackages: TS_PACKAGES,
243257
}),
244258

259+
requireDependency({
260+
options: {
261+
devDependencies: {
262+
tstyche: "^6.2.0",
263+
},
264+
},
265+
includePackages: TSTYCHE_PACKAGES,
266+
}),
267+
245268
requireDependency({
246269
options: {
247270
dependencies: {

README.md

Lines changed: 1 addition & 1 deletion

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
33
"npmClient": "pnpm",
4-
"version": "7.3.2",
4+
"version": "7.3.4",
55
"command": {
66
"publish": {
77
"registry": "https://registry.npmjs.org"

packages/turf-along/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/along",
3-
"version": "7.3.2",
3+
"version": "7.3.4",
44
"description": "Calculates a point along a line at a specific distance",
55
"author": "Turf Authors",
66
"license": "MIT",

packages/turf-angle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/angle",
3-
"version": "7.3.2",
3+
"version": "7.3.4",
44
"description": "Finds the angle formed by two adjacent segments.",
55
"author": "Turf Authors",
66
"contributors": [

packages/turf-area/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/area",
3-
"version": "7.3.2",
3+
"version": "7.3.4",
44
"description": "Calculates the geodesic area in square meters of one or more polygons.",
55
"author": "Turf Authors",
66
"license": "MIT",

packages/turf-bbox-clip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bbox-clip",
3-
"version": "7.3.2",
3+
"version": "7.3.4",
44
"description": "Takes a Feature and a bbox and clips the feature to the bbox using lineclip.",
55
"author": "Turf Authors",
66
"contributors": [

packages/turf-bbox-polygon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bbox-polygon",
3-
"version": "7.3.2",
3+
"version": "7.3.4",
44
"description": "Converts a bounding box to a GeoJSON polygon.",
55
"author": "Turf Authors",
66
"license": "MIT",

packages/turf-bbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bbox",
3-
"version": "7.3.2",
3+
"version": "7.3.4",
44
"description": "Generates a bounding box around a GeoJSON feature.",
55
"author": "Turf Authors",
66
"license": "MIT",

0 commit comments

Comments
 (0)