Skip to content

Commit c676bb2

Browse files
committed
remove slate and rebuild the lock file
1 parent 9f8931e commit c676bb2

File tree

3 files changed

+360
-359
lines changed

3 files changed

+360
-359
lines changed

.config/webpack/webpack.config.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ const config = async (env): Promise<Configuration> => {
3737
'lodash',
3838
'jquery',
3939
'moment',
40-
'slate',
4140
'emotion',
4241
'@emotion/react',
4342
'@emotion/css',
4443
'prismjs',
45-
'slate-plain-serializer',
4644
'@grafana/slate-react',
4745
'react',
4846
'react-dom',
@@ -97,7 +95,7 @@ const config = async (env): Promise<Configuration> => {
9795
},
9896
{
9997
test: /\.css$/,
100-
use: ["style-loader", "css-loader"]
98+
use: ['style-loader', 'css-loader'],
10199
},
102100
{
103101
test: /\.s[ac]ss$/,
@@ -197,17 +195,16 @@ const config = async (env): Promise<Configuration> => {
197195
modules: [path.resolve(process.cwd(), 'src'), 'node_modules'],
198196
unsafeCache: true,
199197
},
200-
}
198+
};
201199

202-
if(isWSL()) {
200+
if (isWSL()) {
203201
baseConfig.watchOptions = {
204202
poll: 3000,
205203
ignored: /node_modules/,
206-
}}
207-
204+
};
205+
}
208206

209207
return baseConfig;
210-
211208
};
212209

213210
export default config;

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"@types/ol-ext": "npm:@siedlerchr/types-ol-ext@3.2.0",
4141
"@types/pluralize": "0.0.30",
4242
"@types/prismjs": "1.26.0",
43-
"@types/react": "18.2.15",
44-
"@types/react-beautiful-dnd": "13.1.4",
45-
"@types/react-dom": "18.2.7",
43+
"@types/react": "18.2.29",
44+
"@types/react-beautiful-dnd": "13.1.6",
45+
"@types/react-dom": "18.2.14",
4646
"@types/react-highlight-words": "0.16.5",
4747
"@types/react-redux": "7.1.25",
4848
"@types/react-window": "1.8.7",
@@ -132,9 +132,5 @@
132132
"prettier@3.0.0": {
133133
"unplugged": true
134134
}
135-
},
136-
"resolutions": {
137-
"@types/slate": "0.47.11",
138-
"slate-dev-environment@^0.2.2": "patch:slate-dev-environment@npm:0.2.5#.yarn/patches/slate-dev-environment-npm-0.2.5-9aeb7da7b5.patch"
139135
}
140136
}

0 commit comments

Comments
 (0)