Skip to content

Commit ea2c187

Browse files
committed
Re-built with YARN due to weird issue. See facebook/create-react-app#13715
1 parent 050705e commit ea2c187

File tree

7 files changed

+9984
-10
lines changed

7 files changed

+9984
-10
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,6 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
.idea
133+
.vscode

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo
66

77
In the project directory, you can run:
88

9-
### `npm start`
9+
### `yarn start`
1010

1111
Runs the app in the development mode.\
1212
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
1313

1414
The page will reload if you make edits.\
1515
You will also see any lint errors in the console.
1616

17-
### `npm test`
17+
### `yarn test`
1818

1919
Launches the test runner in the interactive watch mode.\
2020
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
2121

22-
### `npm run build`
22+
### `yarn build`
2323

2424
Builds the app for production to the `build` folder.\
2525
It correctly bundles React in production mode and optimizes the build for the best performance.
@@ -29,7 +29,7 @@ Your app is ready to be deployed!
2929

3030
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
3131

32-
### `npm run eject`
32+
### `yarn eject`
3333

3434
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
3535

package-lock.json

+30-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"cra-template-typescript": "1.2.0",
6+
"@testing-library/jest-dom": "^5.14.1",
7+
"@testing-library/react": "^13.0.0",
8+
"@testing-library/user-event": "^13.2.1",
9+
"@types/jest": "^27.0.1",
10+
"@types/node": "^16.7.13",
11+
"@types/react": "^18.0.0",
12+
"@types/react-dom": "^18.0.0",
713
"react": "^19.0.0",
814
"react-dom": "^19.0.0",
9-
"react-scripts": "5.0.1"
15+
"react-scripts": "5.0.1",
16+
"typescript": "^4.4.2",
17+
"web-vitals": "^2.1.0"
1018
},
1119
"scripts": {
1220
"start": "react-scripts start",

src/react-app-env.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="react-scripts" />

tsconfig.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
9+
"allowJs": true,
10+
"skipLibCheck": true,
11+
"esModuleInterop": true,
12+
"allowSyntheticDefaultImports": true,
13+
"strict": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"noFallthroughCasesInSwitch": true,
16+
"module": "esnext",
17+
"moduleResolution": "node",
18+
"resolveJsonModule": true,
19+
"isolatedModules": true,
20+
"noEmit": true,
21+
"jsx": "react-jsx"
22+
},
23+
"include": [
24+
"src"
25+
]
26+
}

0 commit comments

Comments
 (0)