diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a17318f04e5..cba0e4015a9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: path: | node_modules */**/node_modules - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'packages/**/yarn.lock') }} - name: Install dependencies run: yarn install --immutable --immutable-cache - name: Build project @@ -95,7 +95,7 @@ jobs: path: | node_modules */**/node_modules - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'packages/**/yarn.lock') }} - name: Install dependencies run: yarn install --immutable --immutable-cache - uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd #v3.0.0 @@ -135,7 +135,7 @@ jobs: path: | node_modules */**/node_modules - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'packages/**/yarn.lock') }} - name: Install dependencies run: yarn install --immutable --immutable-cache - name: Install browsers @@ -198,7 +198,7 @@ jobs: path: | node_modules */**/node_modules - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'packages/**/yarn.lock') }} - name: Install dependencies run: yarn install --immutable --immutable-cache - name: Install browsers @@ -238,4 +238,4 @@ jobs: steps: - name: Check AVT Runner job status if: ${{ needs.avt-runner.result != 'success' }} - run: exit 1 + run: exit 1 \ No newline at end of file diff --git a/.yarn/cache/@ibm-telemetry-js-npm-1.2.0-0868d8ad4f-dd942eaecc.zip b/.yarn/cache/@ibm-telemetry-js-npm-1.2.1-dc75f94032-672a116f05.zip similarity index 99% rename from .yarn/cache/@ibm-telemetry-js-npm-1.2.0-0868d8ad4f-dd942eaecc.zip rename to .yarn/cache/@ibm-telemetry-js-npm-1.2.1-dc75f94032-672a116f05.zip index e92e6c35cc7c..538d5d71d5d6 100644 Binary files a/.yarn/cache/@ibm-telemetry-js-npm-1.2.0-0868d8ad4f-dd942eaecc.zip and b/.yarn/cache/@ibm-telemetry-js-npm-1.2.1-dc75f94032-672a116f05.zip differ diff --git a/packages/carbon-components-react/README.md b/packages/carbon-components-react/README.md index 47822151fd1b..9e706a92c0df 100644 --- a/packages/carbon-components-react/README.md +++ b/packages/carbon-components-react/README.md @@ -81,3 +81,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀 ## 📝 License Licensed under the [Apache 2.0 License](/LICENSE). + +## IBM Telemetry 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). diff --git a/packages/carbon-components-react/package.json b/packages/carbon-components-react/package.json index 72e0f3e80267..39858022e86c 100644 --- a/packages/carbon-components-react/package.json +++ b/packages/carbon-components-react/package.json @@ -16,7 +16,8 @@ "lib", "scss", "index.scss", - "scripts/postinstall.js" + "scripts/postinstall.js", + "telemetry.yml" ], "keywords": [ "react", @@ -33,7 +34,7 @@ "scripts": { "build": "yarn clean && node tasks/build-styles.js && node tasks/build.js", "clean": "rimraf es lib", - "postinstall": "carbon-telemetry collect --install && node scripts/postinstall.js" + "postinstall": "ibmtelemetry --config=telemetry.yml && node scripts/postinstall.js" }, "peerDependencies": { "react": "^16.8.6 || ^17.0.1 || ^18.2.0", @@ -43,7 +44,7 @@ "dependencies": { "@carbon/react": "^1.51.0", "@carbon/styles": "^1.51.0", - "@carbon/telemetry": "0.1.0", + "@ibm/telemetry-js": "^1.2.1", "chalk": "1.1.3" }, "devDependencies": { diff --git a/packages/carbon-components-react/telemetry.yml b/packages/carbon-components-react/telemetry.yml new file mode 100644 index 000000000000..5563f91c803d --- /dev/null +++ b/packages/carbon-components-react/telemetry.yml @@ -0,0 +1,816 @@ +# yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json +version: 1 +projectId: "38f5fcf2-c8d7-4f28-b269-1c0a20ac6b7e" +endpoint: "https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics" +collect: + npm: + dependencies: null + jsx: + elements: + allowedAttributeNames: + # General + - 'accept' + - 'action' + - 'active' + - 'addFocusListeners' + - 'align' + - 'aria-controls' + - 'aria-label' + - 'aria-labelledby' + - 'ariaLabel' + - 'as' + - 'autoAlign' + - 'autoComplete' + - 'backwardText' + - 'buttonKind' + - 'checked' + - 'children' + - 'className' + - 'clearSelectionDescription' + - 'clearSelectionText' + - 'closeButtonLabelText' + - 'closeModal' + - 'closeOnActivation' + - 'colSpan' + - 'cols' + - 'compareItems' + - 'condensed' + - 'contained' + - 'danger' + - 'datePickerType' + - 'defaultChecked' + - 'defaultExpanded' + - 'defaultOpen' + - 'defaultSelected' + - 'defaultValue' + - 'description' + - 'dir' + - 'direction' + - 'disabled' + - 'downshiftProps' + - 'element' + - 'enableCounter' + - 'enterDelayMs' + - 'expandIconDescription' + - 'expanded' + - 'experimentalAutoAlign' + - 'feedback' + - 'feedbackTimeout' + - 'forwardText' + - 'fullWidth' + - 'hasDivider' + - 'hasIconOnly' + - 'hasRoundedCorners' + - 'hasScrollingContent' + - 'head' + - 'headers' + - 'helperText' + - 'hideCloseButton' + - 'hideLabel' + - 'hidePasswordLabel' + - 'href' + - 'iconDescription' + - 'id' + - 'indeterminate' + - 'index' + - 'initialSelectedItem' + - 'initialSelectedItems' + - 'inline' + - 'invalid' + - 'invalidText' + - 'isActive' + - 'isCondensed' + - 'isCurrentPage' + - 'isExpanded' + - 'isExpressive' + - 'isFlush' + - 'isFullWidth' + - 'isSelected' + - 'isSideNavExpanded' + - 'isSortable' + - 'itemRangeText' + - 'itemText' + - 'itemToElement' + - 'itemToString' + - 'items' + - 'itemsPerPageText' + - 'kind' + - 'label' + - 'labelPosition' + - 'labelText' + - 'large' + - 'launcherButtonRef' + - 'leaveDelayMs' + - 'legendId' + - 'legendText' + - 'level' + - 'light' + - 'loadingDescription' + - 'loadingIconDescription' + - 'loadingStatus' + - 'locale' + - 'lowContrast' + - 'max' + - 'maxCount' + - 'modalHeading' + - 'modalLabel' + - 'mode' + - 'multiple' + - 'name' + - 'narrow' + - 'nested' + - 'onBlur' + - 'onChange' + - 'onClear' + - 'onClick' + - 'onClose' + - 'onCloseButtonClick' + - 'onDelete' + - 'onExpand' + - 'onFocus' + - 'onInputValueChange' + - 'onKeyDown' + - 'onKeyUp' + - 'onLoadingSuccess' + - 'onMenuChange' + - 'onMouseEnter' + - 'onMouseLeave' + - 'onOpen' + - 'onRequestClose' + - 'onRequestSubmit' + - 'onSelect' + - 'onToggle' + - 'open' + - 'orientation' + - 'overflowMenuOnHover' + - 'page' + - 'pageRangeText' + - 'pageSize' + - 'pageSizes' + - 'pageText' + - 'pagesUnknown' + - 'passiveModal' + - 'pattern' + - 'placeholder' + - 'prefix' + - 'preventCloseOnClickOutside' + - 'primaryButtonDisabled' + - 'primaryButtonText' + - 'radio' + - 'readOnly' + - 'renderIcon' + - 'renderSelectedItem' + - 'role' + - 'rowCount' + - 'rows' + - 'secondaryButtonText' + - 'secondaryButtons' + - 'secondaryLabel' + - 'selected' + - 'selectedItem' + - 'selectedItems' + - 'selectionFeedback' + - 'selectorPrimaryFocus' + - 'selectorsFloatingMenus' + - 'showPasswordLabel' + - 'size' + - 'slug' + - 'small' + - 'sortItems' + - 'status' + - 'statusIconDescription' + - 'stickyHeader' + - 'subtitle' + - 'tabIndex' + - 'text' + - 'theme' + - 'title' + - 'titleText' + - 'tooltipAlignment' + - 'tooltipPosition' + - 'totalItems' + - 'translateWithId' + - 'type' + - 'useStaticWidth' + - 'useTitleInItem' + - 'useZebraStyles' + - 'value' + - 'vertical' + - 'warn' + - 'warnText' + # AccordionItem + - 'onHeadingClick' + - 'renderExpando' + - 'renderToggle' + # AccordionSkeleton + - 'count' + # ActionableNotification + - 'actionButtonLabel' + - 'closeOnEscape' + - 'hasFocus' + - 'onActionButtonClick' + # AspectRatio + - 'ratio' + # Breadcrumb + - 'noTrailingSlash' + # BreadcrumbItem + - 'aria-current' + # Button + - 'dangerDescription' + # ButtonSet + - 'stacked' + # ClickableTile + - 'clicked' + - 'rel' + # CodeSnippet + - 'copyButtonDescription' + - 'copyText' + - 'hideCopyButton' + - 'maxCollapsedNumberOfRows' + - 'maxExpandedNumberOfRows' + - 'minCollapsedNumberOfRows' + - 'minExpandedNumberOfRows' + - 'showLessText' + - 'showMoreText' + - 'wrapText' + # Column + - 'lg' + - 'md' + - 'sm' + - 'span' + - 'xlg' + # ComboBox + - 'allowCustomValue' + - 'onInputChange' + - 'onToggleClick' + - 'shouldFilterItem' + # ComposedModal + - 'containerClassName' + # ContainedList + - 'isInset' + # Content + - 'tagName' + # Copy + - 'onAnimationEnd' + # DataTable + - 'filterRows' + - 'sortRow' + # DataTableSkeleton + - 'columnCount' + - 'compact' + - 'showHeader' + - 'showToolbar' + - 'zebra' + # DatePicker + - 'allowInput' + - 'appendTo' + - 'closeOnSelect' + - 'dateFormat' + - 'disable' + - 'enable' + - 'maxDate' + - 'minDate' + - 'short' + # DatePickerSkeleton + - 'range' + # DefinitionTooltip + - 'definition' + - 'openOnHover' + - 'tooltipText' + - 'triggerClassName' + # ErrorBoundary + - 'fallback' + # ExpandableTile + - 'tileCollapsedIconText' + - 'tileCollapsedLabel' + - 'tileExpandedIconText' + - 'tileExpandedLabel' + # FileUploader + - 'buttonLabel' + - 'filenameStatus' + - 'labelDescription' + - 'labelTitle' + # FileUploaderButton + - 'disableLabelChanges' + # FileUploaderDropContainer + - 'onAddFiles' + # FileUploaderItem + - 'errorBody' + - 'errorSubject' + - 'uuid' + # Filename + - 'aria-describedby' + # FormGroup + - 'message' + - 'messageText' + # GridSettings + - 'subgrid' + # HeaderContainer + - 'render' + # HeaderMenuButton + - 'isCollapsible' + # HeaderPanel + - 'onHeaderPanelFocus' + # IconButton + - 'wrapperClasses' + # InlineLoading + - 'onSuccess' + - 'successDelay' + # Link + - 'visited' + # Loading + - 'withOverlay' + # Menu + - 'target' + - 'x' + - 'y' + # MenuItem + - 'shortcut' + # MenuItemRadioGroup + - 'defaultSelectedItem' + # Modal + - 'alert' + - 'closeButtonLabel' + - 'modalAriaLabel' + - 'onSecondarySubmit' + - 'shouldSubmitOnEnter' + # ModalBody + - 'hasForm' + # ModalFooter + - 'inputref' + - 'primaryClassName' + - 'secondaryClassName' + # ModalHeader + - 'buttonOnClick' + - 'closeClassName' + - 'closeIconClassName' + - 'labelClassName' + - 'titleClassName' + # ModalWrapper + - 'buttonTriggerClassName' + - 'buttonTriggerText' + - 'handleOpen' + - 'handleSubmit' + - 'modalBeforeContent' + - 'modalText' + - 'renderTriggerButtonIcon' + - 'shouldCloseAfterSubmit' + - 'triggerButtonIconDescription' + - 'triggerButtonKind' + - 'withHeader' + # NotificationButton + - 'notificationType' + # NumberInput + - 'allowEmpty' + - 'disableWheel' + - 'hideSteppers' + - 'min' + - 'step' + # OrderedList + - 'native' + # OverflowMenuItem + - 'closeMenu' + - 'handleOverflowMenuItemFocus' + - 'isDelete' + - 'onMouseDown' + - 'onMouseUp' + - 'requireTitle' + - 'wrapperClassName' + # Pagination + - 'isLastPage' + - 'pageInputDisabled' + - 'pageNumberText' + - 'pageSizeInputDisabled' + # PaginationNav + - 'disableOverflow' + - 'itemsShown' + - 'loop' + # PasswordInput + - 'onTogglePasswordVisibility' + # Popover + - 'caret' + - 'dropShadow' + - 'highContrast' + - 'isTabTip' + # ProgressIndicator + - 'currentIndex' + - 'spaceEqually' + # ProgressStep + - 'complete' + - 'current' + - 'overflowTooltipProps' + - 'tooltipId' + # RadioButtonGroup + - 'valueSelected' + # Select + - 'noLabel' + # SelectItem + - 'hidden' + # SideNav + - 'addMouseListeners' + - 'isChildOfHeader' + - 'isFixedNav' + - 'isPersistent' + - 'isRail' + - 'onOverlayClick' + - 'onSideNavBlur' + # SideNavFooter + - 'assistiveText' + # SideNavSwitcher + - 'options' + # SkeletonIcon + - 'style' + # SkeletonText + - 'heading' + - 'lineCount' + - 'paragraph' + - 'width' + # SliderSkeleton + - 'twoHandles' + # Stack + - 'gap' + # StructuredListCell + - 'noWrap' + # StructuredListWrapper + - 'selection' + # SwitcherItem + - 'handleSwitcherItemFocus' + # Tab + - 'renderButton' + # TabList + - 'activation' + - 'iconSize' + - 'leftOverflowButtonProps' + - 'rightOverflowButtonProps' + - 'scrollDebounceWait' + - 'scrollIntoView' + # TableBatchActions + - 'onCancel' + - 'onSelectAll' + - 'shouldShowBatchActions' + - 'totalCount' + - 'totalSelected' + # TableBody + - 'aria-live' + # TableExpandHeader + - 'enableExpando' + - 'enableToggle' + # TableExpandRow + - 'expandHeader' + # TableHeader + - 'isSortHeader' + - 'scope' + - 'sortDirection' + # TableToolbarSearch + - 'persistent' + - 'searchContainerClass' + # Tabs + - 'defaultSelectedIndex' + - 'dismissable' + - 'onTabCloseRequest' + - 'selectedIndex' + # Tag + - 'filter' + # TextArea + - 'counterMode' + # TimePicker + - 'maxLength' + - 'warning' + - 'warningText' + # ToastNotification + - 'caption' + - 'timeout' + # Toggle + - 'defaultToggled' + - 'labelA' + - 'labelB' + - 'toggled' + # TreeNode + - 'depth' + - 'onNodeFocusEvent' + - 'onTreeSelect' + # TreeView + - 'multiselect' + # unstable_FeatureFlags + - 'flags' + # unstable_Layout + - 'density' + # unstable_PageSelector + - 'currentPage' + - 'totalPages' + # unstable_Pagination + - 'initialPage' + # unstable_TextDirection + - 'getTextDirection' + # unstable__FluidMultiSelect + - 'isFilterable' + # unstable__FluidTextInput + - 'isPassword' + # unstable__FluidTimePickerSkeleton + - 'isOnlyTwo' + # unstable__Slug + - 'aiText' + - 'aiTextLabel' + - 'dotType' + - 'onRevertClick' + - 'revertActive' + - 'revertLabel' + - 'slugContent' + - 'slugLabel' + # React + - key + - ref + allowedAttributeStringValues: + # General - align + - 'bottom' + - 'bottom-left' + - 'bottom-right' + - 'end' + - 'left' + - 'left-bottom' + - 'left-top' + - 'right' + - 'right-bottom' + - 'right-top' + - 'start' + - 'top' + - 'top-left' + - 'top-right' + # General - buttonKind + - 'danger' + - 'danger--ghost' + - 'danger--primary' + - 'danger--tertiary' + - 'ghost' + - 'primary' + - 'secondary' + - 'tertiary' + # General - datePickerType + - 'range' + - 'simple' + - 'single' + # General - dir + - 'auto' + - 'ltr' + - 'rtl' + # General - direction + - 'bottom' + - 'top' + # General - kind + - 'danger' + - 'danger--ghost' + - 'danger--primary' + - 'danger--tertiary' + - 'default' + - 'disclosed' + - 'error' + - 'ghost' + - 'hollow' + - 'info' + - 'info-square' + - 'inline' + - 'on-page' + - 'primary' + - 'secondary' + - 'success' + - 'tertiary' + - 'warning' + - 'warning-alt' + # General - labelPosition + - 'left' + - 'right' + # General - loadingStatus + - 'active' + - 'error' + - 'finished' + - 'inactive' + # General - locale + - 'ar' + - 'at' + - 'az' + - 'be' + - 'bg' + - 'bn' + - 'bs' + - 'cat' + - 'cs' + - 'cy' + - 'da' + - 'de' + - 'en' + - 'eo' + - 'es' + - 'et' + - 'fa' + - 'fi' + - 'fo' + - 'fr' + - 'ga' + - 'gr' + - 'he' + - 'hi' + - 'hr' + - 'hu' + - 'id' + - 'is' + - 'it' + - 'ja' + - 'ka' + - 'km' + - 'ko' + - 'kz' + - 'lt' + - 'lv' + - 'mk' + - 'mn' + - 'ms' + - 'my' + - 'nl' + - 'no' + - 'pa' + - 'pl' + - 'pt' + - 'ro' + - 'ru' + - 'si' + - 'sk' + - 'sl' + - 'sq' + - 'sr' + - 'sv' + - 'th' + - 'tr' + - 'uk' + - 'uz' + - 'uz_latn' + - 'vn' + - 'zh' + - 'zh_tw' + # General - max + - '100%' + - '25%' + - '50%' + - '75%' + # General - mode + - 'basic' + - 'css-grid' + - 'flexbox' + - 'full' + # General - orientation + - 'horizontal' + - 'vertical' + # General - role + - 'alert' + - 'log' + - 'status' + # General - selectionFeedback + - 'fixed' + - 'top' + - 'top-after-reopen' + # General - size + - '2xl' + - '2xs' + - 'big' + - 'lg' + - 'md' + - 'mini' + - 'sm' + - 'small' + - 'xl' + - 'xs' + # General - status + - 'active' + - 'complete' + - 'edit' + - 'error' + - 'finished' + - 'inactive' + - 'uploading' + # General - theme + - 'g10' + - 'g100' + - 'g90' + - 'white' + # General - tooltipAlignment + - 'bottom' + - 'bottom-left' + - 'bottom-right' + - 'center' + - 'end' + - 'left' + - 'right' + - 'start' + - 'top' + - 'top-left' + - 'top-right' + # General - tooltipPosition + - 'bottom' + - 'left' + - 'right' + - 'top' + # General - type + - 'blue' + - 'button' + - 'cool-gray' + - 'cyan' + - 'default' + - 'gray' + - 'green' + - 'high-contrast' + - 'indented' + - 'inline' + - 'magenta' + - 'multi' + - 'outline' + - 'password' + - 'purple' + - 'red' + - 'reset' + - 'single' + - 'submit' + - 'teal' + - 'text' + - 'warm-gray' + # AspectRatio - ratio + - '16x9' + - '1x1' + - '1x2' + - '2x1' + - '2x3' + - '3x2' + - '3x4' + - '4x3' + - '9x16' + # BreadcrumbItem - aria-current + - 'date' + - 'false' + - 'location' + - 'page' + - 'step' + - 'time' + - 'true' + # Column - lg + - '100%' + - '25%' + - '50%' + - '75%' + # Column - md + - '100%' + - '25%' + - '50%' + - '75%' + # Column - sm + - '100%' + - '25%' + - '50%' + - '75%' + # Column - span + - '100%' + - '25%' + - '50%' + - '75%' + # Column - xlg + - '100%' + - '25%' + - '50%' + - '75%' + # FileUploader - filenameStatus + - 'complete' + - 'edit' + - 'uploading' + # ModalWrapper - triggerButtonKind + - 'danger' + - 'danger--ghost' + - 'danger--primary' + - 'danger--tertiary' + - 'ghost' + - 'primary' + - 'secondary' + - 'tertiary' + # NotificationButton - notificationType + - 'actionable' + - 'inline' + - 'toast' + # TabList - activation + - 'automatic' + - 'manual' + # TabList - iconSize + - 'default' + - 'lg' + # TableBody - aria-live + - 'assertive' + - 'off' + - 'polite' + # TableHeader - sortDirection + - 'ASC' + - 'DESC' + - 'NONE' + # TextArea - counterMode + - 'character' + - 'word' + # unstable_Layout - density + - 'condensed' + - 'normal' + # unstable__Slug - dotType + - 'default' + - 'hollow' \ No newline at end of file diff --git a/packages/carbon-components/README.md b/packages/carbon-components/README.md index c45c8900ffc1..b92f7fb21bef 100644 --- a/packages/carbon-components/README.md +++ b/packages/carbon-components/README.md @@ -143,3 +143,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀 ## 📝 License Licensed under the [Apache 2.0 License](/LICENSE). + +## IBM Telemetry 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). diff --git a/packages/carbon-components/package.json b/packages/carbon-components/package.json index 9a494a7f1d6f..c110b2fb3c64 100644 --- a/packages/carbon-components/package.json +++ b/packages/carbon-components/package.json @@ -13,7 +13,8 @@ "files": [ "scss/**/*", "index.scss", - "scripts/postinstall.js" + "scripts/postinstall.js", + "telemetry.yml" ], "keywords": [ "carbon", @@ -36,14 +37,14 @@ }, "scripts": { "build": "node tasks/build-styles.js", - "postinstall": "carbon-telemetry collect --install && node scripts/postinstall.js" + "postinstall": "ibmtelemetry --config=telemetry.yml && node scripts/postinstall.js" }, "peerDependencies": { "sass": "^1.33.0" }, "dependencies": { "@carbon/styles": "^1.51.0", - "@carbon/telemetry": "0.1.0", + "@ibm/telemetry-js": "^1.2.1", "chalk": "1.1.3" }, "devDependencies": { diff --git a/packages/carbon-components/telemetry.yml b/packages/carbon-components/telemetry.yml new file mode 100644 index 000000000000..dc1454dd1f83 --- /dev/null +++ b/packages/carbon-components/telemetry.yml @@ -0,0 +1,8 @@ +# yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json + +version: 1 +projectId: fbc5603c-90ba-4d2f-b054-55108c9e06c0 +endpoint: https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics +collect: + npm: + dependencies: null \ No newline at end of file diff --git a/packages/react/package.json b/packages/react/package.json index 6303c77df31d..6ed9eb48757b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -52,7 +52,7 @@ "@carbon/icons-react": "^11.36.0", "@carbon/layout": "^11.20.0", "@carbon/styles": "^1.51.0", - "@ibm/telemetry-js": "^1.2.0", + "@ibm/telemetry-js": "^1.2.1", "classnames": "2.5.1", "copy-to-clipboard": "^3.3.1", "downshift": "8.3.1", diff --git a/yarn.lock b/yarn.lock index 615737a09804..11ca7c14ae22 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2049,7 +2049,7 @@ __metadata: "@carbon/styles": "npm:^1.51.0" "@carbon/test-utils": "npm:^10.30.0" "@carbon/themes": "npm:^11.32.0" - "@ibm/telemetry-js": "npm:^1.2.0" + "@ibm/telemetry-js": "npm:^1.2.1" "@rollup/plugin-babel": "npm:^6.0.0" "@rollup/plugin-commonjs": "npm:^25.0.0" "@rollup/plugin-node-resolve": "npm:^15.0.0" @@ -3196,12 +3196,12 @@ __metadata: languageName: node linkType: hard -"@ibm/telemetry-js@npm:^1.2.0": - version: 1.2.0 - resolution: "@ibm/telemetry-js@npm:1.2.0" +"@ibm/telemetry-js@npm:^1.2.1": + version: 1.2.1 + resolution: "@ibm/telemetry-js@npm:1.2.1" bin: ibmtelemetry: dist/collect.js - checksum: dd942eaecc6bdf40f91309fc783b2d1b654e9cb73dd0b98ec54eef53816cad027c60ccaf6415cc81dd3ee1f8686159733ac226f6c13288419269a001a7b81b3b + checksum: 672a116f050f89160015c370f49ce1b7478f21d2686252df3456d62f41a4c4f170ed345a6454c1de3005e03397492ed3aee8d98cf7b5cf27d13b054306dcc21b languageName: node linkType: hard @@ -9852,8 +9852,8 @@ __metadata: "@babel/preset-react": "npm:^7.17.12" "@carbon/react": "npm:^1.51.0" "@carbon/styles": "npm:^1.51.0" - "@carbon/telemetry": "npm:0.1.0" "@carbon/test-utils": "npm:^10.30.0" + "@ibm/telemetry-js": "npm:^1.2.1" "@rollup/plugin-babel": "npm:^6.0.0" "@rollup/plugin-commonjs": "npm:^25.0.0" "@rollup/plugin-node-resolve": "npm:^15.0.0" @@ -9891,8 +9891,8 @@ __metadata: resolution: "carbon-components@workspace:packages/carbon-components" dependencies: "@carbon/styles": "npm:^1.51.0" - "@carbon/telemetry": "npm:0.1.0" "@carbon/test-utils": "npm:^10.30.0" + "@ibm/telemetry-js": "npm:^1.2.1" chalk: "npm:1.1.3" fs-extra: "npm:^11.0.0" rimraf: "npm:^5.0.0"