Skip to content

Commit a8e0272

Browse files
Merge branch 'master' into mf/nx-cleanup
2 parents 3dacee0 + faf58b3 commit a8e0272

File tree

429 files changed

+242947
-21157
lines changed

Some content is hidden

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

429 files changed

+242947
-21157
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Please provide the following when reporting an issue:
22

3-
- [ ] The version of Turf you are using, and any other relevant versions.
4-
- [ ] GeoJSON data as a [gist file](https://gist.github.com/) or [geojson.io](http://geojson.io/) (filename extension must be `.geojson`).
5-
- [ ] Snippet of source code or for complex examples use [jsfiddle](https://jsfiddle.net/).
6-
- [ ] Verify this issue hasn't already been reported, or resolved in the latest alpha pre-release.
3+
- [ ] Description of the problem, and how it differs from what you expected.
4+
- [ ] Version of Turf you are using, and of any other relevant software.
5+
- [ ] GeoJSON data as a [gist file](https://gist.github.com/) or [geojson.io](https://geojson.io/) (filename extension must be `.geojson`). Simple reproducible examples are preferrable.
6+
- [ ] Snippet of source code for complex examples using [jsfiddle](https://jsfiddle.net/).
7+
- [ ] Confirmation this issue hasn't already been reported, or is resolved and just hasn't been released yet.
78

89
<!-- Love turf? Please consider supporting our collective:
910
👉 https://opencollective.com/turf/donate -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
Please fill in this template. Use a meaningful title for the pull request. Include the name of the package modified.
1+
Please provide the following when creating a PR:
22

3-
- [ ] Is this a bug fix, new functionality, or a breaking change?
4-
- [ ] Have read and followed the steps for [preparing a pull request](https://github.com/Turfjs/turf/blob/master/CONTRIBUTING.md#preparing-a-pull-request).
5-
6-
Submitting a new TurfJS Module.
7-
8-
- [ ] Overview description of proposed module.
9-
- [ ] Include JSDocs with a basic example.
10-
- [ ] Execute `./scripts/generate-readmes` to create `README.md`.
11-
- [ ] Add yourself to **contributors** in `package.json` using "Full Name <@GitHub Username>".
3+
- [ ] Meaningful title, including the name of the package being modified.
4+
- [ ] Summary of the changes.
5+
- [ ] Heads up if this is a breaking change.
6+
- [ ] Any issues this [resolves](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests).
7+
- [ ] Inclusion of your details in the `contributors` field of `package.json` - you've earned it! 👏
8+
- [ ] Confirmation you've read the steps for [preparing a pull request](https://github.com/Turfjs/turf/blob/master/docs/CONTRIBUTING.md#preparing-a-pull-request).

.github/workflows/prerelease.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ jobs:
1717
runs-on: ${{matrix.platform}}
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2121
with:
2222
fetch-depth: 0
2323

24-
- uses: pnpm/[email protected]
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0
2526
with:
26-
version: 8
27+
run_install: false
2728

2829
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # 4.3.0
3031
with:
3132
node-version: ${{ matrix.node-version }}
3233
registry-url: "https://registry.npmjs.org"

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121
runs-on: ${{matrix.platform}}
2222

2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2525
with:
2626
fetch-depth: 0
2727

28-
- uses: pnpm/[email protected]
28+
- name: Install pnpm
29+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0
2930
with:
30-
version: 8
31+
run_install: false
3132

3233
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # 4.3.0
3435
with:
3536
node-version: ${{ matrix.node-version }}
3637
registry-url: "https://registry.npmjs.org"
@@ -50,7 +51,7 @@ jobs:
5051
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5152

5253
- name: Create Github Release
53-
uses: softprops/action-gh-release@v2
54+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # 2.2.1
5455
with:
5556
make_latest: true
5657
generate_release_notes: true

.github/workflows/turf.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [16.x, 18.x, 20.x]
22+
node-version: [18.x, 20.x, 22.x]
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2727

2828
- name: Install pnpm
29-
uses: pnpm/action-setup@v4
29+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0
3030
with:
3131
run_install: false
3232

3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # 4.3.0
3535
with:
3636
cache: "pnpm"
3737
node-version: ${{ matrix.node-version }}

.monorepolint.config.mjs

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ export default {
221221
devDependencies: {
222222
benchmark: "^2.1.4",
223223
"npm-run-all": "^4.1.5",
224-
tape: "^5.7.2",
225-
tsx: "^4.6.2",
224+
tape: "^5.9.0",
225+
tsup: "^8.4.0",
226+
tsx: "^4.19.4",
226227
},
227228
},
228229
includePackages: [...TS_PACKAGES, ...JS_PACKAGES],
@@ -231,26 +232,17 @@ export default {
231232
requireDependency({
232233
options: {
233234
dependencies: {
234-
tslib: "^2.6.2",
235+
tslib: "^2.8.1",
235236
},
236237
devDependencies: {
237238
"@types/benchmark": "^2.1.5",
238-
"@types/tape": "^4.2.32",
239-
typescript: "^5.2.2",
239+
"@types/tape": "^5.8.1",
240+
typescript: "^5.8.3",
240241
},
241242
},
242243
includePackages: TS_PACKAGES,
243244
}),
244245

245-
requireDependency({
246-
options: {
247-
devDependencies: {
248-
rollup: "^2.79.1",
249-
},
250-
},
251-
includePackages: [MAIN_PACKAGE],
252-
}),
253-
254246
requireDependency({
255247
options: {
256248
dependencies: {

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)