Skip to content

Commit 40d687a

Browse files
authored
Merge pull request #32 from shipt/development
Release V1 open source
2 parents 517c2aa + c22de2a commit 40d687a

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
5555
- run:
5656
name: Publish package
57-
command: npm publish
57+
command: npm publish --access public
5858
- run:
5959
name: Create Git Version Tag
6060
command: "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ coverage/
1313
src/**/__tests__/
1414

1515
example/
16+
example.gif

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Segmented arc component for React Native. Check out our documentation below to l
44

55
## Example app demo
66

7-
![example](./example/example.gif)
7+
![example](example.gif)
88

99
## Table of Contents
1010

File renamed without changes.

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
"start": "react-native start",
99
"test": "jest",
1010
"lint": "eslint .",
11-
"pod": "(rm -rf ios/Pods && cd ios/ && pod install --repo-update)"
11+
"pod": "(rm -rf ios/Pods && cd ios/ && pod install --repo-update)",
12+
"postinstall": "(cd node_modules/@shipt/segmented-arc-for-react-native && yarn install --production)"
1213
},
1314
"dependencies": {
14-
"@shipt/segmented-arc-for-react-native": "^0.3.0",
15+
"@shipt/segmented-arc-for-react-native": "file:../",
1516
"react": "17.0.2",
1617
"react-native": "0.66.4",
1718
"react-native-svg": "^12.1.1"

example/yarn.lock

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,10 +1166,8 @@
11661166
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa"
11671167
integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ==
11681168

1169-
"@shipt/segmented-arc-for-react-native@^0.3.0":
1170-
version "0.3.0"
1171-
resolved "https://registry.yarnpkg.com/@shipt/segmented-arc-for-react-native/-/segmented-arc-for-react-native-0.3.0.tgz#9a3abe41b449001b1030ed828ff5d408be76328b"
1172-
integrity sha512-ip87z85odDnygNqkEDK7+3ufyKdcBu8gjKRmMF2tujggD8nMkbw1n2/npBrpwWLtUWOtBkKCqW5TOGzO0LbdVw==
1169+
"@shipt/segmented-arc-for-react-native@file:../":
1170+
version "1.0.0"
11731171
dependencies:
11741172
prop-types "^15.6.2"
11751173

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shipt/segmented-arc-for-react-native",
3-
"version": "0.4.0",
3+
"version": "1.0.0",
44
"description": "Segmented arc component for React Native ",
55
"main": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)