carbon-design-system / carbon-react-native

The React Native implementation of the Carbon Design System
https://carbon-design-system.github.io/carbon-react-native/
Apache License 2.0
30 stars 8 forks source link

Add `@carbon/telemetry` #138

Closed tay1orjones closed 1 year ago

tay1orjones commented 1 year ago

The @carbon/telemetry is a package provided by the core team that is configured to run on a postinstall hook and will report low level anonymous usage data when the package is installed.

In this case it should be a couple simple steps:

- [x] Add @carbon/telemetry as a dependency (to ensure it's not dropped by bundlers)
- [x] Invoke it in the `postinstall` script in package.json
"scripts": {
    "postinstall": "carbon-telemetry collect --install"
  },
mattrosno commented 1 year ago

@jdharvey-ibm we'll need to add this package the telemetry back-end after this issue is completed, right?

jharvey10 commented 1 year ago

@mattrosno Yep! Actually I think we could add that prior to this issue getting completed. And then we'll add this to our list that needs to be migrated over to the new telemetry collection once we have that ready.

jharvey10 commented 1 year ago

Issue to track adding the package to the back-end:

https://github.ibm.com/carbon/ibm/issues/132