You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,19 @@ If no matching binary is available for your platform or runtime, the published p
13
13
# Installation
14
14
15
15
```sh
16
-
yarn add "@journeyapps/sqlcipher"
16
+
pnpm add "@journeyapps/sqlcipher"
17
17
# Or: npm install --save "@journeyapps/sqlcipher"
18
18
```
19
19
20
+
## Development
21
+
22
+
This repository uses `pnpm` for local development and CI.
23
+
24
+
```sh
25
+
pnpm install
26
+
pnpm test
27
+
```
28
+
20
29
# Usage
21
30
22
31
```js
@@ -55,7 +64,7 @@ A copy of the source for SQLCipher 4.14.0 is bundled, which is based on SQLite 3
55
64
56
65
Building from source when installing the package is supported again.
57
66
58
-
The published tarball includes `binding.gyp`, `deps/`, and `src/` so that `npm install --build-from-source`, `node-gyp rebuild`, and rebuild tools such as `electron-rebuild` can compile the addon when needed.
67
+
The published tarball includes `binding.gyp`, `deps/`, and `src/` so that `pnpm install`, `npm install`, `node-gyp rebuild`, and rebuild tools such as `electron-rebuild` can compile the addon when needed.
Copy file name to clipboardExpand all lines: SQLCipher.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,13 +48,13 @@ This will refresh the files in `deps/OpenSSL-Win32`, `deps/OpenSSL-Win64`, `deps
48
48
Run:
49
49
50
50
```sh
51
-
./node_modules/.bin/node-gyp rebuild
51
+
pnpm execnode-gyp rebuild
52
52
```
53
53
54
54
Then run the tests:
55
55
56
56
```sh
57
-
npm runtest
57
+
pnpmtest
58
58
```
59
59
60
60
If you want to verify the source-build fallback path specifically, temporarily move the matching prebuilt binary out of `lib/binding/` and rerun the tests.
@@ -73,4 +73,3 @@ This repository now builds SQLCipher with:
73
73
* Use CommonCrypto on macOS.
74
74
* Use the vendored Windows OpenSSL headers and static libraries for Windows release binaries.
75
75
* Add additional define statements required by SQLCipher.
0 commit comments