Skip to content

Commit d9a1418

Browse files
authored
Merge pull request #9 from signalfx/gitlabci
Replace yarn with npm
2 parents ea841a2 + ac19225 commit d9a1418

File tree

14 files changed

+37284
-11811
lines changed

14 files changed

+37284
-11811
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
default:
2+
image: 'cimg/node:lts'
3+

.yarnrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,9 @@
22

33
> :construction: This project status is currently **Experimental**. Using it in production is not advised.
44
5-
## Install dependencies
5+
## Install
66

7-
Calling
8-
```sh
9-
yarn
10-
```
11-
in parent folder should install everything. In iOS it sometimes doesn't.
12-
It is not currently in npm.
13-
14-
To get npm package to install somewhere else:
15-
```
16-
yarn pack
17-
```
18-
Produces splunk-otel-react-native-v0.2.0.tgz which you can just
19-
```
20-
yarn add splunk-otel-react-native-v0.2.0.tgz
21-
```
22-
in some other project.
7+
TODO
238
## Running
249

2510
In example folder run:
@@ -40,7 +25,7 @@ To run native RN project in IDE open example/android in android studio or exampl
4025
Somwhere in your app call SplunkRum.init()
4126

4227
```js
43-
import { SplunkRum } from 'splunk-otel-react-native';
28+
import { SplunkRum } from '@splunk/otel-react-native';
4429

4530
export const Rum = SplunkRum.init({
4631
beaconEndpoint: 'https://rum-ingest.us0.signalfx.com/v1/rum',

example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
import { AppRegistry } from 'react-native';
1818
import App from './src/App';
1919
import { name as appName } from './app.json';
20-
import { SplunkRum } from 'splunk-otel-react-native';
20+
import { SplunkRum } from '@splunk/otel-react-native';
2121

2222
export const Rum = SplunkRum.init({
2323
realm: 'us0',

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ PODS:
379379
- React-Core
380380
- React-RCTImage
381381
- SocketRocket (0.6.0)
382-
- splunk-otel-react-native (0.1.0):
382+
- splunk-otel-react-native (0.1.0-alpha.0):
383383
- DeviceKit (~> 4.0)
384384
- React-Core
385385
- Yoga (1.14.0)
@@ -596,7 +596,7 @@ SPEC CHECKSUMS:
596596
ReactCommon: c9246996e73bf75a2c6c3ff15f1e16707cdc2da9
597597
RNScreens: 34cc502acf1b916c582c60003dc3089fa01dc66d
598598
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
599-
splunk-otel-react-native: e8fd2cb2182be98d7539adcefefd841f14c5e261
599+
splunk-otel-react-native: e0153f4c238f07bb73f3c978baf003572018515e
600600
Yoga: eca980a5771bf114c41a754098cd85e6e0d90ed7
601601
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
602602

0 commit comments

Comments
 (0)