Results 8 issues of Gavin Sharp

Fixes https://github.com/aelbore/esbuild-jest/issues/52. The first commit (320216a9c22f2f0d603c01024e52b6181f992f35) refactors the logic for determining the ESBuild config into a separate helper, and introduces some basic tests for it (no behaviour change). The second...

I was trying to configure the loader used for all `.js` files, because I need to use the JSX parser for `.js` due to legacy constraints. However, the `getExt` logic...

Avoids calling bluebird's `Promise.config`, since other code may have already created some promises. Fixes https://github.com/dmanjunath/node-redshift/issues/27.

When trying to test a simple query, I got: `Error: cannot enable long stack traces after promises have been created` This exception was thrown by `bluebird` because my app created...

### Is there an existing issue for this? - [X] I have searched the existing issues ### This issue exists in the latest npm version - [X] I am using...

Release 8.x
Bug
perf
config:workspaces
ws:libnpmexec

This adds support for Babel 7 (fixes https://github.com/SamVerschueren/babel-engine-plugin/issues/16), by upgrading the two relevant packages (`babel-core`->`@babel/core` and `babel-preset-env`->`@babel/preset-env`). This was surprisingly easier than I expected! I ran into an issue running...

Hoping this might be helpful to others who want to set up their own version of this service.

### Describe the bug [This logic](https://github.com/storybookjs/presets/blob/d91ad8982620e7738d562e2bc823d2923f3460a5/packages/preset-create-react-app/src/helpers/processCraConfig.ts#L139-L149) from #77 breaks CRA's built-in support for running dependencies through `babel-loader`, because the [default CRA webpack config rule being modified](https://github.com/facebook/create-react-app/blob/v4.0.3/packages/react-scripts/config/webpack.config.js#L465-L503) does not use an...

bug