@momo-kits/foundation 0.92.9-beta.2 → 0.92.10

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.
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@momo-kits/foundation",
3
+ "version": "0.81.0-0",
4
+ "description": "React Native Component Kits",
5
+ "main": "index.ts",
6
+ "scripts": {},
7
+ "keywords": [
8
+ "@momo-kits/foundation"
9
+ ],
10
+ "dependencies": {
11
+ "@gorhom/bottom-sheet": "2.4.1",
12
+ "@react-navigation/bottom-tabs": "https://oauth2:5WXQLHPMxxCyvGt_Py4D@gitlab.mservice.com.vn/momo-platform/react-native-bottom-tabs.git",
13
+ "@react-navigation/core": "5.16.1",
14
+ "@react-navigation/native": "5.9.8",
15
+ "@react-navigation/routers": "5.7.4",
16
+ "@react-navigation/stack": "https://oauth2:eX-jVhzQdLc343AjD3Sc@gitlab.mservice.com.vn/momo-platform/react-navigation-stack.git",
17
+ "lottie-react-native": "3.3.2",
18
+ "react-native-fast-image": "8.1.5",
19
+ "react-native-gesture-handler": "1.10.3",
20
+ "react-native-linear-gradient": "2.8.3",
21
+ "react-native-modalize": "2.1.1",
22
+ "react-native-safe-area-context": "3.1.4"
23
+ },
24
+ "peerDependencies": {
25
+ "react-native": "*"
26
+ },
27
+ "devDependencies": {
28
+ "@babel/core": "^7.12.9",
29
+ "@babel/runtime": "^7.12.5",
30
+ "@momo-platform/versions": "4.1.11",
31
+ "@react-native-community/eslint-config": "^2.0.0",
32
+ "@types/d3-shape": "1.3.7",
33
+ "@types/jest": "26.0.23",
34
+ "@types/react-native": "0.64.4",
35
+ "@types/react-test-renderer": "16.9.2",
36
+ "babel-jest": "^26.6.3",
37
+ "eslint": "^7.14.0",
38
+ "jest": "^26.6.3",
39
+ "metro-react-native-babel-preset": "^0.64.0",
40
+ "react-scanner": "^1.1.0",
41
+ "react-test-renderer": "17.0.1",
42
+ "typescript": "^4.0.3"
43
+ },
44
+ "author": "@momo-kits/foundation",
45
+ "license": "ISC"
46
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.9-beta.2",
3
+ "version": "0.92.10",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},
package/publish.sh CHANGED
@@ -7,16 +7,18 @@ rsync -r --exclude=/dist ./* dist
7
7
  cd dist
8
8
 
9
9
  if [ "$1" == "stable" ]; then
10
+ CURRENT_VERSION=$(npm view @momo-kits/foundation@stable version)
10
11
  npm version $(npm view @momo-kits/foundation@stable version)
11
- npm version patch
12
+ npm version prepatch --preid=stable
12
13
  npm publish --tag stable --access=public
13
14
  elif [ "$1" == "latest" ]; then
15
+ CURRENT_VERSION=$(npm view @momo-kits/foundation@latest version)
14
16
  npm version $(npm view @momo-kits/foundation@latest version)
15
- npm version prerelease --preid=rc
17
+ npm version prepatch --preid=latest
16
18
  npm publish --tag latest --access=public
17
19
  else
18
20
  npm version $(npm view @momo-kits/foundation@beta version)
19
- npm version prerelease --preid=beta
21
+ npm version prepatch --preid=beta
20
22
  npm publish --tag beta --access=public
21
23
  fi
22
24