77 Commits

Author SHA1 Message Date
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
diachedelic
eafb76cab8
Node ESM support (#1942)
Writes a package.json to each dist/es/ directory, which ensures that
Node loads adjacent files as ES modules.

close #1940

Co-authored-by: mfedderly <mdfedderly@mdfedderly.com>
2020-11-17 09:08:31 -05:00
Matt Fedderly
23d5cb91d7 v6.2.0-alpha.2 2020-07-13 09:48:16 -04:00
mfedderly
b830207305
Standardize some devDependencies with monorepolint (#1884)
* Ensure npm-run-all, typescript, and rollup devDependencies are set.
* Alphabetize dependencies

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-04-15 06:43:04 -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
6af3358c10
Tree shaking (#1869)
Further build standardization
- Typescript publishes modules
- All packages have sideEffects: false to enable tree shaking
- All projects use prepare instead of duplicating in the pretest command
- Standardize order of package.json files
- turf-bbox export hack to fix @turf/turf build

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-03-24 06:29:34 -04:00
mfedderly
878a1d3d97
Build Standardization (#1860)
- Enforce some TS configurations that we already standardized
- Standardize rollup builds to put artifacts under dist
- Standardize test scripts with tape and tsc testing
- Small bench/test fixes
- Standardize packages/turf builds
- Move turf-difference and turf-meta from index.mjs to index.js

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-03-17 17:59:35 -04:00
mfedderly
0239428c3c
Setup monorepolint (#1856)
Configure monorepolint

- Monorepolint lets us easily manage all of our subpackages declaratively
- Husky installs commit hooks to prevent invalid commits from even merging
- lint-staged gives us rules for custom linting depending on what files changed
- Alphabetize the package.json scripts
- Change travis node version from 9->12 to get to a supported version
- Bump all of the typescript dependencies to the latest, fixes a build error with some types in our dependencies being 3.x dependent.

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-03-16 18:17:45 -04:00
mfedderly
b3b5284882
Standardize Typescript builds (#1849)
* Standardize on a single tsconfig
* Standardize tsconfig output
- Move output of es5 code into dist/js (leaves room for dist/es for modules)
- Update references from ./index over to ./dist/js/index.js
- Seems like this will publish types for several new packages
- A few packages needed to be slightly modified to publish correctly to dist
- Small fixes to @turf/turf due to the file path changes
- Note: not currently using types.ts for testing (next commit)
* Re-enable testing using types.ts in packages where that exists
* Run packages/turf tests after everything else has built
* Enforce tsc before bench
* nearest-neighbor-analysis test updates from rowanwins
2020-03-15 19:15:03 -04:00
Denis
58b6711a16 Patch release Typescript fix 2018-04-04 09:19:52 -04:00
Denis
856d5010b1 Drop *.ts to all packages 2018-04-03 15:51:47 -04:00
Denis
28846c7b6b Refactor boolean-intersect 2018-03-23 11:30:00 -04:00
Denis
364dc81a97 Add index.d.ts to files 2018-03-21 10:46:50 -04:00
Denis
bd032f6b45 Update types & devDependencies 2018-03-21 10:33:50 -04:00
Denis
d94822e222 Update readmes 2018-03-21 10:11:41 -04:00
Denis
2bca1bf64f Add prepare to prevent forgetting index.js 2018-02-21 17:03:42 -05:00
Denis
eeab93dcaa Publish v6 boolean modules 2018-02-21 13:44:33 -05:00
Denis
e5791890fb Add gitignore's 2018-02-20 17:41:50 -05:00
Denis
a35d63f4d7 Merge with master branch 2018-02-15 10:52:39 -05:00
Rowan Winsemius
761858aeac merge changes 2018-02-15 22:03:00 +11:00
Rowan Winsemius
2dcae69131 Rename index.js to index.ts 2018-02-15 22:01:15 +11:00
Denis
ecfcec7ed2 Update new to Typescrtipt configs 2018-02-14 09:52:08 -05:00
Rowan Winsemius
581432849d Fix folder location and remove old yarn lock file 2018-02-14 23:07:30 +11:00