Skip to content

Commit b0fe931

Browse files
committed
extra scripts
1 parent 01b2f21 commit b0fe931

6 files changed

Lines changed: 10 additions & 36 deletions

File tree

PR.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

examples/basic/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"web": "expo start --web",
1010
"test": "jest",
1111
"lint": "eslint .",
12-
"typecheck": "tsc --noEmit"
12+
"typecheck": "tsc --noEmit",
13+
"validate": "yarn expo install --check && yarn lint && yarn typecheck && yarn test --watchman=false"
1314
},
1415
"dependencies": {
1516
"expo": "~54.0.33",

examples/cookbook/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"eject": "expo eject",
99
"test": "jest",
1010
"lint": "eslint .",
11-
"typecheck": "tsc --noEmit"
11+
"typecheck": "tsc --noEmit",
12+
"validate": "yarn expo install --check && yarn lint && yarn typecheck && yarn test --watchman=false"
1213
},
1314
"dependencies": {
1415
"expo": "~54.0.33",

experiments-app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"start": "expo start",
1010
"android": "expo start --android",
1111
"ios": "expo start --ios",
12-
"web": "expo start --web"
12+
"web": "expo start --web",
13+
"validate": "yarn expo install --check && yarn typecheck"
1314
},
1415
"dependencies": {
1516
"@react-navigation/native": "^7.2.2",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
"prettier": "prettier --check .",
3434
"prettier:fix": "prettier --write .",
3535
"validate": "yarn typecheck && yarn test && yarn lint && yarn prettier",
36+
"validate:examples": "yarn --cwd examples/basic validate && yarn --cwd examples/cookbook validate",
37+
"validate:all": "yarn validate && yarn validate:examples && yarn --cwd website validate && yarn --cwd experiments-app validate",
3638
"validate:fix": "yarn prettier:fix && yarn lint --fix && yarn typecheck && yarn test -u",
3739
"build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"",
3840
"build:ts": "tsc --build tsconfig.release.json",

website/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"start": "rspress dev",
77
"build": "rspress build",
8-
"preview": "rspress preview"
8+
"preview": "rspress preview",
9+
"validate": "yarn build"
910
},
1011
"dependencies": {
1112
"@callstack/rspress-theme": "^0.6.3",

0 commit comments

Comments
 (0)