Skip to content

Commit 6a2a93b

Browse files
bsneedBrandon Sneed
andauthored
fix(package): missing repo info (#268)
* fix(package): missing repo info * chore(ci): fix cocoapods ci run Co-authored-by: Brandon Sneed <[email protected]>
1 parent f0febdb commit 6a2a93b

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.circleci/config.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,12 @@ jobs:
124124
- run: brew update-reset
125125
- run: brew tap wix/brew
126126
- run: brew install wix/brew/applesimutils
127-
128-
- restore_cache:
129-
key: cocoapods-specs
127+
- run:
128+
name: Install dependencies
129+
command: |
130+
sudo gem install cocoapods
131+
sudo gem install cocoapods-repo-update
130132
- run: yarn test-app test:ios:cocoapods
131-
- save_cache:
132-
key: cocoapods-specs
133-
paths:
134-
- ~/.cocoapods
135133
publish:
136134
<<: *nodeJob
137135
steps:

packages/core/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.3.2",
44
"description": "The hassle-free way to add analytics to your React-Native app.",
55
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/segmentio/analytics-react-native.git"
9+
},
610
"main": "build/cjs/index.js",
711
"module": "build/esm/index.js",
812
"types": "build/esm/index.d.ts",

packages/integrations/src/gen-integrations.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ async function prepareJs({
136136
main: 'index.js',
137137
version: pkg.version,
138138
license: pkg.license,
139-
description: `${name} Integration for Segment's React-Native analytics library.`
139+
description: `${name} Integration for Segment's React-Native analytics library.`,
140+
repository: {
141+
type: 'git',
142+
url: 'https://github.com/segmentio/analytics-react-native.git'
143+
}
140144
},
141145
null,
142146
2

0 commit comments

Comments
 (0)