Skip to content

Commit c1b61e5

Browse files
MichaelDeBoeyAktuvman
authored andcommitted
fix: Fix azure-pipelines' endOfLine (facebook#9258)
1 parent 35925b1 commit c1b61e5

File tree

2 files changed

+2
-80
lines changed

2 files changed

+2
-80
lines changed

azure-pipelines.yml

-77
Original file line numberDiff line numberDiff line change
@@ -1,77 +0,0 @@
1-
#
2-
# Azure Pipelines configuration for building and testing create-react-app on Linux, Windows, and macOS.
3-
#
4-
5-
trigger:
6-
- main
7-
8-
variables:
9-
CI: true
10-
# Overrides the Yarn and NPM cache directories so they are on the same drive as the source. This helps improve build performance on Windows hosted agents.
11-
YARN_CACHE_FOLDER: $(Build.SourcesDirectory)/../yarn-cache
12-
NPM_CONFIG_CACHE: $(Build.SourcesDirectory)/../npm-cache
13-
# Sets TEMP to be on the same drive as the cloned source on Windows. This avoids test scripts that "cd" into a directory under TEMP from failing because this directory is on a different drive from the current directory.
14-
VSTS_OVERWRITE_TEMP: True
15-
CRA_INTERNAL_TEST: true
16-
17-
# ******************************************************************************
18-
# Simple test suite
19-
# ******************************************************************************
20-
jobs:
21-
- template: azure-pipelines-test-job.yml
22-
parameters:
23-
name: Simple
24-
testScript: tasks/e2e-simple.sh
25-
26-
# ******************************************************************************
27-
# Installs test suite
28-
# ******************************************************************************
29-
- template: azure-pipelines-test-job.yml
30-
parameters:
31-
name: Installs
32-
testScript: tasks/e2e-installs.sh
33-
34-
# ******************************************************************************
35-
# Kitchensink test suite
36-
# ******************************************************************************
37-
- template: azure-pipelines-test-job.yml
38-
parameters:
39-
name: Kitchensink
40-
testScript: tasks/e2e-kitchensink.sh
41-
42-
# ******************************************************************************
43-
# Kitchensink Eject test suite
44-
# ******************************************************************************
45-
# - template: azure-pipelines-test-job.yml
46-
# parameters:
47-
# name: KitchensinkEject
48-
# testScript: tasks/e2e-kitchensink-eject.sh
49-
50-
# ******************************************************************************
51-
# Behavior test suite
52-
# ******************************************************************************
53-
# - template: azure-pipelines-test-job.yml
54-
# parameters:
55-
# name: Behavior
56-
# testScript: tasks/e2e-behavior.sh
57-
# configurations:
58-
# LinuxNode14: { vmImage: 'ubuntu-latest', nodeVersion: 14.x }
59-
# LinuxNode16: { vmImage: 'ubuntu-latest', nodeVersion: 16.x }
60-
# WindowsNode14: { vmImage: 'windows-2019', nodeVersion: 14.x }
61-
# WindowsNode16: { vmImage: 'windows-2019', nodeVersion: 16.x }
62-
# MacNode14: { vmImage: 'macOS-10.15', nodeVersion: 14.x }
63-
# MacNode16: { vmImage: 'macOS-10.15', nodeVersion: 16.x }
64-
65-
# ******************************************************************************
66-
# Old Node test suite
67-
# ******************************************************************************
68-
- job: OldNode
69-
pool:
70-
vmImage: ubuntu-latest
71-
steps:
72-
- task: NodeTool@0
73-
inputs:
74-
versionSpec: 8.x
75-
displayName: 'Install Node.js 8.x'
76-
- bash: tasks/e2e-old-node.sh
77-
displayName: 'Run tests'

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
"alex": "alex .",
1919
"test:integration": "jest test/integration",
2020
"test": "cd packages/react-scripts && node bin/react-scripts.js test",
21-
"eslint": "eslint .",
22-
"prettier": "prettier .",
23-
"format": "npm run prettier -- --write"
21+
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
22+
"compile:lockfile": "node tasks/compile-lockfile.js"
2423
},
2524
"devDependencies": {
2625
"@testing-library/jest-dom": "^5.15.1",

0 commit comments

Comments
 (0)