From 2ebccf34e8dc892649607f99bc971d1426ca4ab1 Mon Sep 17 00:00:00 2001 From: davay Date: Mon, 1 Jan 2024 23:25:13 +0700 Subject: [PATCH] cleanup --- content/vite.config.js | 5 +- package.json | 4 -- pnpm-lock.yaml | 151 +++-------------------------------------- 3 files changed, 10 insertions(+), 150 deletions(-) diff --git a/content/vite.config.js b/content/vite.config.js index cff76ad..605876a 100644 --- a/content/vite.config.js +++ b/content/vite.config.js @@ -1,11 +1,10 @@ -import { defineConfig } from 'vite' import Components from 'unplugin-vue-components/vite' import Unocss from 'unocss/vite' import { transformerDirectives, presetIcons, presetUno, extractorSplit } from 'unocss' import extractorPug from '@unocss/extractor-pug' import AutoImport from 'unplugin-auto-import/vite' -export default defineConfig({ +export default { plugins: [ AutoImport({ @@ -55,6 +54,6 @@ export default defineConfig({ '@vueuse/core', ], }, -}) +} diff --git a/package.json b/package.json index d1aba4e..bcf5223 100644 --- a/package.json +++ b/package.json @@ -31,13 +31,9 @@ "@unocss/reset": "^0.58.2" }, "devDependencies": { - "@types/node": "^18.19.4", - "esbuild-register": "^3.5.0", "pug": "^3.0.2", "unplugin-auto-import": "^0.17.3", - "unplugin-icons": "^0.18.1", "unplugin-vue-components": "^0.26.0", - "vite": "^5.0.10", "vitepress": "^1.0.0-rc.34", "unocss": "^0.58.2", "@unocss/extractor-pug": "^0.58.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46e364c..75a8ce3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,15 +16,9 @@ dependencies: version: 3.4.3 devDependencies: - '@types/node': - specifier: ^18.19.4 - version: 18.19.4 '@unocss/extractor-pug': specifier: ^0.58.2 version: 0.58.2(pug@3.0.2) - esbuild-register: - specifier: ^3.5.0 - version: 3.5.0(esbuild@0.19.11) pug: specifier: ^3.0.2 version: 3.0.2 @@ -34,18 +28,12 @@ devDependencies: unplugin-auto-import: specifier: ^0.17.3 version: 0.17.3(@vueuse/core@10.7.1) - unplugin-icons: - specifier: ^0.18.1 - version: 0.18.1 unplugin-vue-components: specifier: ^0.26.0 version: 0.26.0(vue@3.4.3) - vite: - specifier: ^5.0.10 - version: 5.0.10(@types/node@18.19.4) vitepress: specifier: ^1.0.0-rc.34 - version: 1.0.0-rc.34(@algolia/client-search@4.22.0)(@types/node@18.19.4)(postcss@8.4.32)(search-insights@2.13.0) + version: 1.0.0-rc.34(@algolia/client-search@4.22.0)(postcss@8.4.32)(search-insights@2.13.0) packages: @@ -198,12 +186,6 @@ packages: find-up: 5.0.0 dev: true - /@antfu/install-pkg@0.3.1: - resolution: {integrity: sha512-A3zWY9VeTPnxlMiZtsGHw2lSd3ghwvL8s9RiGOtqvDxhhFfZ781ynsGBa/iUnDJ5zBrmTFQrJDud3TGgRISaxw==} - dependencies: - execa: 8.0.1 - dev: true - /@antfu/utils@0.7.7: resolution: {integrity: sha512-gFPqTG7otEJ8uP6wrhDv6mqwGWYZKNvAcCq6u9hOj0c+IKCEsY4L1oC9trPq2SaWIzAfHvqfBDxF591JkMf+kg==} dev: true @@ -995,12 +977,6 @@ packages: resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==} dev: true - /@types/node@18.19.4: - resolution: {integrity: sha512-xNzlUhzoHotIsnFoXmJB+yWmBvFZgKCI9TtPIEdYIMM1KWfwuY8zh7wvc1u1OAXlC7dlf6mZVx/s+Y5KfFz19A==} - dependencies: - undici-types: 5.26.5 - dev: true - /@types/web-bluetooth@0.0.20: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} @@ -1015,7 +991,7 @@ packages: '@unocss/core': 0.58.2 '@unocss/reset': 0.58.2 '@unocss/vite': 0.58.2(vite@5.0.10) - vite: 5.0.10(@types/node@18.19.4) + vite: 5.0.10 transitivePeerDependencies: - rollup dev: true @@ -1223,7 +1199,7 @@ packages: chokidar: 3.5.3 fast-glob: 3.3.2 magic-string: 0.30.5 - vite: 5.0.10(@types/node@18.19.4) + vite: 5.0.10 transitivePeerDependencies: - rollup dev: true @@ -1235,7 +1211,7 @@ packages: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.0.10(@types/node@18.19.4) + vite: 5.0.10 vue: 3.4.3 dev: true @@ -1605,17 +1581,6 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} - /esbuild-register@3.5.0(esbuild@0.19.11): - resolution: {integrity: sha512-+4G/XmakeBAsvJuDugJvtyF1x+XJT4FMocynNpxrvEBViirpfUn2PgNpCHedfWhF4WokNsO/OvMKrmJOIJsI5A==} - peerDependencies: - esbuild: '>=0.12 <1' - dependencies: - debug: 4.3.4 - esbuild: 0.19.11 - transitivePeerDependencies: - - supports-color - dev: true - /esbuild@0.19.11: resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==} engines: {node: '>=12'} @@ -1686,21 +1651,6 @@ packages: strip-final-newline: 2.0.0 dev: true - /execa@8.0.1: - resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} - engines: {node: '>=16.17'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 8.0.1 - human-signals: 5.0.0 - is-stream: 3.0.0 - merge-stream: 2.0.0 - npm-run-path: 5.2.0 - onetime: 6.0.0 - signal-exit: 4.1.0 - strip-final-newline: 3.0.0 - dev: true - /fast-glob@3.3.2: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} @@ -1773,11 +1723,6 @@ packages: engines: {node: '>=10'} dev: true - /get-stream@8.0.1: - resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} - engines: {node: '>=16'} - dev: true - /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -1826,11 +1771,6 @@ packages: engines: {node: '>=10.17.0'} dev: true - /human-signals@5.0.0: - resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} - engines: {node: '>=16.17.0'} - dev: true - /is-binary-path@2.1.0: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} @@ -1891,11 +1831,6 @@ packages: engines: {node: '>=8'} dev: true - /is-stream@3.0.0: - resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: true - /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true @@ -2002,11 +1937,6 @@ packages: engines: {node: '>=6'} dev: true - /mimic-fn@4.0.0: - resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} - engines: {node: '>=12'} - dev: true - /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -2061,13 +1991,6 @@ packages: path-key: 3.1.1 dev: true - /npm-run-path@5.2.0: - resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - path-key: 4.0.0 - dev: true - /object-assign@4.1.1: resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=} engines: {node: '>=0.10.0'} @@ -2088,13 +2011,6 @@ packages: mimic-fn: 2.1.0 dev: true - /onetime@6.0.0: - resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} - engines: {node: '>=12'} - dependencies: - mimic-fn: 4.0.0 - dev: true - /p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} @@ -2119,11 +2035,6 @@ packages: engines: {node: '>=8'} dev: true - /path-key@4.0.0: - resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} - engines: {node: '>=12'} - dev: true - /path-parse@1.0.6: resolution: {integrity: sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==} dev: true @@ -2369,11 +2280,6 @@ packages: resolution: {integrity: sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==} dev: true - /signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} - dev: true - /sirv@2.0.4: resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} engines: {node: '>= 10'} @@ -2392,11 +2298,6 @@ packages: engines: {node: '>=6'} dev: true - /strip-final-newline@3.0.0: - resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} - engines: {node: '>=12'} - dev: true - /strip-literal@1.3.0: resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} dependencies: @@ -2452,10 +2353,6 @@ packages: mlly: 1.4.2 dev: true - /undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - dev: true - /unimport@3.7.1: resolution: {integrity: sha512-V9HpXYfsZye5bPPYUgs0Otn3ODS1mDUciaBlXljI4C2fTwfFpvFZRywmlOu943puN9sncxROMZhsZCjNXEpzEQ==} dependencies: @@ -2508,7 +2405,7 @@ packages: '@unocss/transformer-directives': 0.58.2 '@unocss/transformer-variant-group': 0.58.2 '@unocss/vite': 0.58.2(vite@5.0.10) - vite: 5.0.10(@types/node@18.19.4) + vite: 5.0.10 transitivePeerDependencies: - postcss - rollup @@ -2540,37 +2437,6 @@ packages: - rollup dev: true - /unplugin-icons@0.18.1: - resolution: {integrity: sha512-WzKu/eoq74YC7vyEAGsFebkRzsZrRkR4FUzLU6gbpfa7WRaVVpQS2n7LSxE1iRUN0scKL5b9bq+i0wucR+ttFQ==} - peerDependencies: - '@svgr/core': '>=7.0.0' - '@svgx/core': ^1.0.1 - '@vue/compiler-sfc': ^3.0.2 || ^2.7.0 - vue-template-compiler: ^2.6.12 - vue-template-es2015-compiler: ^1.9.0 - peerDependenciesMeta: - '@svgr/core': - optional: true - '@svgx/core': - optional: true - '@vue/compiler-sfc': - optional: true - vue-template-compiler: - optional: true - vue-template-es2015-compiler: - optional: true - dependencies: - '@antfu/install-pkg': 0.3.1 - '@antfu/utils': 0.7.7 - '@iconify/utils': 2.1.14 - debug: 4.3.4 - kolorist: 1.8.0 - local-pkg: 0.5.0 - unplugin: 1.6.0 - transitivePeerDependencies: - - supports-color - dev: true - /unplugin-vue-components@0.26.0(vue@3.4.3): resolution: {integrity: sha512-s7IdPDlnOvPamjunVxw8kNgKNK8A5KM1YpK5j/p97jEKTjlPNrA0nZBiSfAKKlK1gWZuyWXlKL5dk3EDw874LQ==} engines: {node: '>=14'} @@ -2620,7 +2486,7 @@ packages: picocolors: 1.0.0 dev: true - /vite@5.0.10(@types/node@18.19.4): + /vite@5.0.10: resolution: {integrity: sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -2648,7 +2514,6 @@ packages: terser: optional: true dependencies: - '@types/node': 18.19.4 esbuild: 0.19.11 postcss: 8.4.32 rollup: 4.9.2 @@ -2656,7 +2521,7 @@ packages: fsevents: 2.3.3 dev: true - /vitepress@1.0.0-rc.34(@algolia/client-search@4.22.0)(@types/node@18.19.4)(postcss@8.4.32)(search-insights@2.13.0): + /vitepress@1.0.0-rc.34(@algolia/client-search@4.22.0)(postcss@8.4.32)(search-insights@2.13.0): resolution: {integrity: sha512-TUbTiSdAZFni2XlHlpx61KikgkQ5uG4Wtmw2R0SXhIOG6qGqzDJczAFjkMc4i45I9c3KyatwOYe8oEfCnzVYwQ==} hasBin: true peerDependencies: @@ -2683,7 +2548,7 @@ packages: shikiji: 0.9.16 shikiji-core: 0.9.16 shikiji-transformers: 0.9.16 - vite: 5.0.10(@types/node@18.19.4) + vite: 5.0.10 vue: 3.4.3 transitivePeerDependencies: - '@algolia/client-search'