Skip to content

Commit d92be3b

Browse files
committed
Merge branch 'main' into fix/add-transaction-locks
2 parents f6d80e7 + af4e605 commit d92be3b

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
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: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
"name": "react-native-nitro-sqlite",
33
"version": "9.1.11",
44
"description": "Fast SQLite library for React Native built using Nitro Modules",
5-
"main": "lib/module/index",
6-
"module": "lib/module/index",
7-
"types": "lib/typescript/module/index.d.ts",
8-
"source": "src/index",
9-
"react-native": "src/index",
5+
"main": "./lib/module/index",
6+
"module": "./lib/module/index",
7+
"types": "./lib/typescript/module/index.d.ts",
8+
"source": "./src/index",
9+
"react-native": "./src/index",
1010
"exports": {
1111
".": {
1212
"import": {
13-
"types": "lib/typescript/module/index.d.ts",
14-
"default": "lib/module/index.js"
13+
"types": "./lib/typescript/module/index.d.ts",
14+
"default": "./lib/module/index.js"
1515
},
1616
"require": {
17-
"types": "lib/typescript/commonjs/index.d.ts",
18-
"default": "lib/commonjs/index.js"
17+
"types": "./lib/typescript/commonjs/index.d.ts",
18+
"default": "./lib/commonjs/index.js"
1919
}
2020
}
2121
},
@@ -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)