Skip to content

Commit

Permalink
using local path
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-aman committed Nov 14, 2023
1 parent 32b09c8 commit 8e8cd07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"typescript": "^4.1.3"
},
"dependencies": {
"@customerio/analytics-react-native": "https://github.com/customerio/analytics-react-native#aman/fork-integrate-11653",
"@segment/sovran-react-native": "^1.0.0",
"@segment/analytics-react-native": "/Users/amandeepkaur/Documents/Github/analytics-react-native/packages/core",
"@segment/sovran-react-native": "/Users/amandeepkaur/Documents/Github/analytics-react-native/packages/sovran",
"react-native-get-random-values": "^1.9.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/CustomerioTracking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Region } from './CustomerioEnum';
import { CustomerIOInAppMessaging } from './CustomerIOInAppMessaging';
import { CustomerIOPushMessaging } from './CustomerIOPushMessaging';
import type { PushPermissionStatus, PushPermissionOptions } from './types';
import { createClient } from '@customerio/analytics-react-native';
import { createClient } from '@segment/analytics-react-native';

var pjson = require('customerio-reactnative/package.json');

Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"compilerOptions": {
"baseUrl": "./",
"paths": {
"customerio-reactnative": ["./src/index"]
"customerio-reactnative": ["./src/index"],
"@segment/analytics-react-native": ["/Users/amandeepkaur/Documents/Github/analytics-react-native/packages/core/src/index"],
"@segment/sovran-react-native": ["/Users/amandeepkaur/Documents/Github/analytics-react-native/packages/sovran/src/index"]
},
"allowUnreachableCode": false,
"allowUnusedLabels": false,
Expand Down

0 comments on commit 8e8cd07

Please sign in to comment.