Marcin Walas

Results comments of Marcin Walas

@marcellobarile here is my workaround razzle plugin, which may help you ``` const AssetsPlugin = require('assets-webpack-plugin'); const webpackConfigHelper = new WebpackConfigHelpers(paths.razzle.appPath); function getPluginIndexByName(config, name) { return webpackConfigHelper .getPlugins(config) .findIndex(x =>...

Hi @alexander-akait, I am trying to migrate a project from v4 to v5, and I experienced exactly the same issue. In v4 everything works fine. I am not sure if...

looks like the issue is still valid https://github.com/apollographql/react-apollo/blob/91cbdcba17413db3e19ae909c35723e71cd57c38/packages/hooks/src/data/MutationData.ts#L87

related https://github.com/lerna/lerna/issues/2284

I think `eslint-config-prettier` should not be marked as an optional dependency,the following should be removed from package json: ``` "peerDependenciesMeta": { "eslint-config-prettier": { "optional": true } }, ```

the problem here, with optional `eslint-config-prettier` dependency, is it is not possible to build a self-sufficient eslint preset module. In the end project, you still need to install `eslint-config-prettier` next...

please look, `eslint-plugin-prettier` is not even using `eslint-config-prettier`, I done quick search: https://github.com/prettier/eslint-plugin-prettier/search?q=eslint-config-prettier so why `eslint-config-prettier` is a dependency of `eslint-plugin-prettier`? It can be easily removed from its `package.josn`, then...

So how can I prepare eslint preset package which uses prettier (with some custom config too) and in end project install only "one dependency"? e.g., I want to have a...

@marcj is there any other way to infer `T`? Is it ts/reflection limitation?