@quintype/native-components 2.29.2 → 2.29.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
#!/bin/bash -e
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
npm install
|
|
4
|
+
git diff --quiet
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
BRANCH=$(git symbolic-ref --short HEAD)
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
if [ "$BRANCH" == 'master' ]
|
|
9
|
+
then
|
|
10
|
+
npx standard-version
|
|
11
|
+
else
|
|
12
|
+
npx standard-version --prerelease "$(git symbolic-ref --short HEAD | sed s:/:-:g )" --skip.changelog=true
|
|
13
|
+
fi
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
git push --follow-tags origin "$BRANCH"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quintype/native-components",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.4-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"react-htmltext": "^0.40.2",
|
|
20
20
|
"react-native-fast-image": ">=8.3.2",
|
|
21
21
|
"react-native-image-pan-zoom": "^2.1.12",
|
|
22
|
+
"react-native-is-detox": "^1.2.3",
|
|
22
23
|
"react-native-lightbox": "0.8.1",
|
|
23
24
|
"react-native-modal": "^13.0.1",
|
|
24
25
|
"react-native-render-html": "^4.2.3",
|
|
@@ -20,6 +20,7 @@ import Icon from 'react-native-vector-icons/AntDesign';
|
|
|
20
20
|
import TrackPlayer, { usePlaybackState, Capability, State, AppKilledPlaybackBehavior, useProgress } from "react-native-track-player";
|
|
21
21
|
import MaterialIcon from "react-native-vector-icons/MaterialCommunityIcons";
|
|
22
22
|
import FontAwesomeIcon from "react-native-vector-icons/FontAwesome";
|
|
23
|
+
// import { isDetoxSync } from 'react-native-is-detox';
|
|
23
24
|
|
|
24
25
|
import Modal from 'react-native-modal';
|
|
25
26
|
|
|
@@ -162,7 +163,8 @@ export const Story = ({
|
|
|
162
163
|
const [showModal, setShowModal] = useState(false);
|
|
163
164
|
const [audioRate, setAudioRate] = useState(1);
|
|
164
165
|
const playbackState = usePlaybackState();
|
|
165
|
-
const
|
|
166
|
+
// const isDetox = isDetoxSync();
|
|
167
|
+
const progress = useProgress(2000);
|
|
166
168
|
const [isFinishedPlaying, setFinishedPlaying] = useState(false);
|
|
167
169
|
|
|
168
170
|
|