Skip to content

Commit

Permalink
chore: onboard @carbon/react-native to IBM Telemetry 🚀 (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca authored Feb 19, 2024
1 parent daee115 commit 1188d16
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 7 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,12 @@ Fonts can be overridden on individual components by overriding the styles (`font
## Contributing

See the [contributing guide](/.github/CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## <picture><source height="20" width="20" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg"><source height="20" width="20" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"><img height="20" width="20" alt="IBM Telemetry" src="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"></picture> IBM Telemetry

This package uses IBM Telemetry to collect metrics data. By installing this
package as a dependency you are agreeing to telemetry collection. To opt out,
see
[Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
For more information on the data being collected, please see the
[IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ios",
"cpp",
"carbon-react-native.podspec",
"telemetry.yml",
"!lib/typescript/example",
"!android/build",
"!ios/build",
Expand All @@ -30,7 +31,7 @@
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn && yarn example pods",
"example:bump": "node ./scripts/bump-example.js",
"postinstall": "carbon-telemetry collect --install",
"postinstall": "ibmtelemetry --config=telemetry.yml",
"docs": "typedoc"
},
"keywords": [
Expand Down Expand Up @@ -173,6 +174,6 @@
]
},
"dependencies": {
"@carbon/telemetry": "^0.1.0"
"@ibm/telemetry-js": "^1.2.1"
}
}
Loading

0 comments on commit 1188d16

Please sign in to comment.