Use @signalapp/better-sqlite3

This commit is contained in:
Fedor Indutny
2022-12-14 12:48:36 -08:00
committed by GitHub
parent 076e3388a3
commit 50d9b6e5e1
40 changed files with 97 additions and 88 deletions

View File

@@ -26,7 +26,7 @@ you can just run `nvm use` in the project directory and it will switch to the pr
desired Node.js version. [nvm for windows](https://github.com/coreybutler/nvm-windows) is
still useful, but it doesn't support `.nvmrc` files.
Then you need [`git`](https://git-scm.com/) and [`git-lfs`](https://github.com/git-lfs/git-lfs/wiki/Installation), if you don't have those yet.
Then you need [`git`](https://git-scm.com/), if you don't have it installed yet.
### macOS
@@ -54,7 +54,6 @@ Install the [Xcode Command-Line Tools](http://osxdaily.com/2014/02/12/install-co
Now, run these commands in your preferred terminal in a good directory for development:
```
git lfs install # Setup Git LFS.
npm install --global yarn # Make sure you have have `yarn`
git clone https://github.com/signalapp/Signal-Desktop.git
cd Signal-Desktop
@@ -78,12 +77,10 @@ the latest built assets when you change a file. Run each of these in their own t
instance while you make changes - they'll run until you stop them:
```
yarn transpile --watch # recompiles when you change .ts files
yarn sass-manifest --watch # recompiles when you change .scss files
yarn dev:transpile # recompiles when you change .ts files
yarn dev:sass # recompiles when you change .scss files
```
If you miss the `git-lfs` step, run `yarn cache clean` and remove `node_modules` before trying again.
### webpack
Some parts of the app (such as the Sticker Creator) have moved to webpack.