Skip to content

Commit 90cb5f9

Browse files
authored
Clean up npm dependencies (#35508)
- Remove `minimatch`, was inadvertently re-introduced in #35482 - Remove `postcss-nesting`, originally introduced in #29746 to support some fork, but I'm now of the opinion we should not ship dependencies that we don't use ourselves. - Remove `eslint-plugin-no-jquery`, plugin is currently disabled because of compat issues with eslint 9 (wikimedia/eslint-plugin-no-jquery#311)
1 parent 2f3da6d commit 90cb5f9

File tree

4 files changed

+0
-52
lines changed

4 files changed

+0
-52
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,13 @@
3838
"katex": "0.16.22",
3939
"mermaid": "11.11.0",
4040
"mini-css-extract-plugin": "2.9.4",
41-
"minimatch": "10.0.3",
4241
"monaco-editor": "0.53.0",
4342
"monaco-editor-webpack-plugin": "7.1.0",
4443
"online-3d-viewer": "0.16.0",
4544
"pdfobject": "2.3.1",
4645
"perfect-debounce": "2.0.0",
4746
"postcss": "8.5.6",
4847
"postcss-loader": "8.2.0",
49-
"postcss-nesting": "13.0.2",
5048
"sortablejs": "1.15.6",
5149
"swagger-ui-dist": "5.29.0",
5250
"tailwindcss": "3.4.17",
@@ -90,7 +88,6 @@
9088
"eslint-plugin-array-func": "5.0.2",
9189
"eslint-plugin-github": "6.0.0",
9290
"eslint-plugin-import-x": "4.16.1",
93-
"eslint-plugin-no-jquery": "3.1.1",
9491
"eslint-plugin-no-use-extend-native": "0.7.2",
9592
"eslint-plugin-playwright": "2.2.2",
9693
"eslint-plugin-regexp": "2.10.0",

pnpm-lock.yaml

Lines changed: 0 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types.d.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ declare module 'eslint-plugin-github' {
1717
const plugin: Eslint.Plugin;
1818
export = plugin;
1919
}
20-
declare module 'eslint-plugin-no-jquery' {
21-
import type {Eslint} from 'eslint';
22-
const plugin: Eslint.Plugin;
23-
export = plugin;
24-
}
2520
declare module '@eslint-community/eslint-plugin-eslint-comments' {
2621
import type {Eslint} from 'eslint';
2722
const plugin: Eslint.Plugin;

webpack.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import {readFileSync, globSync} from 'node:fs';
1212
import {env} from 'node:process';
1313
import tailwindcss from 'tailwindcss';
1414
import tailwindConfig from './tailwind.config.ts';
15-
import tailwindcssNesting from 'tailwindcss/nesting/index.js';
16-
import postcssNesting from 'postcss-nesting';
1715

1816
const {EsbuildPlugin} = EsBuildLoader;
1917
const {SourceMapDevToolPlugin, DefinePlugin, EnvironmentPlugin} = webpack;
@@ -172,7 +170,6 @@ export default {
172170
options: {
173171
postcssOptions: {
174172
plugins: [
175-
tailwindcssNesting(postcssNesting({edition: '2024-02'})),
176173
tailwindcss(tailwindConfig),
177174
],
178175
},

0 commit comments

Comments
 (0)