cleanup knip deps

This commit is contained in:
hobbes7878 2025-04-20 12:28:02 +01:00
parent 15963f3932
commit 400c9ea228
Failed to extract signature
3 changed files with 1 additions and 74 deletions

View file

@ -8,13 +8,7 @@ const config: KnipConfig = {
'.storybook/**/*.{js,ts,svelte}',
],
ignore: ['**/*.d.ts'],
ignoreDependencies: [
/@types\/.*/,
/@storybook\/.*/,
'chromatic',
'prop-types',
'postcss',
],
ignoreDependencies: [/@types\/.*/, 'chromatic', 'prop-types', 'postcss'],
};
export default config;

View file

@ -66,7 +66,6 @@
"@types/pym.js": "^1.3.2",
"@types/react": "^18.3.20",
"@types/react-syntax-highlighter": "^15.5.13",
"change-case": "^5.4.4",
"chromatic": "^11.28.2",
"css": "^3.0.0",
"css-color-converter": "^2.0.0",
@ -75,15 +74,12 @@
"eslint-plugin-mdx": "^3.4.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-storybook": "^0.12.0",
"fs-extra": "^11.3.0",
"kleur": "^4.1.5",
"knip": "^5.50.5",
"mermaid": "^10.9.3",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"prettier-plugin-svelte": "^3.3.3",
"prism-themes": "^1.9.0",
"prompts": "^2.4.2",
"prop-types": "^15.8.1",
"publint": "^0.3.12",
"react": "^18.3.1",
@ -95,7 +91,6 @@
"storybook": "^8.6.12",
"svelte": "^5.28.1",
"svelte-check": "^4.1.6",
"tiny-glob": "^0.2.9",
"typescript": "^5.8.3",
"vite": "^6.3.2"
},

View file

@ -135,9 +135,6 @@ importers:
'@types/react-syntax-highlighter':
specifier: ^15.5.13
version: 15.5.13
change-case:
specifier: ^5.4.4
version: 5.4.4
chromatic:
specifier: ^11.28.2
version: 11.28.2
@ -162,12 +159,6 @@ importers:
eslint-plugin-storybook:
specifier: ^0.12.0
version: 0.12.0(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
fs-extra:
specifier: ^11.3.0
version: 11.3.0
kleur:
specifier: ^4.1.5
version: 4.1.5
knip:
specifier: ^5.50.5
version: 5.50.5(@types/node@22.14.1)(typescript@5.8.3)
@ -186,9 +177,6 @@ importers:
prism-themes:
specifier: ^1.9.0
version: 1.9.0
prompts:
specifier: ^2.4.2
version: 2.4.2
prop-types:
specifier: ^15.8.1
version: 15.8.1
@ -222,9 +210,6 @@ importers:
svelte-check:
specifier: ^4.1.6
version: 4.1.6(picomatch@4.0.2)(svelte@5.28.1)(typescript@5.8.3)
tiny-glob:
specifier: ^0.2.9
version: 0.2.9
typescript:
specifier: ^5.8.3
version: 5.8.3
@ -1423,9 +1408,6 @@ packages:
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
engines: {node: '>=10'}
change-case@5.4.4:
resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==}
character-entities-html4@2.1.0:
resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}
@ -2168,10 +2150,6 @@ packages:
resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}
engines: {node: '>=0.4.x'}
fs-extra@11.3.0:
resolution: {integrity: sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==}
engines: {node: '>=14.14'}
fs-extra@7.0.1:
resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==}
engines: {node: '>=6 <7 || >=8'}
@ -2250,16 +2228,10 @@ packages:
resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
engines: {node: '>= 0.4'}
globalyzer@0.1.0:
resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==}
globby@11.1.0:
resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
engines: {node: '>=10'}
globrex@0.1.2:
resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
gopd@1.2.0:
resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
engines: {node: '>= 0.4'}
@ -3255,10 +3227,6 @@ packages:
resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==}
engines: {node: '>=10'}
prompts@2.4.2:
resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
engines: {node: '>= 6'}
prop-types@15.8.1:
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
@ -3511,9 +3479,6 @@ packages:
resolution: {integrity: sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A==}
engines: {node: '>=18'}
sisteransi@1.0.5:
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
slash@3.0.0:
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'}
@ -3760,9 +3725,6 @@ packages:
text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
tiny-glob@0.2.9:
resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==}
tiny-invariant@1.3.3:
resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}
@ -5471,8 +5433,6 @@ snapshots:
ansi-styles: 4.3.0
supports-color: 7.2.0
change-case@5.4.4: {}
character-entities-html4@2.1.0: {}
character-entities-legacy@1.1.4: {}
@ -6392,12 +6352,6 @@ snapshots:
format@0.2.2: {}
fs-extra@11.3.0:
dependencies:
graceful-fs: 4.2.11
jsonfile: 6.1.0
universalify: 2.0.1
fs-extra@7.0.1:
dependencies:
graceful-fs: 4.2.11
@ -6502,8 +6456,6 @@ snapshots:
define-properties: 1.2.1
gopd: 1.2.0
globalyzer@0.1.0: {}
globby@11.1.0:
dependencies:
array-union: 2.1.0
@ -6513,8 +6465,6 @@ snapshots:
merge2: 1.4.1
slash: 3.0.0
globrex@0.1.2: {}
gopd@1.2.0: {}
graceful-fs@4.2.11: {}
@ -7748,11 +7698,6 @@ snapshots:
err-code: 2.0.3
retry: 0.12.0
prompts@2.4.2:
dependencies:
kleur: 3.0.3
sisteransi: 1.0.5
prop-types@15.8.1:
dependencies:
loose-envify: 1.4.0
@ -8085,8 +8030,6 @@ snapshots:
mrmime: 2.0.1
totalist: 3.0.1
sisteransi@1.0.5: {}
slash@3.0.0: {}
slugify@1.6.6: {}
@ -8341,11 +8284,6 @@ snapshots:
text-table@0.2.0: {}
tiny-glob@0.2.9:
dependencies:
globalyzer: 0.1.0
globrex: 0.1.2
tiny-invariant@1.3.3: {}
tinyglobby@0.2.12: