diff --git a/components.json b/components.json index 62d39e6d..de492375 100644 --- a/components.json +++ b/components.json @@ -1,7 +1,7 @@ { "$schema": "https://next.shadcn-svelte.com/schema.json", "tailwind": { - "css": "src/app.postcss", + "css": "src/app.css", "baseColor": "slate" }, "aliases": { diff --git a/eslint.config.js b/eslint.config.js index 15e0aece..9cff0938 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -4,7 +4,7 @@ import prettier from 'eslint-config-prettier'; import sortKeysPlugin from 'eslint-plugin-sort-keys'; import svelte from 'eslint-plugin-svelte'; import eslintPluginUnicorn from 'eslint-plugin-unicorn'; -import { defineConfig, globalIgnores } from 'eslint/config'; +import { defineConfig } from 'eslint/config'; import globals from 'globals'; import { fileURLToPath } from 'node:url'; import ts from 'typescript-eslint'; @@ -14,7 +14,6 @@ const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); export default defineConfig( includeIgnoreFile(gitignorePath), - globalIgnores(['postcss.config.cjs']), js.configs.recommended, ...ts.configs.strict, ...ts.configs.stylistic, diff --git a/package.json b/package.json index 7ae46ba4..167f7714 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "eslint-config-prettier": "^10.0.1", "eslint-plugin-es": "^4.1.0", "eslint-plugin-no-only-tests": "^3.3.0", - "eslint-plugin-postcss-modules": "^2.0.0", "eslint-plugin-sort-keys": "^2.3.5", "eslint-plugin-svelte": "^3.0.0", "eslint-plugin-tailwindcss": "^3.18.2", @@ -65,8 +64,6 @@ "lucide-svelte": "^0.507.0", "node-html-parser": "^6.1.13", "paneforge": "1.0.0-next.6", - "postcss": "^8.5.3", - "postcss-load-config": "5.1.0", "prettier": "^3.5.3", "prettier-plugin-svelte": "^3.4.0", "prettier-plugin-tailwindcss": "^0.6.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8222cf28..d6a272e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -174,9 +174,6 @@ importers: eslint-plugin-no-only-tests: specifier: ^3.3.0 version: 3.3.0 - eslint-plugin-postcss-modules: - specifier: ^2.0.0 - version: 2.0.0(eslint@9.34.0(jiti@2.5.1)) eslint-plugin-sort-keys: specifier: ^2.3.5 version: 2.3.5 @@ -213,12 +210,6 @@ importers: paneforge: specifier: 1.0.0-next.6 version: 1.0.0-next.6(svelte@5.38.6) - postcss: - specifier: ^8.5.3 - version: 8.5.3 - postcss-load-config: - specifier: 5.1.0 - version: 5.1.0(jiti@2.5.1)(postcss@8.5.3) prettier: specifier: ^3.5.3 version: 3.5.3 @@ -1708,9 +1699,6 @@ packages: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} - bindings@1.5.0: - resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} - bits-ui@2.9.6: resolution: {integrity: sha512-OzHktsQRsIz/hIMk5VwHo96Wpp/KY68q/ebUPUzTbvuFBrALB/X+QvO4KLgdczj5dfb3xHs9zpWq8yMH8ZbZlA==} engines: {node: '>=20'} @@ -1769,10 +1757,6 @@ packages: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} - camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} @@ -2144,10 +2128,6 @@ packages: dayjs@1.11.13: resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} - deasync@0.1.30: - resolution: {integrity: sha512-OaAjvEQuQ9tJsKG4oHO9nV1UHTwb2Qc2+fadB0VeVtD0Z9wiG1XPGLJ4W3aLhAoQSYTaLROFRbd5X20Dkzf7MQ==} - engines: {node: '>=0.11.0'} - debug@4.4.0: resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} engines: {node: '>=6.0'} @@ -2317,11 +2297,6 @@ packages: resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==} engines: {node: '>=5.0.0'} - eslint-plugin-postcss-modules@2.0.0: - resolution: {integrity: sha512-82usNIaeAEHKbQOnbSs+H3d9nP6TKD2zBZC/wuedbGMTbF8XGkdxI83kptTE6BcvIWgnLPciVa8voe6zIw4ddw==} - peerDependencies: - eslint: '>=0.8.0' - eslint-plugin-sort-keys@2.3.5: resolution: {integrity: sha512-2j/XKQ9sNJwK8kIp/U0EvuF6stS6/8aIc53/NskE4C5NRNh4dt3xzbZyOdrVC11cTH6Zo59/pdzA0Kb+2fQGWg==} @@ -2478,9 +2453,6 @@ packages: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} - file-uri-to-path@1.0.0: - resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - fill-range@7.1.1: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} @@ -2653,12 +2625,6 @@ packages: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} - icss-utils@5.1.0: - resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} - engines: {node: ^10 || ^12 || >= 14} - peerDependencies: - postcss: ^8.1.0 - ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -3112,9 +3078,6 @@ packages: natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - node-addon-api@1.7.2: - resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==} - node-html-parser@6.1.13: resolution: {integrity: sha512-qIsTMOY4C/dAa5Q5vsobRpOOvPfC4pB61UVW2uSwZNUp0QU/jCekTal1vMmbO0DgdHeLUJpv/ARmDqErVxA3Sg==} @@ -3431,30 +3394,6 @@ packages: peerDependencies: postcss: ^8.4.31 - postcss-modules-extract-imports@3.0.0: - resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} - engines: {node: ^10 || ^12 || >= 14} - peerDependencies: - postcss: ^8.1.0 - - postcss-modules-local-by-default@4.2.0: - resolution: {integrity: sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==} - engines: {node: ^10 || ^12 || >= 14} - peerDependencies: - postcss: ^8.1.0 - - postcss-modules-scope@3.2.1: - resolution: {integrity: sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==} - engines: {node: ^10 || ^12 || >= 14} - peerDependencies: - postcss: ^8.1.0 - - postcss-modules-values@4.0.0: - resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} - engines: {node: ^10 || ^12 || >= 14} - peerDependencies: - postcss: ^8.1.0 - postcss-nested@6.2.0: resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==} engines: {node: '>=12.0'} @@ -5867,10 +5806,6 @@ snapshots: binary-extensions@2.3.0: {} - bindings@1.5.0: - dependencies: - file-uri-to-path: 1.0.0 - bits-ui@2.9.6(@internationalized/date@3.7.0)(svelte@5.38.6): dependencies: '@floating-ui/core': 1.7.2 @@ -5944,8 +5879,6 @@ snapshots: camelcase-css@2.0.1: {} - camelcase@6.3.0: {} - caniuse-api@3.0.0: dependencies: browserslist: 4.24.4 @@ -6385,11 +6318,6 @@ snapshots: dayjs@1.11.13: {} - deasync@0.1.30: - dependencies: - bindings: 1.5.0 - node-addon-api: 1.7.2 - debug@4.4.0: dependencies: ms: 2.1.3 @@ -6567,22 +6495,6 @@ snapshots: eslint-plugin-no-only-tests@3.3.0: {} - eslint-plugin-postcss-modules@2.0.0(eslint@9.34.0(jiti@2.5.1)): - dependencies: - anymatch: 3.1.3 - camelcase: 6.3.0 - deasync: 0.1.30 - eslint: 9.34.0(jiti@2.5.1) - icss-utils: 5.1.0(postcss@8.5.3) - postcss: 8.5.3 - postcss-load-config: 3.1.4(postcss@8.5.3) - postcss-modules-extract-imports: 3.0.0(postcss@8.5.3) - postcss-modules-local-by-default: 4.2.0(postcss@8.5.3) - postcss-modules-scope: 3.2.1(postcss@8.5.3) - postcss-modules-values: 4.0.0(postcss@8.5.3) - transitivePeerDependencies: - - ts-node - eslint-plugin-sort-keys@2.3.5: dependencies: natural-compare: 1.4.0 @@ -6779,8 +6691,6 @@ snapshots: dependencies: flat-cache: 4.0.1 - file-uri-to-path@1.0.0: {} - fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -6942,10 +6852,6 @@ snapshots: dependencies: safer-buffer: 2.1.2 - icss-utils@5.1.0(postcss@8.5.3): - dependencies: - postcss: 8.5.3 - ieee754@1.2.1: {} ignore@5.3.2: {} @@ -7362,8 +7268,6 @@ snapshots: natural-compare@1.4.0: {} - node-addon-api@1.7.2: {} - node-html-parser@6.1.13: dependencies: css-select: 5.1.0 @@ -7579,13 +7483,6 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.5.3 - postcss-load-config@3.1.4(postcss@8.5.3): - dependencies: - lilconfig: 2.1.0 - yaml: 1.10.2 - optionalDependencies: - postcss: 8.5.3 - postcss-load-config@3.1.4(postcss@8.5.6): dependencies: lilconfig: 2.1.0 @@ -7607,6 +7504,7 @@ snapshots: optionalDependencies: jiti: 2.5.1 postcss: 8.5.3 + optional: true postcss-merge-longhand@6.0.5(postcss@8.5.3): dependencies: @@ -7646,27 +7544,6 @@ snapshots: postcss: 8.5.3 postcss-selector-parser: 6.1.2 - postcss-modules-extract-imports@3.0.0(postcss@8.5.3): - dependencies: - postcss: 8.5.3 - - postcss-modules-local-by-default@4.2.0(postcss@8.5.3): - dependencies: - icss-utils: 5.1.0(postcss@8.5.3) - postcss: 8.5.3 - postcss-selector-parser: 7.1.0 - postcss-value-parser: 4.2.0 - - postcss-modules-scope@3.2.1(postcss@8.5.3): - dependencies: - postcss: 8.5.3 - postcss-selector-parser: 7.1.0 - - postcss-modules-values@4.0.0(postcss@8.5.3): - dependencies: - icss-utils: 5.1.0(postcss@8.5.3) - postcss: 8.5.3 - postcss-nested@6.2.0(postcss@8.5.3): dependencies: postcss: 8.5.3 diff --git a/svelte.config.js b/svelte.config.js index a337bb0c..506b4b72 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -5,11 +5,7 @@ import { sveltePreprocess } from 'svelte-preprocess'; const config = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors - preprocess: [ - sveltePreprocess({ - postcss: true - }) - ], + preprocess: [sveltePreprocess({})], kit: { alias: { '$/*': './src/lib/*'