Skip to content

Commit 40c8cd2

Browse files
Strekgaearon
Strek
andauthored
Add check-all script for beta site (#4120)
* Update package.json * Update README.md * Update package.json * Add tsc for check-all as well * Update README.md * Update README.md Co-authored-by: Dan Abramov <[email protected]>
1 parent bd727cf commit 40c8cd2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

beta/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The documentation is divided into several sections with a different tone and pur
4848
### Test the change
4949

5050
1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
51-
1. Run `yarn check-all` from the `beta` folder. (This will run Prettier, ESLint, and Flow.)
51+
2. Run `yarn check-all` from the `beta` folder. (This will run Prettier, ESLint and validate types.)
5252

5353
### Push it
5454

beta/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"ci-check": "npm-run-all prettier:diff --parallel lint tsc",
1818
"tsc": "tsc --noEmit",
1919
"start": "next start",
20-
"postinstall": "is-ci || (cd .. && husky install beta/.husky)"
20+
"postinstall": "is-ci || (cd .. && husky install beta/.husky)",
21+
"check-all": "npm-run-all prettier lint:fix tsc"
2122
},
2223
"dependencies": {
2324
"@codesandbox/sandpack-react": "^0.1.20",

0 commit comments

Comments
 (0)