124 Commits

Author SHA1 Message Date
James Beard
b7f1b4eafb v7.3.1 2025-11-27 17:43:27 +11:00
James Beard
9f58a103e8 v7.3.0 2025-11-17 20:08:41 +11:00
James Beard
7b0f0374c4 v7.2.0 2024-12-28 15:28:13 +11:00
Tim Welch
991415d1fc
v7.1.0 (#2697) 2024-08-09 11:41:38 -07:00
Tim Welch
836d44049c
Merge branch 'master' into mf/update-lerna 2024-06-19 10:07:29 -07:00
Matt Fedderly
7392001348
Move $schema to the top of the json 2024-06-17 13:54:15 -04:00
Matt Fedderly
3d3a791702
v7.0.0 2024-06-07 09:41:56 -04:00
Matt Fedderly
022d652d57
Upgrade lerna and run the config migration 2024-06-03 08:45:48 -04:00
James Beard
4ea81e6b96
Migration to pnpm and improved exports strategy (#2555)
* Moving to pnpm as package manager. Also taking the opportunity to tidy up our cjs / esm situation using tsup (instead of tsc and rollup). Can't get monorepolint to work with new setup so disabling for the time being.

* Changing all Turf imports to use named imports. Adding a few missing named exports. Updating github workflow actions to pnpm instead of yarn.

* Updating typescript module and moduleResolution mechanisms to "node16". Not tracking nodenext just yet. Changing tsup command to generate d.ts files that arethetypeswrong approves of.

* Tweaking github workflows to explicitely install pnpm.

* Looks like node needs the chosen cache binary installed first. Trying without cache as a first step.

* Seem to be hitting the tsx bug described here: https://github.com/privatenumber/tsx/issues/421 Upgrading to latest tsx to remedy.

* Forgot to update lock file after updating tsx dep in package.json files.

* Sorting modules exported from @turf/turf alphabetically. Preparatory commit to add unexported modules.

* Converting index.mjs to typescript, and simplifying re-exported imports, and ordering alphabetically. Added in a couple of packages - convex, booleanValid and nearestNeighbourAnalysis. Rollup now only used in packages/turf so merging project root base config into there. Also now only using rollup in packages/turf to do final conversion to web module. JS and d.ts files generated the same as other modules, using tsup.

* Including tslib in @turf/turf build now that it's a TS module.

* Lot of per-package tsconfig items now on the tsup command line, so stripping back tsconfig.json to the bare minimum. Adding tsconfig.json to packages that while still only JS, are now processed by tsup.

* Same as last commit - simplifying tsconfig.json - except these are the subset of packages that had multiple entry points e.g. 3rd party code hosted locally in lib/

* Incorporating some suggestions from @favna on being more explicit with d.ts entries. https://github.com/Turfjs/turf/issues/2307#issuecomment-1858653048  Specifying overall module type as commonjs explicitly.

* Reapplying cjsInterop / splitting workaround for CJS exports that we had on build target command line earlier in this PR in to tsup config file. Also disabling treeshaking as this was generating a warning for CJS files and causing the workaround above to not work.

* Upgrading rollup and related plugins. Updating to recommended modern browserslist config in babel.config.json e.g. previous chrome 67 and edge 17 are 5 years old, ie11 is just ... ugh

* Fluffed the browserslist config - need to cover es5 as well.

* Update .github/workflows/turf.yml to use actions/checkout v4.

Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>

---------

Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
2023-12-19 10:14:18 +11:00
James Beard
f6e64ff826
Upgrade lerna, et al to address security vulnerabilities, modernise build environment (#2507)
* Upgrading to newest @types/node for the typescript version we currently use (3.8.3). https://www.npmjs.com/package/@types/node?activeTab=versions

* Big update to lerna to address security vulnerabilities. bootstrap command no longer required. Seems to build and test ok. May need some tweaking. Will add build caching at a later date.

* Updating documentation (the NPM library) to address security vulnerabilities. Had to wrap body of script so as be async, though otherwise unchanged.

* Updating es-check to address security vulnerabilities.

* Updating tape library to address security vulnerabilities.

* Add lerna caching (via nx). Simplistic setup so will need some tweaking. Remove redundant packages setting from lerna.json (will default to packages setting in package.json instead). Have to add --npm-path to all npm-run-all calls so that lerna doesn't accidentally end up being used as the npm binary. https://github.com/mysticatea/npm-run-all/issues/218 and https://github.com/lerna/lerna/issues/1842 have more details.

* Missed a couple of carats in package.json dependency specs.

* Also need to commit a new yarn.lock file to reflect version spec changes in previous commit.

---------

Co-authored-by: mfedderly <mdfedderly@mdfedderly.com>
2023-10-06 16:48:20 -04:00
mfedderly
dd35b52725
Release 7.0.0-alpha.2 (#2503)
* Update changelog for next prerelease

* v7.0.0-alpha.2
2023-10-02 09:52:37 -04:00
mfedderly
cf7a0c507b
Do the 7.0.0-alpha.1 release (#2493)
* update changelog

* v7.0.0-alpha.1

* More changelog
2023-09-18 19:41:14 -04:00
mfedderly
0edc4c491b
Changelog + Release for 7.0.0-alpha.0 (#2364)
* (huge) changelog

* v7.0.0-alpha.0

* Update yarn.lock to handle the fact that our dependencies take dependencies on turf itself

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2022-11-09 10:09:15 -05:00
Rowan Winsemius
5375941072
Prepare for release of 6.5.0 (#2141)
* Update change log for 6.5.0 release

* bump version numbers
2021-07-10 20:12:28 +10:00
Rowan Winsemius
ff86e6fdbd
Prepare for release of 6.4.0 (#2097)
* Prepare for release of 6.4.0
2021-06-17 23:18:19 +10:00
mfedderly
57c8877e1e
Update changelog for 6.3.0 (#2010)
* Update changelog for 6.3.0

* v6.3.0

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2021-01-20 09:25:04 -05:00
mfedderly
c277baf2b9
Update release notes for 6.2.0 proper (#1998)
* Update release notes for 6.2.0 proper

* v6.2.0

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2021-01-12 09:43:17 -05:00
mfedderly
dce9edfc70
Update changelog for 6.2.0-alpha.3 changes (#1970)
* Update changelog for 6.2.0-alpha.3 changes

* Update changelog

* v6.2.0-alpha.3

* v6.2.0-alpha.3

* Looks like prettier and lerna are fighting, let lerna win.

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-12-10 15:56:47 -05:00
mfedderly
2e9d3d51f7
Add Prettier and ESLint to the builds (#1965)
* Configure ESlint and Prettier
- Disable all eslint rules that trigger
- Build's lint step now runs monorepoint, prettier, and eslint
- Remove all tslint references

* [auto] run prettier on everything

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-12-08 19:24:15 -05:00
mfedderly
2faafab916
Bench + Test cleanup (#1968)
- No longer have bench and test call prepare explicitly
- bench.js, test.js, types.ts all use the local copy of the code, not the built copy
- Fixed quite a few bench.js files that were just broken
- Rework root package.json for build clarity
- Change prepare scripts to build so that they don't run on publish

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
Co-authored-by: Rowan Winsemius <rowanwins@yahoo.com.au>
2020-12-08 17:06:34 -05:00
Matt Fedderly
23d5cb91d7 v6.2.0-alpha.2 2020-07-13 09:48:16 -04:00
Matt Fedderly
fc519c045a v6.2.0-alpha.1 2020-03-26 19:53:28 -04:00
mfedderly
27486a18da
Publish Fixes (#1872)
- Set lerna publish registry
- Force publishConfig.access to be public so new packages will publish

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-03-26 19:24:02 -04:00
mfedderly
ccdaf5364c
Prepare Release 6.2.0 alpha0 (#1871)
* Changelog for 6.2.0-alpha.0
* v6.2.0-alpha.0

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-03-26 17:55:28 -04:00
mfedderly
d61ceb5635
Upgrade lerna (#1870)
* Upgrade lerna
* Fix lerna config
* change to fixed versioning

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-03-25 07:06:43 -04:00
Denis
9ba356a647 Update lerna 2.8.0 2018-02-03 11:31:06 -05:00
Denis
aced4ef7ca
Update lerna.json 2018-02-02 20:59:19 -05:00
Denis
862515c0fa v5.1.5 2017-12-09 21:10:49 -08:00
Denis
b7da8c92c2 v5.1.4 2017-12-09 21:03:17 -08:00
Denis
92b1e30cab v5.1.1 2017-12-07 16:08:49 -05:00
Denis
03d7023848 v5.1.0 2017-12-07 14:25:23 -05:00
Denis
f8fe4c1c7d v5.0.4 2017-11-09 12:47:36 -05:00
Denis
f25f1c7813 v5.0.3 2017-10-01 22:47:25 -04:00
Denis
37aa43a217 v5.0.2 2017-10-01 22:45:38 -04:00
Denis
2dd00be216 v5.0.1 2017-10-01 22:38:40 -04:00
Denis
3e0b254fad v4.7.3 2017-09-12 09:21:05 -04:00
Denis
fb3b901ef8 v4.7.2 2017-09-07 12:17:51 -04:00
Denis
6e6eddac26 v4.7.1 2017-09-05 11:35:46 -04:00
Denis
e96cc1b35c v4.7.0 2017-09-05 11:29:46 -04:00
Denis
7321d815f3 v4.6.1 2017-08-02 13:04:24 -04:00
Denis
e951416e2b v4.6.0 2017-08-02 12:57:19 -04:00
Denis
d050525a2f v4.5.2 2017-06-30 13:22:56 -04:00
Denis
deebad3177 v4.5.1 2017-06-30 13:22:34 -04:00
Denis Carriere
3f6b19166b vundefined 2017-06-30 17:01:34 +00:00
Denis Carriere
b403654e3b v4.5.0 2017-06-30 16:56:24 +00:00
Denis
e347a62a40 v4.4.0 2017-06-05 21:52:05 -04:00
Denis
71caa9e697 Add yarn.lock to Turf modules 2017-05-27 21:17:41 -04:00
Denis
b3f2758454 v4.3.1 2017-05-13 03:45:36 -04:00
Denis
11e74e9035 v4.3.0 2017-05-11 22:04:00 -04:00
Denis
c7c379ada6 v4.2.0 2017-04-30 17:46:45 -04:00