mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 09:25:42 +08:00
Automatically setup TypeScript when detected (#5549)
* Don't resolve TS files if it's not detected in the project * Automatically create tsconfig.json file for user * Remove always false check * Add missing file * Don't filter paths too early
This commit is contained in:
12
packages/react-dev-utils/globby.js
vendored
Normal file
12
packages/react-dev-utils/globby.js
vendored
Normal file
@@ -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 globby = require('globby');
|
||||
|
||||
module.exports = globby;
|
||||
@@ -23,6 +23,7 @@
|
||||
"getCacheIdentifier.js",
|
||||
"getCSSModuleLocalIdent.js",
|
||||
"getProcessForPort.js",
|
||||
"globby.js",
|
||||
"ignoredFiles.js",
|
||||
"immer.js",
|
||||
"InlineChunkHtmlPlugin.js",
|
||||
@@ -53,6 +54,7 @@
|
||||
"filesize": "3.6.1",
|
||||
"find-up": "3.0.0",
|
||||
"global-modules": "1.0.0",
|
||||
"globby": "8.0.1",
|
||||
"gzip-size": "5.0.0",
|
||||
"immer": "1.7.2",
|
||||
"inquirer": "6.2.0",
|
||||
|
||||
Reference in New Issue
Block a user