@momo-kits/foundation 0.92.29-optimize.10 → 0.92.29-optimize.11

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.
package/Tag/styles.ts CHANGED
@@ -1,19 +1,20 @@
1
1
  import {StyleSheet} from 'react-native';
2
2
  import {Radius, Spacing} from '../Consts';
3
+ import {scaleSize} from '../Text';
3
4
 
4
5
  export default StyleSheet.create({
5
6
  container: {
6
7
  paddingHorizontal: Spacing.S,
7
8
  borderRadius: Radius.S,
8
9
  flexDirection: 'row',
9
- height: 24,
10
+ height: scaleSize(24),
10
11
  alignItems: 'center',
11
12
  justifyContent: 'center',
12
13
  },
13
14
  mediumContainer: {
14
15
  paddingHorizontal: Spacing.S,
15
16
  borderRadius: Radius.S,
16
- height: 18,
17
+ height: scaleSize(18),
17
18
  alignItems: 'center',
18
19
  flexDirection: 'row',
19
20
  justifyContent: 'center',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.29-optimize.10",
3
+ "version": "0.92.29-optimize.11",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},
package/publish.sh CHANGED
@@ -1,28 +1,15 @@
1
1
  #!/bin/bash
2
2
 
3
- # Prepare dist files
4
- rm -rf dist
5
- mkdir dist
6
- rsync -r --exclude=/dist ./* dist
7
- cd dist
8
-
9
3
  if [ "$1" == "stable" ]; then
10
- # npm version $(npm view @momo-kits/foundation@stable version)
11
- # npm version patch
4
+
12
5
  npm publish --tag stable --access=public
13
6
  elif [ "$1" == "latest" ]; then
14
- # npm version $(npm view @momo-kits/foundation@latest version)
15
- # npm version prerelease --preid=rc
7
+
16
8
  npm publish --tag latest --access=public
17
9
  else
18
- # npm version $(npm view @momo-kits/foundation@beta version)
19
- # npm version prerelease --preid=beta
10
+
20
11
  npm publish --tag beta --access=public
21
12
  fi
22
13
 
23
14
  PACKAGE_NAME=$(npm pkg get name)
24
15
  NEW_PACKAGE_VERSION=$(npm pkg get version)
25
-
26
- # Clean up
27
- cd ..
28
- rm -rf dist