Skip to content

Commit 6cb723a

Browse files
authored
Bump typescript to 4.9.5 (#63)
* Bump typescript to 4.9.5 * Update typescript * Upgrade storybook * Dedupe dependencies * Update yarn.lock following rebase * Lint fixes
1 parent 468e12f commit 6cb723a

File tree

5 files changed

+2187
-2144
lines changed

5 files changed

+2187
-2144
lines changed

packages/components/.storybook/main.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { dirname, join } from 'path';
12
import remarkGfm from 'remark-gfm';
23

34
module.exports = {
@@ -18,9 +19,9 @@ module.exports = {
1819
}
1920
}
2021
},
21-
'@storybook/addon-links',
22-
'@storybook/addon-essentials',
23-
'@storybook/addon-a11y'
22+
getAbsolutePath('@storybook/addon-links'),
23+
getAbsolutePath('@storybook/addon-essentials'),
24+
getAbsolutePath('@storybook/addon-a11y')
2425
],
2526
webpackFinal: async config => {
2627
config.module.rules.push(
@@ -44,11 +45,15 @@ module.exports = {
4445
return config;
4546
},
4647
framework: {
47-
name: '@storybook/html-webpack5',
48+
name: getAbsolutePath('@storybook/html-webpack5'),
4849
options: {}
4950
},
5051
docs: {
5152
autodocs: true,
5253
defaultName: 'Documentation'
5354
}
5455
};
56+
57+
function getAbsolutePath(value) {
58+
return dirname(require.resolve(join(value, 'package.json')));
59+
}

packages/components/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"@microsoft/fast-colors": "^5.3.1",
4444
"@microsoft/fast-components": "^2.30.6",
4545
"@microsoft/fast-element": "^1.12.0",
46-
"@microsoft/fast-foundation": "^2.49.0",
47-
"@microsoft/fast-web-utilities": "^6.0.0"
46+
"@microsoft/fast-foundation": "^2.49.4",
47+
"@microsoft/fast-web-utilities": "^5.4.1"
4848
},
4949
"devDependencies": {
5050
"@babel/preset-env": "^7.22.5",
@@ -56,22 +56,22 @@
5656
"@rollup/plugin-commonjs": "^17.1.0",
5757
"@rollup/plugin-node-resolve": "^11.2.0",
5858
"@rollup/plugin-typescript": "^8.2.0",
59-
"@storybook/addon-a11y": "^7.0.23",
60-
"@storybook/addon-actions": "^7.0.23",
61-
"@storybook/addon-docs": "^7.0.24",
62-
"@storybook/addon-essentials": "^7.0.23",
63-
"@storybook/addon-links": "^7.0.23",
64-
"@storybook/addons": "^7.0.23",
65-
"@storybook/blocks": "^7.0.24",
66-
"@storybook/html": "^7.0.23",
67-
"@storybook/html-webpack5": "^7.0.23",
68-
"@storybook/theming": "^7.0.23",
59+
"@storybook/addon-a11y": "^7.5.3",
60+
"@storybook/addon-actions": "^7.5.3",
61+
"@storybook/addon-docs": "^7.5.3",
62+
"@storybook/addon-essentials": "^7.5.3",
63+
"@storybook/addon-links": "^7.5.3",
64+
"@storybook/addons": "^7.5.3",
65+
"@storybook/blocks": "^7.5.3",
66+
"@storybook/html": "^7.5.3",
67+
"@storybook/html-webpack5": "^7.5.3",
68+
"@storybook/theming": "^7.5.3",
6969
"@types/jest": "^29.0.0",
7070
"@typescript-eslint/eslint-plugin": "^5.60.1",
7171
"eslint": "^8.43.0",
7272
"eslint-config-prettier": "^8.8.0",
7373
"eslint-plugin-import": "^2.25.2",
74-
"eslint-plugin-storybook": "^0.6.12",
74+
"eslint-plugin-storybook": "^0.6.15",
7575
"gh-pages": "^5.0.0",
7676
"jest": "^29.5.0",
7777
"prettier": "^3.0.0",
@@ -84,11 +84,11 @@
8484
"rollup-plugin-filesize": "^9.1.1",
8585
"rollup-plugin-terser": "^7.0.2",
8686
"rollup-plugin-transform-tagged-template": "0.0.3",
87-
"storybook": "^7.0.23",
87+
"storybook": "^7.5.3",
8888
"ts-jest": "^29.1.0",
8989
"ts-loader": "^9.4.3",
9090
"tslib": "^2.6.0",
91-
"typescript": "~4.3.5",
91+
"typescript": "~5.2.2",
9292
"webpack": "^5.0.0"
9393
},
9494
"publishConfig": {

packages/lab-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"rimraf": "^5.0.1",
7373
"source-map-loader": "^1.0.2",
7474
"style-loader": "^3.3.1",
75-
"typescript": "~4.3.5"
75+
"typescript": "~5.2.2"
7676
},
7777
"sideEffects": [
7878
"style/*.css",

packages/react-components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"dependencies": {
3535
"@jupyter/web-components": "^0.13.3",
36-
"@microsoft/fast-react-wrapper": "^0.3.18",
36+
"@microsoft/fast-react-wrapper": "^0.3.22",
3737
"react": ">=17.0.0 <19.0.0"
3838
},
3939
"devDependencies": {
@@ -44,7 +44,7 @@
4444
"eslint-plugin-import": "^2.25.2",
4545
"prettier": "^3.0.0",
4646
"rimraf": "^5.0.1",
47-
"typescript": "~4.3.5"
47+
"typescript": "~5.2.2"
4848
},
4949
"publishConfig": {
5050
"access": "public"

0 commit comments

Comments
 (0)