Clean up npm dependencies (#35508)

- Remove `minimatch`, was inadvertently re-introduced in
https://github.com/go-gitea/gitea/pull/35482
- Remove `postcss-nesting`, originally introduced in
https://github.com/go-gitea/gitea/pull/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
(https://github.com/wikimedia/eslint-plugin-no-jquery/issues/311)
This commit is contained in:
silverwind
2025-09-17 21:39:44 +00:00
committed by GitHub
parent 2f3da6d6b3
commit 90cb5f9a1f
4 changed files with 0 additions and 52 deletions
-3
View File
@@ -38,7 +38,6 @@
"katex": "0.16.22",
"mermaid": "11.11.0",
"mini-css-extract-plugin": "2.9.4",
"minimatch": "10.0.3",
"monaco-editor": "0.53.0",
"monaco-editor-webpack-plugin": "7.1.0",
"online-3d-viewer": "0.16.0",
@@ -46,7 +45,6 @@
"perfect-debounce": "2.0.0",
"postcss": "8.5.6",
"postcss-loader": "8.2.0",
"postcss-nesting": "13.0.2",
"sortablejs": "1.15.6",
"swagger-ui-dist": "5.29.0",
"tailwindcss": "3.4.17",
@@ -90,7 +88,6 @@
"eslint-plugin-array-func": "5.0.2",
"eslint-plugin-github": "6.0.0",
"eslint-plugin-import-x": "4.16.1",
"eslint-plugin-no-jquery": "3.1.1",
"eslint-plugin-no-use-extend-native": "0.7.2",
"eslint-plugin-playwright": "2.2.2",
"eslint-plugin-regexp": "2.10.0",
-41
View File
@@ -122,9 +122,6 @@ importers:
mini-css-extract-plugin:
specifier: 2.9.4
version: 2.9.4([email protected])
minimatch:
specifier: 10.0.3
version: 10.0.3
monaco-editor:
specifier: 0.53.0
version: 0.53.0
@@ -146,9 +143,6 @@ importers:
postcss-loader:
specifier: 8.2.0
version: 8.2.0([email protected])([email protected])([email protected])
postcss-nesting:
specifier: 13.0.2
version: 13.0.2([email protected])
sortablejs:
specifier: 1.15.6
version: 1.15.6
@@ -273,9 +267,6 @@ importers:
eslint-plugin-import-x:
specifier: 4.16.1
version: 4.16.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))
eslint-plugin-no-jquery:
specifier: 3.1.1
version: 3.1.1([email protected]([email protected]))
eslint-plugin-no-use-extend-native:
specifier: 0.7.2
version: 0.7.2([email protected]([email protected]))
@@ -475,12 +466,6 @@ packages:
'@csstools/css-parser-algorithms': ^3.0.5
'@csstools/css-tokenizer': ^3.0.4
'@csstools/[email protected]':
resolution: {integrity: sha512-mf1LEW0tJLKfWyvn5KdDrhpxHyuxpbNwTIwOYLIvsTffeyOf85j5oIzfG0yosxDgx/sswlqBnESYUcQH0vgZ0g==}
engines: {node: '>=18'}
peerDependencies:
postcss-selector-parser: ^7.0.0
'@csstools/[email protected]':
resolution: {integrity: sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==}
engines: {node: '>=18'}
@@ -2582,11 +2567,6 @@ packages:
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9
[email protected]:
resolution: {integrity: sha512-LTLO3jH/Tjr1pmxCEqtV6qmt+OChv8La4fwgG470JRpgxyFF4NOzoC9CRy92GIWD3Yjl0qLEgPmD2FLQWcNEjg==}
peerDependencies:
eslint: '>=8.0.0'
[email protected]:
resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==}
engines: {node: '>=5.0.0'}
@@ -3841,12 +3821,6 @@ packages:
peerDependencies:
postcss: ^8.2.14
[email protected]:
resolution: {integrity: sha512-1YCI290TX+VP0U/K/aFxzHzQWHWURL+CtHMSbex1lCdpXD1SoR2sYuxDu5aNI9lPoXpKTCggFZiDJbwylU0LEQ==}
engines: {node: '>=18'}
peerDependencies:
postcss: ^8.4
[email protected]:
resolution: {integrity: sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==}
@@ -4864,10 +4838,6 @@ snapshots:
'@csstools/css-parser-algorithms': 3.0.5(@csstools/[email protected])
'@csstools/css-tokenizer': 3.0.4
'@csstools/[email protected]([email protected])':
dependencies:
postcss-selector-parser: 7.1.0
'@csstools/[email protected]([email protected])':
dependencies:
postcss-selector-parser: 7.1.0
@@ -7120,10 +7090,6 @@ snapshots:
safe-regex-test: '@nolyfill/[email protected]'
string.prototype.includes: '@nolyfill/[email protected]'
[email protected]([email protected]([email protected])):
dependencies:
eslint: 9.35.0([email protected])
[email protected]: {}
[email protected]([email protected]([email protected])):
@@ -8452,13 +8418,6 @@ snapshots:
postcss: 8.5.6
postcss-selector-parser: 6.1.2
[email protected]([email protected]):
dependencies:
'@csstools/selector-resolve-nested': 3.1.0([email protected])
'@csstools/selector-specificity': 5.0.0([email protected])
postcss: 8.5.6
postcss-selector-parser: 7.1.0
[email protected]: {}
[email protected]([email protected]):
Vendored
-5
View File
@@ -17,11 +17,6 @@ declare module 'eslint-plugin-github' {
const plugin: Eslint.Plugin;
export = plugin;
}
declare module 'eslint-plugin-no-jquery' {
import type {Eslint} from 'eslint';
const plugin: Eslint.Plugin;
export = plugin;
}
declare module '@eslint-community/eslint-plugin-eslint-comments' {
import type {Eslint} from 'eslint';
const plugin: Eslint.Plugin;
-3
View File
@@ -12,8 +12,6 @@ import {readFileSync, globSync} from 'node:fs';
import {env} from 'node:process';
import tailwindcss from 'tailwindcss';
import tailwindConfig from './tailwind.config.ts';
import tailwindcssNesting from 'tailwindcss/nesting/index.js';
import postcssNesting from 'postcss-nesting';
const {EsbuildPlugin} = EsBuildLoader;
const {SourceMapDevToolPlugin, DefinePlugin, EnvironmentPlugin} = webpack;
@@ -172,7 +170,6 @@ export default {
options: {
postcssOptions: {
plugins: [
tailwindcssNesting(postcssNesting({edition: '2024-02'})),
tailwindcss(tailwindConfig),
],
},