Skip to content

Commit

Permalink
chore: update react package telemetry config (#17837)
Browse files Browse the repository at this point in the history
* chore: run telemetry-js-config-generator

* ci(telemetry): add telemetry config status check

* ci(telemetry): install deps before config update script

* ci(telemetry): remove prettier formatting step

* ci(telemetry): fix fetch depth for git diff

* ci(telemetry): build project before config generation

* i give up

---------

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2024
1 parent 12e634d commit 106e804
Show file tree
Hide file tree
Showing 3 changed files with 767 additions and 711 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"lint": "eslint actions config packages www",
"lint:styles": "stylelint '**/*.scss' --report-needless-disables --report-invalid-scope-disables",
"sync": "carbon-cli sync",
"telemetry:config": "lerna run telemetry:config",
"test": "cross-env BABEL_ENV=test jest",
"test:e2e": "cross-env BABEL_ENV=test jest -c jest.e2e.config.js",
"postinstall": "husky"
Expand Down
3 changes: 2 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"clean": "rimraf es lib icons/index.js icons/index.d.ts icons/index.esm.js storybook-static",
"postinstall": "ibmtelemetry --config=telemetry.yml",
"storybook": "storybook dev -p 3000",
"storybook:build": "storybook build"
"storybook:build": "storybook build",
"telemetry:config": "npx -y @ibm/telemetry-js-config-generator generate --id fd89d12b-6a39-48b4-adf4-30c94dc0dddd --endpoint https://www-api.ibm.com/ibm-telemetry/v1/metrics --files ./src/components/**/*.(tsx|js|jsx)"
},
"peerDependencies": {
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
Expand Down
Loading

0 comments on commit 106e804

Please sign in to comment.