Skip to content

Commit 6206316

Browse files
joshblackasudoh
authored andcommitted
fix(react): update icons-react dependency (#2706)
1 parent e71825a commit 6206316

File tree

6 files changed

+3
-21
lines changed

6 files changed

+3
-21
lines changed
-7.92 KB
Binary file not shown.
-622 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"format": "prettier --write '**/*.{js,md,scss,ts}' '!**/{build,es,lib,storybook,ts,umd}/**'",
2222
"format:diff": "prettier --list-different '**/*.{js,md,scss,ts}' '!**/{build,es,lib,storybook,ts,umd,components}/**'",
2323
"format:staged": "prettier --write",
24-
"lint:styles": "stylelint \"**/*.{css,scss}\" --config ./packages/stylelint-config-elements",
24+
"lint:styles": "stylelint '**/*.{css,scss}' --config ./packages/stylelint-config-elements",
2525
"sync": "node tasks/sync.js",
2626
"test": "jest",
2727
"test:e2e": "jest --testPathPattern=e2e --testPathIgnorePatterns='examples,/packages/components/,/packages/react/'"
@@ -90,11 +90,6 @@
9090
"yarn lerna run lint:staged --scope carbon-components-react",
9191
"git add"
9292
],
93-
"*.{scss,css}": [
94-
"yarn format:staged",
95-
"stylelint --config ./packages/stylelint-config-elements",
96-
"git add"
97-
],
9893
"*.md": [
9994
"yarn format:staged",
10095
"git add"

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"react-dom": "^16.8.6"
127127
},
128128
"dependencies": {
129-
"@carbon/icons-react": "^0.0.1-beta.4",
129+
"@carbon/icons-react": "10.2.0",
130130
"classnames": "2.2.6",
131131
"downshift": "^1.31.14",
132132
"flatpickr": "4.5.5",

packages/react/scripts/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
mainFields: ['jsnext', 'module', 'main'],
6666
}),
6767
commonjs({
68-
include: /node_modules/,
68+
include: [/node_modules/, /icons-react\/lib/],
6969
sourceMap: true,
7070
namedExports: {
7171
'react/index.js': [

yarn.lock

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,11 +1364,6 @@
13641364
resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-0.0.1-beta.0.tgz#58a71fbe64128ac606dad2fadcab53aa701cbcd8"
13651365
integrity sha512-O7wZ8drife1mYjxWQRzRhllePPLQWhLcXAxSAPSKRBTZZy5kaQCPOFYiNOsZ86fh+B6ycqEO/8suIeWoZsoWxA==
13661366

1367-
"@carbon/icon-helpers@0.0.1-beta.5":
1368-
version "0.0.1-beta.5"
1369-
resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-0.0.1-beta.5.tgz#829e8593dbcee76e5d6300839d2b5d734f90c98d"
1370-
integrity sha512-3gFkiIWRlfPrDsYSfgKyveS4kkp0+HIg2fUP4jm5G9JgzOfE+Ebw4f0ASg02z4YMywrs2sw60hbdrFi1GGihGQ==
1371-
13721367
"@carbon/icon-helpers@10.1.1":
13731368
version "10.1.1"
13741369
resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-10.1.1.tgz#08affd6f68936ba48beca7a732b0e70bd5ab8ca0"
@@ -1390,14 +1385,6 @@
13901385
"@carbon/icon-helpers" "0.0.1-beta.0"
13911386
prop-types "^15.6.2"
13921387

1393-
"@carbon/icons-react@^0.0.1-beta.4":
1394-
version "0.0.1-beta.5"
1395-
resolved "https://registry.yarnpkg.com/@carbon/icons-react/-/icons-react-0.0.1-beta.5.tgz#77f7ffb4f3a1376cc990db72f524e7ecf3291b33"
1396-
integrity sha512-Cigh18dQHgS5pnqfLpp/wjrUBRRd05KC9A3Iloa3WWMlRCy6/Mgoe6Zg0teMOEIYrfoGFx29bgWeeyvzrufLLw==
1397-
dependencies:
1398-
"@carbon/icon-helpers" "0.0.1-beta.5"
1399-
prop-types "^15.6.2"
1400-
14011388
"@carbon/icons@10.1.0":
14021389
version "10.1.0"
14031390
resolved "https://registry.yarnpkg.com/@carbon/icons/-/icons-10.1.0.tgz#12daa64ef63c47128c2b2cc570456df5fdc34f1d"

0 commit comments

Comments
 (0)