Skip to content

Commit

Permalink
fix: update cloud-cognitive to reflect new package name and prefix (#199
Browse files Browse the repository at this point in the history
)

Co-authored-by: Matt Gallo <[email protected]>
  • Loading branch information
matthewgallo and matthewgallo authored Jan 19, 2022
1 parent f1b4a62 commit 8e0ed25
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/component-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test": "yarn format && yarn lint"
},
"dependencies": {
"@carbon/ibm-cloud-cognitive": "^0.98.0",
"@carbon/ibm-products": "^1.2.4",
"@carbon/ibm-security": "^1.31.0",
"@carbon/ibmdotcom-react": "^1.27.0",
"@carbon/ibmdotcom-web-components": "^1.12.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/component-list/src/libraries/cloud-cognitive.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as _CloudCognitive from '@carbon/ibm-cloud-cognitive';
import * as _CloudCognitive from '@carbon/ibm-products';
import { _initStats } from '../helpers.js';

const { _stats, success } = new _initStats();
Expand Down Expand Up @@ -27,7 +27,7 @@ cloudCognitive = Object.values(cloudCognitive).reduce(
);

cloudCognitive = {
name: 'IBM cloud cognitive',
name: 'Carbon for IBM Products',
components: cloudCognitive,
_stats,
};
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@carbon/colors": "^10.30.0",
"@carbon/grid": "^10.33.0",
"@carbon/ibm-cloud-cognitive": "^0.98.0",
"@carbon/ibm-products": "^1.2.4",
"@carbon/ibm-security": "^1.31.0",
"@carbon/ibmdotcom-react": "^1.27.0",
"@carbon/ibmdotcom-utilities": "^1.27.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/src/globals/prefixSelectors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pkg from '@carbon/ibm-cloud-cognitive/es/global/js/package-settings';
import pkg from '@carbon/ibm-products/es/global/js/package-settings';
import dotcomSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings';
import { getComponentNamespace as getSecurityPrefix } from '@carbon/ibm-security/es/globals/namespace';
import carbonSettings from 'carbon-components/es/globals/js/settings';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getMajorVersion(dependency) {
return getVersion(dependency).split('.')[0];
}

const CLOUD_COGNITIVE = '@carbon/ibm-cloud-cognitive';
const CLOUD_COGNITIVE = '@carbon/ibm-products';

const packages = [
{ name, version },
Expand Down
32 changes: 19 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -987,13 +987,20 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.14.8", "@babel/runtime@^7.16.0", "@babel/runtime@^7.16.3", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.0", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.1", "@babel/runtime@^7.9.2":
"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.14.8", "@babel/runtime@^7.16.3", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.0", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.1", "@babel/runtime@^7.9.2":
version "7.16.3"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5"
integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.16.5":
version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.7.tgz#03ff99f64106588c9c403c6ecb8c3bafbbdff1fa"
integrity sha512-9E9FJowqAsytyOY6LG+1KuueckRL+aQW+mKvXRXnuFGyRAyepJPmEo9vgMfXUA6O9u3IeEdv9MAkppFcaQwogQ==
dependencies:
regenerator-runtime "^0.13.4"

"@babel/template@^7.15.4":
version "7.15.4"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194"
Expand Down Expand Up @@ -1066,14 +1073,14 @@
"@carbon/import-once" "^10.6.0"
"@carbon/layout" "^10.34.0"

"@carbon/ibm-cloud-cognitive@^0.98.0":
version "0.98.0"
resolved "https://registry.yarnpkg.com/@carbon/ibm-cloud-cognitive/-/ibm-cloud-cognitive-0.98.0.tgz#1e04bc7b2921f848360e70bdef266522def55611"
integrity sha512-ZJnheBjRjZzZfpRoOZdJ4rQTDZ+2vXPWilfonXvoHbGc8TLWKLnlp6+PlYcd6DEgjM27I/mornDLoFfcYcC6NA==
"@carbon/ibm-products@^1.2.4":
version "1.2.4"
resolved "https://registry.yarnpkg.com/@carbon/ibm-products/-/ibm-products-1.2.4.tgz#e98a35511bf44713885dbd6b2873030193217556"
integrity sha512-WUrnvlOeMT1WNfvAfOk43lKEyYK0VAnw+/FYLDEmZcBHJEgALnwqQTnDstMqsYXmV0cVrLUz/rGeRsHAVCcFbw==
dependencies:
"@babel/runtime" "^7.16.0"
"@babel/runtime" "^7.16.5"
"@carbon/telemetry" "^0.0.0-alpha.6"
react-resize-detector "^6.7.6"
react-resize-detector "^6.7.7"

"@carbon/ibm-security@^1.31.0":
version "1.46.0"
Expand Down Expand Up @@ -12702,14 +12709,13 @@ [email protected]:
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.8.3.tgz#721d4657672d400c5e3c75d063c4a85fb2d5d68f"
integrity sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg==

react-resize-detector@^6.7.6:
version "6.7.6"
resolved "https://registry.yarnpkg.com/react-resize-detector/-/react-resize-detector-6.7.6.tgz#4416994e5ead7eba76606e3a248a1dfca49b67a3"
integrity sha512-/6RZlul1yePSoYJxWxmmgjO320moeLC/khrwpEVIL+D2EjLKhqOwzFv+H8laMbImVj7Zu4FlMa0oA7au3/ChjQ==
react-resize-detector@^6.7.7:
version "6.7.8"
resolved "https://registry.yarnpkg.com/react-resize-detector/-/react-resize-detector-6.7.8.tgz#318c85d1335e50f99d4fb8eb9ec34e066db597d0"
integrity sha512-0FaEcUBAbn+pq3PT5a9hHRebUfuS1SRLGLpIw8LydU7zX429I6XJgKerKAMPsJH0qWAl6o5bVKNqFJqr6tGPYw==
dependencies:
"@types/resize-observer-browser" "^0.1.6"
lodash.debounce "^4.0.8"
lodash.throttle "^4.1.1"
lodash "^4.17.21"
resize-observer-polyfill "^1.5.1"

react-svg-core@^3.0.3:
Expand Down

0 comments on commit 8e0ed25

Please sign in to comment.