@@ -65,32 +65,56 @@ async fn code_in_web_worker() -> Result<i32, diesel::QueryResult<usize>> {
6565
6666look in ` tests/web.rs ` for working example!
6767
68- ## Development
68+ ## Contributing
6969
70- ### Install yarn dependencies
70+ ### Building
71+
72+ #### Install yarn dependencies
7173
7274` yarn install `
7375
74- ### Build the SQLite/OPFS BUndle
76+ #### Build the SQLite/OPFS BUndle
7577
7678` yarn run build `
7779
78- ### Build the rust code, and re-build ` package.json ` if it changed
80+ #### Build the rust code, and re-build ` package.json ` if it changed
7981
8082` cargo build --target wasm32-unknown-unknown `
8183
82- ### Run Tests
84+ #### Run Tests
8385
8486` wasm-pack test --safari --features unsafe-debug-query `
8587
8688navigate to ` http://localhost:8000 ` to observe test output
8789
88- ### Run Tests (headless)
90+ #### Run Tests (headless)
8991
9092` wasm-pack test --safari --headless `
9193
92- ### Setting up the project in VSCode
94+ #### Setting up the project in VSCode
9395
9496rust-analyzer does not like crates with different targets in the same workspace.
9597If you want this to work well with your LSP, open ` diesel-wasm-sqlite ` as it's
9698own project in VSCode.
99+
100+ ### Opening a Pull Request
101+
102+ PR Title should follow
103+ [ conventional commits format] ( https://www.conventionalcommits.org/en/v1.0.0/ )
104+
105+ In short, if should be one of:
106+
107+ - ` fix: ` represents bug fixes, and results in a SemVer patch bump.
108+ - ` feat: ` represents a new feature, and results in a SemVer minor bump.
109+ - ` <prefix>!: ` (e.g. feat!:): represents a ** breaking change** (indicated by the
110+ !) and results in a SemVer major bump.
111+ - ` doc: ` documentation changes
112+ - ` perf: ` changes related to performance
113+ - ` refactor: ` a refactor
114+ - ` style: `
115+ - ` test: `
116+
117+ You can add extra context to conventional commits by using parantheses, for
118+ instance if a PR touched only database-related code, a PR title may be:
119+
120+ - ` feat(db): Add SQLCipher plaintext_header support to database connection `
0 commit comments