Skip to content

Commit 95ac1af

Browse files
authored
Migrate to typescript 5 and webpack 5 setup (#651)
1 parent b7f3165 commit 95ac1af

File tree

13 files changed

+29319
-23226
lines changed

13 files changed

+29319
-23226
lines changed

.all-contributorsrc

+7-21
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"projectOwner": "nordcloud",
44
"repoType": "github",
55
"repoHost": "https://github.com",
6-
"files": [
7-
"README.md"
8-
],
6+
"files": ["README.md"],
97
"imageSize": 100,
108
"commit": true,
119
"commitConvention": "eslint",
@@ -20,54 +18,42 @@
2018
"name": "raczyk",
2119
"avatar_url": "https://avatars0.githubusercontent.com/u/4233480?v=4",
2220
"profile": "https://github.com/raczyk",
23-
"contributions": [
24-
"bug"
25-
]
21+
"contributions": ["bug"]
2622
},
2723
{
2824
"login": "nowyDEV",
2925
"name": "Dominik N",
3026
"avatar_url": "https://avatars2.githubusercontent.com/u/12304307?v=4",
3127
"profile": "https://github.com/nowyDEV",
32-
"contributions": [
33-
"code"
34-
]
28+
"contributions": ["code"]
3529
},
3630
{
3731
"login": "janosio-nordcloud",
3832
"name": "Jan Osio",
3933
"avatar_url": "https://avatars2.githubusercontent.com/u/58164749?v=4",
4034
"profile": "https://github.com/janosio-nordcloud",
41-
"contributions": [
42-
"code"
43-
]
35+
"contributions": ["code"]
4436
},
4537
{
4638
"login": "Horay",
4739
"name": "Horay",
4840
"avatar_url": "https://avatars3.githubusercontent.com/u/8356411?v=4",
4941
"profile": "https://github.com/Horay",
50-
"contributions": [
51-
"code"
52-
]
42+
"contributions": ["code"]
5343
},
5444
{
5545
"login": "Bosmanfrx",
5646
"name": "Przemysław",
5747
"avatar_url": "https://avatars.githubusercontent.com/u/3169290?v=4",
5848
"profile": "https://github.com/Bosmanfrx",
59-
"contributions": [
60-
"code"
61-
]
49+
"contributions": ["code"]
6250
},
6351
{
6452
"login": "mrMarshalX",
6553
"name": "Marcin",
6654
"avatar_url": "https://avatars.githubusercontent.com/u/2817128?v=4",
6755
"profile": "https://github.com/mrMarshalX",
68-
"contributions": [
69-
"code"
70-
]
56+
"contributions": ["code"]
7157
}
7258
]
7359
}

.storybook/main.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
module.exports = {
22
stories: ["../src/**/*.stories.@(js|mdx)"],
3-
addons: [
4-
"@storybook/addon-docs",
5-
{
6-
// https://storybook.js.org/addons/storybook-addon-turbo-build
7-
name: "storybook-addon-turbo-build",
8-
options: {
9-
optimizationLevel: 3,
10-
},
11-
},
12-
],
3+
addons: ["@storybook/addon-docs"],
134
preLoaders: [
145
{
156
test: /\.tsx$/,
167
loader: "eslint-loader",
178
},
189
],
10+
core: {
11+
disableTelemetry: true,
12+
},
13+
core: {
14+
builder: "webpack5",
15+
},
16+
typescript: {
17+
reactDocgen: "react-docgen-typescript",
18+
},
1919
};

knip.jsonc

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lodash.clonedeep",
1010
"@types/lodash.clonedeep",
1111
"storybook",
12+
"webpack",
1213
// Can be listed explicitly in the future
1314
"@jest/types",
1415
"@types/eslint"

0 commit comments

Comments
 (0)