Skip to content

Commit 494ab2e

Browse files
kennylamguidari
andauthored
feat(typescript): upgrade to v5 (#18577)
* feat(typescript): upgrade typescript-config-carbon to v5 * chore(utilities): upgrade utilities packages to typescript v5 * chore(packages): bump package versions * chore(component): add gh issue to ts-ignore * chore(yarn): dedupe * chore(link): add props import --------- Co-authored-by: Guilherme Datilio Ribeiro <guilhermedatilio@gmail.com>
1 parent fbf9029 commit 494ab2e

22 files changed

+49
-52
lines changed
Binary file not shown.
-11.2 MB
Binary file not shown.
4.11 MB
Binary file not shown.
-11.2 MB
Binary file not shown.
4.11 MB
Binary file not shown.

config/typescript-config-carbon/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "typescript-config-carbon",
33
"description": "TypeScript configuration for Carbon",
4-
"version": "0.3.0",
4+
"version": "0.4.0",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"types": "index.d.ts",
@@ -27,7 +27,7 @@
2727
"build": "yarn clean && tsc"
2828
},
2929
"dependencies": {
30-
"typescript": "^4.8.4"
30+
"typescript": "^5.7.3"
3131
},
3232
"devDependencies": {
3333
"rimraf": "^6.0.0"

config/typescript-config-carbon/tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "es6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14+
"target": "es2017", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
1515
"lib": ["dom", "dom.iterable", "esnext"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
"jsx": "react-jsx", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"rollup": "^2.79.1",
5656
"sass": "^1.77.7",
5757
"sassdoc": "^2.7.3",
58-
"typescript-config-carbon": "^0.3.0",
58+
"typescript-config-carbon": "^0.4.0",
5959
"yargs": "^17.0.1"
6060
}
6161
}

packages/icon-build-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@
5151
"svg-parser": "^2.0.4",
5252
"svgo": "^1.1.1",
5353
"svgson": "^5.2.1",
54-
"typescript-config-carbon": "^0.3.0"
54+
"typescript-config-carbon": "^0.4.0"
5555
}
5656
}

packages/icon-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"devDependencies": {
3939
"@carbon/cli": "^11.23.0",
4040
"rimraf": "^6.0.0",
41-
"typescript-config-carbon": "^0.3.0"
41+
"typescript-config-carbon": "^0.4.0"
4242
},
4343
"sideEffects": false,
4444
"dependencies": {

0 commit comments

Comments
 (0)