Replace/Remove all references to yarn -> npm
This commit is contained in:
parent
1d13cb9c5d
commit
541e8741e8
|
@ -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:
|
First ensure Node.js dependencies are installed:
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
Then start the metro server:
|
Then start the metro server:
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
Then (in a separate terminal) run the `android` script:
|
Then (in a separate terminal) run the `android` script:
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn android
|
npm run android
|
||||||
```
|
```
|
||||||
|
|
||||||
# Fdroid Metadata
|
# Fdroid Metadata
|
||||||
|
|
|
@ -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
|
sed -i "s/\"version\": \"[0-9]*.[0-9]*\"/\"version\": \"$major.$minor\"/" ../package.json
|
||||||
|
|
||||||
if [ "$1" != "-n" ]; then
|
if [ "$1" != "-n" ]; then
|
||||||
yarn tsc
|
npx tsc
|
||||||
./gradlew bundleRelease
|
./gradlew bundleRelease
|
||||||
bundle install
|
bundle install
|
||||||
bundle exec fastlane supply --aab app/build/outputs/bundle/release/app-release.aab
|
bundle exec fastlane supply --aab app/build/outputs/bundle/release/app-release.aab
|
||||||
|
|
|
@ -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
|
|
||||||
)
|
|
|
@ -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
|
|
||||||
)
|
|
Loading…
Reference in New Issue