Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ node_modules
pnpm-debug.log*

# build caches
.nx
.turbo
.eslintcache

# editor-specific
Expand Down
16 changes: 4 additions & 12 deletions .monorepolint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
packageEntry,
packageScript,
requireDependency,
standardTsconfig,
REMOVE,
} from "@monorepolint/rules";

Expand Down Expand Up @@ -97,7 +96,7 @@ export default {
// Example of a URL that will break: https://unpkg.com/@turf/turf/dist/turf.min.js
// Example of a URL that will keep working: https://unpkg.com/@turf/turf
browser: "turf.min.js",
files: ["dist", "turf.min.js", "!**/*.tsbuildinfo"],
files: ["dist", "turf.min.js"],
exports: {
"./package.json": "./package.json",
".": {
Expand All @@ -123,7 +122,7 @@ export default {
module: REMOVE,
types: REMOVE,
sideEffects: false,
files: ["dist", "!**/*.tsbuildinfo"],
files: ["dist"],
publishConfig: {
access: "public",
},
Expand Down Expand Up @@ -165,7 +164,7 @@ export default {
packageScript({
options: {
scripts: {
build: "tsc --build",
build: "tsc",
},
},
includePackages: PACKAGES,
Expand All @@ -175,7 +174,7 @@ export default {
options: {
scripts: {
build:
"tsc --build && esbuild index.ts --bundle --minify --target=chrome109,edge147,firefox140,ios18.5,opera127,safari26.3 --outfile=turf.min.js",
"tsc && esbuild index.ts --bundle --minify --target=chrome109,edge147,firefox140,ios18.5,opera127,safari26.3 --outfile=turf.min.js",
},
},
includePackages: [MAIN_PACKAGE],
Expand Down Expand Up @@ -246,12 +245,5 @@ export default {
},
includePackages: [MAIN_PACKAGE, ...PACKAGES],
}),

standardTsconfig({
options: {
template: { extends: "../../tsconfig.shared.json" },
},
includePackages: [MAIN_PACKAGE, ...PACKAGES],
}),
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"meow": "^14.1.0",
"prettier": "^3.9.6",
"progress": "^2.0.3",
"turbo": "^2.10.9",
"typescript": "catalog:",
"typescript-eslint": "^8.66.0",
"yaml": "^2.9.0"
Expand Down
5 changes: 2 additions & 3 deletions packages/turf-along/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
19 changes: 1 addition & 18 deletions packages/turf-along/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-bearing"
},
{
"path": "../turf-destination"
},
{
"path": "../turf-distance"
},
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-angle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
25 changes: 1 addition & 24 deletions packages/turf-angle/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-bearing"
},
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
},
{
"path": "../turf-rhumb-bearing"
},
{
"path": "../turf-distance"
},
{
"path": "../turf-sector"
},
{
"path": "../turf-truncate"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-area/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
10 changes: 1 addition & 9 deletions packages/turf-area/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-meta"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-bbox-clip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
13 changes: 1 addition & 12 deletions packages/turf-bbox-clip/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
},
{
"path": "../turf-bbox"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-bbox-polygon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
7 changes: 1 addition & 6 deletions packages/turf-bbox-polygon/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-bbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
10 changes: 1 addition & 9 deletions packages/turf-bbox/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-meta"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-bearing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
13 changes: 1 addition & 12 deletions packages/turf-bearing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
},
{
"path": "../turf-destination"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-bezier-spline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
10 changes: 1 addition & 9 deletions packages/turf-bezier-spline/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-boolean-clockwise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
10 changes: 1 addition & 9 deletions packages/turf-boolean-clockwise/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-boolean-concave/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
10 changes: 1 addition & 9 deletions packages/turf-boolean-concave/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"extends": "../../tsconfig.shared.json",
"references": [
{
"path": "../turf-helpers"
},
{
"path": "../turf-invariant"
}
]
"extends": "../../tsconfig.shared.json"
}
5 changes: 2 additions & 3 deletions packages/turf-boolean-contains/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@
},
"sideEffects": false,
"files": [
"dist",
"!**/*.tsbuildinfo"
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsc --build",
"build": "tsc",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
Expand Down
Loading
Loading