Skip to content

Commit

Permalink
fix: include ibm telemetry config file in published build (#2865)
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca authored Apr 22, 2024
1 parent 8ff0322 commit 42dd2af
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
18 changes: 7 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"@carbon/icons": "11.14.0",
"@carbon/utils-position": "1.1.4",
"@floating-ui/dom": "1.6.3",
"@ibm/telemetry-js": "^1.2.1",
"@ibm/telemetry-js": "^1.5.0",
"flatpickr": "4.6.13",
"tslib": "2.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ gulp buildMeta
# generate ALL the documentation
mkdir dist/docs
npm run build-storybook
npm run docs:build && mv documentation dist/docs/
npm run docs:build && mv documentation dist/docs/ && mv telemetry.yml dist/telemetry.yml
6 changes: 3 additions & 3 deletions src/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"@carbon/utils-position",
"@carbon/icon-helpers",
"@carbon/icons",
"@carbon/telemetry",
"@floating-ui/dom",
"flatpickr"
"@floating-ui/dom",
"@ibm/telemetry-js",
"flatpickr"
]
}
4 changes: 2 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "[email protected]:carbon-design-system/carbon-components-angular.git"
},
"scripts": {
"postinstall": "carbon-telemetry collect --install"
"postinstall": "ibmtelemetry --config=telemetry.yml"
},
"license": "Apache-2.0",
"author": "IBM",
Expand All @@ -18,9 +18,9 @@
"dependencies": {
"@carbon/icon-helpers": "10.37.0",
"@carbon/icons": "11.14.0",
"@carbon/telemetry": "0.1.0",
"@carbon/utils-position": "1.1.4",
"@floating-ui/dom": "1.6.3",
"@ibm/telemetry-js": "^1.5.0",
"flatpickr": "4.6.13",
"tslib": "2.3.0"
}
Expand Down

0 comments on commit 42dd2af

Please sign in to comment.