Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update react package telemetry config #17837

Merged
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
Loading