Skip to content

Commit 3129cfd

Browse files
committed
chore: fix new typecheck script name
1 parent aaca4e5 commit 3129cfd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ Our pre-commit hooks verify that the linter and tests pass when committing.
7979
The `package.json` file contains various scripts for common tasks:
8080

8181
- `bun bootstrap`: setup project by installing all dependencies and pods.
82-
- `bun typescript`: type-check files with TypeScript.
82+
- `bun typecheck`: type-check files with TypeScript.
8383
- `bun lint`: lint files with ESLint.
84+
- `bun prettier`: format all source files according to Prettier config
8485
- `bun test`: run unit tests with Jest.
8586
- `bun example start`: start the Metro server for the example app.
8687
- `bun example android`: run the example app on Android.

package/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"!**/__mocks__"
3838
],
3939
"scripts": {
40-
"build": "bun typescript && bob build",
41-
"specs": "bun typescript && bun nitro-codegen --logLevel=\"debug\"",
40+
"build": "bun typecheck && bob build",
41+
"specs": "bun typecheck && bun nitro-codegen --logLevel=\"debug\"",
4242
"typecheck": "tsc --noEmit",
4343
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
4444
"test": "jest",
@@ -100,7 +100,7 @@
100100
"release": false
101101
},
102102
"hooks": {
103-
"before:init": "bun typescript && bun lint",
103+
"before:init": "bun typecheck && bun lint",
104104
"after:bump": "bun run build"
105105
}
106106
},

0 commit comments

Comments
 (0)