Skip to content

Commit

Permalink
Move fork-ts-checker-webpack-plugin dependency to react-dev-utils (fa…
Browse files Browse the repository at this point in the history
  • Loading branch information
liximomo authored and ianschmitz committed Feb 11, 2019
1 parent b02f181 commit c2b7158
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions packages/react-dev-utils/ForkTsCheckerWebpackPlugin.js
@@ -0,0 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

var ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');

module.exports = ForkTsCheckerWebpackPlugin;
2 changes: 2 additions & 0 deletions packages/react-dev-utils/package.json
Expand Up @@ -20,6 +20,7 @@
"eslintFormatter.js",
"evalSourceMapMiddleware.js",
"FileSizeReporter.js",
"ForkTsCheckerWebpackPlugin.js",
"formatWebpackMessages.js",
"getCacheIdentifier.js",
"getCSSModuleLocalIdent.js",
Expand Down Expand Up @@ -54,6 +55,7 @@
"escape-string-regexp": "1.0.5",
"filesize": "3.6.1",
"find-up": "3.0.0",
"fork-ts-checker-webpack-plugin": "1.0.0-alpha.6",
"global-modules": "2.0.0",
"globby": "8.0.2",
"gzip-size": "5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Expand Up @@ -29,7 +29,7 @@ const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent')
const paths = require('./paths');
const getClientEnvironment = require('./env');
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const ForkTsCheckerWebpackPlugin = require('react-dev-utils/ForkTsCheckerWebpackPlugin');
const typescriptFormatter = require('react-dev-utils/typescriptFormatter');
// @remove-on-eject-begin
const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
Expand Down
1 change: 0 additions & 1 deletion packages/react-scripts/package.json
Expand Up @@ -45,7 +45,6 @@
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.12.4",
"file-loader": "2.0.0",
"fork-ts-checker-webpack-plugin": "1.0.0-alpha.6",
"fs-extra": "7.0.1",
"html-webpack-plugin": "4.0.0-alpha.2",
"identity-obj-proxy": "3.0.0",
Expand Down

0 comments on commit c2b7158

Please sign in to comment.