Skip to content

Commit

Permalink
Chore: Onboard @carbon/react to IBM Telemetry πŸš€ (carbon-design-system…
Browse files Browse the repository at this point in the history
…#15390)

* chore: add telemetry.yml config file

* chore: remove HTML attr from telemetry.yml, add ref to React attrs

* chore: onboard @carbon/react to IBM telemetry

* chore: add telemetry.yml to files

* fix: telemetry.yml path correction

* fix: sort telemetry.yml keys and wrap around single quotes

* fix: point schema version to v1
  • Loading branch information
francinelucca authored and danoro96 committed Jan 18, 2024
1 parent a56380e commit e3aadb9
Show file tree
Hide file tree
Showing 4 changed files with 828 additions and 4 deletions.
9 changes: 9 additions & 0 deletions packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! πŸ‘€
## πŸ“ License

Licensed under the [Apache 2.0 License](/LICENSE).

## <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).
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"icons/index.esm.js",
"icons/index.d.ts",
"icons/package.json",
".playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json"
".playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json",
"telemetry.yml"
],
"keywords": [
"ibm",
Expand All @@ -36,7 +37,7 @@
"scripts": {
"build": "yarn clean && node tasks/build-styles.js && node tasks/build.js",
"clean": "rimraf es lib icons/index.js icons/index.d.ts icons/index.esm.js storybook-static",
"postinstall": "carbon-telemetry collect --install",
"postinstall": "npx -y @ibm/telemetry-js --config=telemetry.yml",
"storybook": "storybook dev -p 3000",
"storybook:build": "storybook build"
},
Expand All @@ -51,7 +52,6 @@
"@carbon/icons-react": "^11.32.0",
"@carbon/layout": "^11.20.0",
"@carbon/styles": "^1.45.0",
"@carbon/telemetry": "0.1.0",
"classnames": "2.3.2",
"copy-to-clipboard": "^3.3.1",
"downshift": "8.2.3",
Expand Down

0 comments on commit e3aadb9

Please sign in to comment.