* 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>
* 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>
- 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>
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>
- Set lerna publish registry
- Force publishConfig.access to be public so new packages will publish
Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
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>
- 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>
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>
* 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