Replace/Remove all references to yarn -> npm

This commit is contained in:
Brandon Presley 2023-10-26 20:32:22 +13:00
parent 1d13cb9c5d
commit 541e8741e8
4 changed files with 4 additions and 22 deletions

View File

@ -47,19 +47,19 @@ The apk file can be found at `android/app/build/outputs/apk/release/app-release.
First ensure Node.js dependencies are installed:
```
yarn install
npm install
```
Then start the metro server:
```
yarn start
npm start
```
Then (in a separate terminal) run the `android` script:
```
yarn android
npm run android
```
# Fdroid Metadata

View File

@ -24,7 +24,7 @@ sed -i "s/\(^\s*\)versionName \"[0-9]*.[0-9]*\"$/\1versionName \"$major.$minor\"
sed -i "s/\"version\": \"[0-9]*.[0-9]*\"/\"version\": \"$major.$minor\"/" ../package.json
if [ "$1" != "-n" ]; then
yarn tsc
npx tsc
./gradlew bundleRelease
bundle install
bundle exec fastlane supply --aab app/build/outputs/bundle/release/app-release.aab

View File

@ -1,9 +0,0 @@
#!/bin/sh
ls *.ts* | entr yarn lint | tee >(
while read ln; do
if echo "${ln}" | grep -q "error"; then
notify-send "${ln}"
fi
done
)

View File

@ -1,9 +0,0 @@
#!/bin/sh
yarn tsc --watch --preserveWatchOutput | tee >(
while read ln; do
if echo "${ln}" | grep -q "Found [^0][0-9]* error"; then
notify-send "${ln}"
fi
done
)