Skip to content

Commit cec8d1e

Browse files
committed
Merge remote-tracking branch 'refs/remotes/upstream/master' into tslint
2 parents 36ef757 + aac14ea commit cec8d1e

File tree

5 files changed

+72
-2
lines changed

5 files changed

+72
-2
lines changed

.github/lock.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Configuration for lock-threads - https://github.com/dessant/lock-threads
2+
3+
# Number of days of inactivity before a closed issue or pull request is locked
4+
daysUntilLock: 5
5+
setLockReason: false
6+
7+
issues:
8+
# Comment to post when locking a stale Issue.
9+
lockComment: >
10+
The conversation for this issue has been locked because the issue is
11+
closed. If you have a question or comment, please open a new issue.
12+
13+
pulls:
14+
# Comment to post when locking a stale Pull Request.
15+
lockComment: >
16+
The conversation for this pull request has been locked because the pull
17+
request is closed. If you would like to contribute please open a new pull
18+
request.

.github/stale.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 30
5+
6+
# Number of days of inactivity before a stale Issue or Pull Request is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 5
9+
10+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
11+
exemptLabels:
12+
- "issue: proposal"
13+
- "issue: announcement"
14+
15+
# Set to true to ignore issues in a project (defaults to false)
16+
exemptProjects: true
17+
18+
# Set to true to ignore issues in a milestone (defaults to false)
19+
exemptMilestones: true
20+
21+
# Label to use when marking as stale
22+
staleLabel: stale
23+
24+
# Limit the number of actions per hour, from 1-30. Default is 30
25+
limitPerRun: 30
26+
27+
issues:
28+
# Comment to post when marking Issues as stale.
29+
markComment: >
30+
This issue has been automatically marked as stale because it has not had any
31+
recent activity. It will be closed in 7 days if no further activity occurs.
32+
33+
# Comment to post when closing a stale Issue.
34+
closeComment: >
35+
This issue has been automatically closed because it has not had any recent
36+
activity. The conversation will be locked in 7 days unless the issue is
37+
reopened.
38+
39+
pulls:
40+
# Comment to post when marking Pull Request as stale.
41+
markComment: >
42+
This pull request has been automatically marked as stale because it has not
43+
had any recent activity. It will be closed in 7 days if no further activity
44+
occurs.
45+
46+
# Comment to post when closing a stale Pull Request.
47+
closeComment: >
48+
This pull request has been automatically closed because it has not had any
49+
recent activity. The conversation will be locked in 7 days unless the pull
50+
request is reopened. Thank you for your contribution.

packages/create-react-app/createReactApp.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,6 @@ function isSafeToCreateProjectIn(root, name) {
748748
'.idea',
749749
'README.md',
750750
'LICENSE',
751-
'web.iml',
752751
'.hg',
753752
'.hgignore',
754753
'.hgcheck',
@@ -764,6 +763,8 @@ function isSafeToCreateProjectIn(root, name) {
764763
const conflicts = fs
765764
.readdirSync(root)
766765
.filter(file => !validFiles.includes(file))
766+
// IntelliJ IDEA creates module files before CRA is launched
767+
.filter(file => !/\.iml$/.test(file))
767768
// Don't treat log files from previous installation as conflicts
768769
.filter(
769770
file => !errorLogFilePatterns.some(pattern => file.indexOf(pattern) === 0)

packages/create-react-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"chalk": "1.1.3",
2626
"commander": "2.18.0",
2727
"cross-spawn": "4.0.2",
28-
"envinfo": "5.10.0",
28+
"envinfo": "5.11.1",
2929
"fs-extra": "5.0.0",
3030
"hyperquest": "2.1.3",
3131
"semver": "5.5.1",

packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ function verifyTypeScriptSetup() {
9393
parsedValue: ts.ScriptTarget.ES5,
9494
suggested: 'es5',
9595
},
96+
lib: ['dom', 'dom.iterable', 'esnext'],
9697
allowJs: { suggested: true },
9798
skipLibCheck: { suggested: false },
9899
esModuleInterop: { suggested: true },

0 commit comments

Comments
 (0)