diff --git a/.vscode/extensions.json b/.vscode/extensions.json index f3a5bec..9d9bc20 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,7 +3,6 @@ "johnsoncodehk.volar", "lokalise.i18n-ally", "antfu.iconify", - "dbaeumer.vscode-eslint", - "bradlc.vscode-tailwindcss" + "dbaeumer.vscode-eslint" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index a278e12..7bc7e8a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,6 @@ "cSpell.words": [ "Vitesse" ], - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "volar.tsPluginStatus": false } diff --git a/README.md b/README.md index 69a786e..233f564 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@

- Vitesse - Opinionated Vite Starter Template + Vitesse - Opinionated Vite Starter Template

Mocking up web app with Vitesse(speed)
-Now with Vite 2.0! ⚡️ +Now with Windi CSS! ⚡️


@@ -27,7 +27,7 @@ Mocking up web app with Vitesse(speed)
- 📲 [PWA](https://github.com/antfu/vite-plugin-pwa) -- 🎨 [TailwindCSS **v2.0**](https://blog.tailwindcss.com/tailwindcss-v2) with dark mode out-of-box +- 🎨 [Windi CSS](https://github.com/windicss/windicss) - on-demand Tailwind CSS with speed - 😃 [Use icons from any icon sets, with no compromise](./src/components) @@ -49,8 +49,8 @@ Mocking up web app with Vitesse(speed)
### UI Frameworks -- [Tailwind CSS](https://tailwindcss.com/) - with built-in dark mode! -- [Tailwind Typography](https://github.com/tailwindlabs/tailwindcss-typography) - Typography for Tailwind +- [Windi CSS](https://github.com/voorjaar/windicss) (On-demand [TailwindCSS](https://tailwindcss.com/)) - lighter and faster, with a bundle additional features! + - [Windi CSS Typography](https://github.com/voorjaar/windicss/wiki/Plugins#typography) - similar to [Tailwind CSS Typography](https://github.com/tailwindlabs/tailwindcss-typograph) but for Windi CSS ### Icons @@ -64,6 +64,7 @@ Mocking up web app with Vitesse(speed)
- [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - layouts for pages - [`vite-plugin-components`](https://github.com/antfu/vite-plugin-components) - components auto import - [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA +- [`vite-plugin-windicss`](https://github.com/antfu/vite-plugin-windicss) - WindiCSS support - [`vite-plugin-md`](https://github.com/antfu/vite-plugin-md) - Markdown as components / components in Markdown - [`markdown-it-prism`](https://github.com/jGleitz/markdown-it-prism) - [Prism](https://prismjs.com/) for syntax highlighting - [`prism-theme-vars`](https://github.com/antfu/prism-theme-vars) - customizable Prism.js theme using CSS variables @@ -87,7 +88,6 @@ Mocking up web app with Vitesse(speed)
- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) - [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify) - [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) - - [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) ## Variations diff --git a/package.json b/package.json index 21049ac..fe85fb0 100644 --- a/package.json +++ b/package.json @@ -10,35 +10,31 @@ "nprogress": "^0.2.0", "prism-theme-vars": "^0.1.4", "vue": "^3.0.5", - "vue-i18n": "^9.0.0-rc.6", + "vue-i18n": "^9.0.0-rc.7", "vue-router": "^4.0.3" }, "devDependencies": { "@antfu/eslint-config": "^0.4.3", "@iconify/json": "^1.1.303", "@intlify/vite-plugin-vue-i18n": "^1.0.0-beta.17", - "@tailwindcss/typography": "^0.4.0", "@types/nprogress": "^0.2.0", - "@typescript-eslint/eslint-plugin": "^4.15.0", + "@typescript-eslint/eslint-plugin": "^4.15.1", "@vitejs/plugin-vue": "^1.1.4", "@vue/compiler-sfc": "^3.0.5", "@vue/server-renderer": "^3.0.5", - "autoprefixer": "^10.2.4", "cross-env": "^7.0.3", "eslint": "^7.20.0", "markdown-it-prism": "^2.1.4", "pnpm": "^5.17.2", - "postcss": "^8.2.6", - "postcss-nested": "^5.0.3", - "tailwindcss": "^2.0.3", "typescript": "^4.1.5", - "vite": "^2.0.0-beta.69", + "vite": "^2.0.0-beta.70", "vite-plugin-components": "^0.6.10", "vite-plugin-icons": "^0.2.1", "vite-plugin-md": "^0.4.2", "vite-plugin-pages": "^0.4.2", "vite-plugin-pwa": "^0.4.6", "vite-plugin-vue-layouts": "^0.2.2", + "vite-plugin-windicss": "^0.1.12", "vite-ssg": "^0.8.8" }, "eslintConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2364429..f44a32e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,35 +4,31 @@ dependencies: nprogress: 0.2.0 prism-theme-vars: 0.1.4 vue: 3.0.5 - vue-i18n: 9.0.0-rc.6_vue@3.0.5 + vue-i18n: 9.0.0-rc.7_vue@3.0.5 vue-router: 4.0.3_vue@3.0.5 devDependencies: '@antfu/eslint-config': 0.4.3_eslint@7.20.0+typescript@4.1.5 '@iconify/json': 1.1.303 '@intlify/vite-plugin-vue-i18n': 1.0.0-beta.17 - '@tailwindcss/typography': 0.4.0_tailwindcss@2.0.3 '@types/nprogress': 0.2.0 - '@typescript-eslint/eslint-plugin': 4.15.0_eslint@7.20.0+typescript@4.1.5 + '@typescript-eslint/eslint-plugin': 4.15.1_eslint@7.20.0+typescript@4.1.5 '@vitejs/plugin-vue': 1.1.4_@vue+compiler-sfc@3.0.5 '@vue/compiler-sfc': 3.0.5_vue@3.0.5 '@vue/server-renderer': 3.0.5_vue@3.0.5 - autoprefixer: 10.2.4_postcss@8.2.6 cross-env: 7.0.3 eslint: 7.20.0 markdown-it-prism: 2.1.4 pnpm: 5.17.2 - postcss: 8.2.6 - postcss-nested: 5.0.3_postcss@8.2.6 - tailwindcss: 2.0.3_759587f5361760629983e9fe457a3aed typescript: 4.1.5 - vite: 2.0.0-beta.69 - vite-plugin-components: 0.6.10_vite@2.0.0-beta.69 + vite: 2.0.0-beta.70 + vite-plugin-components: 0.6.10_vite@2.0.0-beta.70 vite-plugin-icons: 0.2.1_d78d375fec6553510c7875ab0e1db883 - vite-plugin-md: 0.4.2_vite@2.0.0-beta.69 - vite-plugin-pages: 0.4.2_vite@2.0.0-beta.69+vue@3.0.5 + vite-plugin-md: 0.4.2_vite@2.0.0-beta.70 + vite-plugin-pages: 0.4.2_vite@2.0.0-beta.70+vue@3.0.5 vite-plugin-pwa: 0.4.6 - vite-plugin-vue-layouts: 0.2.2_vite@2.0.0-beta.69 - vite-ssg: 0.8.8_3264c5547dde4c508d141cfa8bd8ef04 + vite-plugin-vue-layouts: 0.2.2_vite@2.0.0-beta.70 + vite-plugin-windicss: 0.1.12_vite@2.0.0-beta.70 + vite-ssg: 0.8.8_7f68eac36409553e5d7e195a87daa655 lockfileVersion: 5.2 packages: /@antfu/eslint-config-basic/0.4.3_eslint@7.20.0: @@ -1022,12 +1018,6 @@ packages: node: ^10.12.0 || >=12.0.0 resolution: integrity: sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg== - /@fullhuman/postcss-purgecss/3.1.3: - dependencies: - purgecss: 3.1.3 - dev: true - resolution: - integrity: sha512-kwOXw8fZ0Lt1QmeOOrd+o4Ibvp4UTEBFQbzvWldjlKv5n+G9sXfIPn1hh63IQIL8K8vbvv1oYMJiIUbuy9bGaA== /@hapi/address/2.1.4: deprecated: Moved to 'npm install @sideway/address' dev: true @@ -1109,10 +1099,22 @@ packages: '@intlify/message-resolver': 9.0.0-rc.6 '@intlify/runtime': 9.0.0-rc.6 '@intlify/shared': 9.0.0-rc.6 + dev: true engines: node: '>= 10' resolution: integrity: sha512-UG8H+q1GZ2ZD6Rg9nuc6NPqj9K9OeXHt4kerKRDRgZ+h2wPNoWItIQXSrShg5GJKvEN+rRuJvvnh61oMNS0sWw== + /@intlify/core-base/9.0.0-rc.7: + dependencies: + '@intlify/message-compiler': 9.0.0-rc.7 + '@intlify/message-resolver': 9.0.0-rc.7 + '@intlify/runtime': 9.0.0-rc.7 + '@intlify/shared': 9.0.0-rc.7 + dev: false + engines: + node: '>= 10' + resolution: + integrity: sha512-jYF6kQpSCeBXprZRcggGV/YQAwqXRWo2MtcdkPfZf0cP26Yx12UeFF0Uk5W5M/cgts3ktkhF/CzvxtXP1mevlQ== /@intlify/core/9.0.0-beta.16: dependencies: '@intlify/core-base': 9.0.0-beta.16 @@ -1136,10 +1138,21 @@ packages: '@intlify/message-resolver': 9.0.0-rc.6 '@intlify/shared': 9.0.0-rc.6 source-map: 0.6.1 + dev: true engines: node: '>= 10' resolution: integrity: sha512-WyvvFBoJ6qZk/3G/LjHuZJhY0ww8PZD+30wdPy5lJEB4+uTDoAAupwfnQ1suek7wsnFbPiuUE2j48qRogY0QJQ== + /@intlify/message-compiler/9.0.0-rc.7: + dependencies: + '@intlify/message-resolver': 9.0.0-rc.7 + '@intlify/shared': 9.0.0-rc.7 + source-map: 0.6.1 + dev: false + engines: + node: '>= 10' + resolution: + integrity: sha512-T8cPzSkNV0KHtLokQW8hBHMlqYcpknJy8JygwA4R6guiO2G9eyUdZ+rswDq5vrGfSIUglgHYusoIvOhFyQpkpQ== /@intlify/message-resolver/9.0.0-beta.16: dev: true engines: @@ -1147,10 +1160,17 @@ packages: resolution: integrity: sha512-xwjsFuDDYEv7g1KE5QZRbrPgfsrNsDhYLtNYR7Tn4inzbmB6ipak2UlDzDcQGLieSFbe1WwAoNL0IXy4sUKboQ== /@intlify/message-resolver/9.0.0-rc.6: + dev: true engines: node: '>= 10' resolution: integrity: sha512-yY+hM8WqliAIayYP0/8iITfScn4oSYXVrUwIn7ZWUONhuXCQXlxStukmQ1e1lWkL4Jyi4qTRXupDllq5yvW9BA== + /@intlify/message-resolver/9.0.0-rc.7: + dev: false + engines: + node: '>= 10' + resolution: + integrity: sha512-d0Jz0OWiH7jYTDk4VzTnVroJ2eylQUgVIk+2ztNJAHsrKoy3wxq6Tw/GlIGOrVJCFqZLWuxg7dmuhZDd4fliTw== /@intlify/runtime/9.0.0-beta.16: dependencies: '@intlify/message-compiler': 9.0.0-beta.16 @@ -1166,10 +1186,21 @@ packages: '@intlify/message-compiler': 9.0.0-rc.6 '@intlify/message-resolver': 9.0.0-rc.6 '@intlify/shared': 9.0.0-rc.6 + dev: true engines: node: '>= 10' resolution: integrity: sha512-z1lc4mmpRknTHjN3w5m9vmACidCo+Xm/2J6zMHhh23UEbCrIoaSKTFqs87aj5crX1CJvAc8rwGD1s2+QcHaEZQ== + /@intlify/runtime/9.0.0-rc.7: + dependencies: + '@intlify/message-compiler': 9.0.0-rc.7 + '@intlify/message-resolver': 9.0.0-rc.7 + '@intlify/shared': 9.0.0-rc.7 + dev: false + engines: + node: '>= 10' + resolution: + integrity: sha512-SdM9Gqca4W+u/O6XHqDf38UwoiopbyRtUnnqWy5DGihbE1CTKlFZSGPMx95cLOVt0AIeVK/eRwclxLiRtQRM7A== /@intlify/shared/9.0.0-beta.16: dev: true engines: @@ -1177,10 +1208,17 @@ packages: resolution: integrity: sha512-A7GSOovcZn/NMoAmDc8FG9uRcFv6iygriK8+C6HFeOnMQ9X+T9f5A9bPtXhCOCiRpQm9SUtGqXedxO5Y8rz9/A== /@intlify/shared/9.0.0-rc.6: + dev: true engines: node: '>= 10' resolution: integrity: sha512-6TFGAUcxgEIGvNxeBAUTvzyAdd/rAjsOLTIUTKLQX2JYypCwmTRPsT3wGWAUfvLxnKK62wyE+s4pI3dPNGz+vQ== + /@intlify/shared/9.0.0-rc.7: + dev: false + engines: + node: '>= 10' + resolution: + integrity: sha512-ynMHCCcBPtQAdJlOUMzrlvUp+DdKlnB0yrkPPMzAs8bBETwJbAK1Jq6zBHlMZzscPcF+1ia5pj4Gmmn7QL9b8w== /@intlify/vite-plugin-vue-i18n/1.0.0-beta.17: dependencies: '@intlify/cli': 0.2.0 @@ -1208,7 +1246,7 @@ packages: /@nodelib/fs.scandir/2.1.4: dependencies: '@nodelib/fs.stat': 2.0.4 - run-parallel: 1.1.10 + run-parallel: 1.2.0 dev: true engines: node: '>= 8' @@ -1223,7 +1261,7 @@ packages: /@nodelib/fs.walk/1.2.6: dependencies: '@nodelib/fs.scandir': 2.1.4 - fastq: 1.10.0 + fastq: 1.10.1 dev: true engines: node: '>= 8' @@ -1304,18 +1342,6 @@ packages: dev: true resolution: integrity: sha512-yBMPqmd1yEJo/280PAMkychuaALyQ9Lkb5q1ck3mjJrFuEobIfhnQ4J3mbvBoISmR3SWMWV+cGB/I0lCQee79A== - /@tailwindcss/typography/0.4.0_tailwindcss@2.0.3: - dependencies: - lodash.castarray: 4.4.0 - lodash.isplainobject: 4.0.6 - lodash.merge: 4.6.2 - lodash.uniq: 4.5.0 - tailwindcss: 2.0.3_759587f5361760629983e9fe457a3aed - dev: true - peerDependencies: - tailwindcss: 2.0.0-alpha.24 || ^2.0.0 - resolution: - integrity: sha512-3BfOYT5MYNEq81Ism3L2qu/HRP2Q5vWqZtZRQqQrthHuaTK9qpuPfbMT5WATjAM5J1OePKBaI5pLoX4S1JGNMQ== /@types/estree/0.0.39: dev: true resolution: @@ -1371,10 +1397,10 @@ packages: optional: true resolution: integrity: sha512-IJ5e2W7uFNfg4qh9eHkHRUCbgZ8VKtGwD07kannJvM5t/GU8P8+24NX8gi3Hf5jST5oWPY8kyV1s/WtfiZ4+Ww== - /@typescript-eslint/eslint-plugin/4.15.0_eslint@7.20.0+typescript@4.1.5: + /@typescript-eslint/eslint-plugin/4.15.1_eslint@7.20.0+typescript@4.1.5: dependencies: - '@typescript-eslint/experimental-utils': 4.15.0_eslint@7.20.0+typescript@4.1.5 - '@typescript-eslint/scope-manager': 4.15.0 + '@typescript-eslint/experimental-utils': 4.15.1_eslint@7.20.0+typescript@4.1.5 + '@typescript-eslint/scope-manager': 4.15.1 debug: 4.3.1 eslint: 7.20.0 functional-red-black-tree: 1.0.1 @@ -1394,7 +1420,7 @@ packages: typescript: optional: true resolution: - integrity: sha512-DJgdGZW+8CFUTz5C/dnn4ONcUm2h2T0itWD85Ob5/V27Ndie8hUoX5HKyGssvR8sUMkAIlUc/AMK67Lqa3kBIQ== + integrity: sha512-yW2epMYZSpNJXZy22Biu+fLdTG8Mn6b22kR3TqblVk50HGNV8Zya15WAXuQCr8tKw4Qf1BL4QtI6kv6PCkLoJw== /@typescript-eslint/experimental-utils/4.14.0_eslint@7.20.0+typescript@4.1.5: dependencies: '@types/json-schema': 7.0.7 @@ -1412,12 +1438,12 @@ packages: typescript: '*' resolution: integrity: sha512-6i6eAoiPlXMKRbXzvoQD5Yn9L7k9ezzGRvzC/x1V3650rUk3c3AOjQyGYyF9BDxQQDK2ElmKOZRD0CbtdkMzQQ== - /@typescript-eslint/experimental-utils/4.15.0_eslint@7.20.0+typescript@4.1.5: + /@typescript-eslint/experimental-utils/4.15.1_eslint@7.20.0+typescript@4.1.5: dependencies: '@types/json-schema': 7.0.7 - '@typescript-eslint/scope-manager': 4.15.0 - '@typescript-eslint/types': 4.15.0 - '@typescript-eslint/typescript-estree': 4.15.0_typescript@4.1.5 + '@typescript-eslint/scope-manager': 4.15.1 + '@typescript-eslint/types': 4.15.1 + '@typescript-eslint/typescript-estree': 4.15.1_typescript@4.1.5 eslint: 7.20.0 eslint-scope: 5.1.1 eslint-utils: 2.1.0 @@ -1428,7 +1454,7 @@ packages: eslint: '*' typescript: '*' resolution: - integrity: sha512-V4vaDWvxA2zgesg4KPgEGiomWEBpJXvY4ZX34Y3qxK8LUm5I87L+qGIOTd9tHZOARXNRt9pLbblSKiYBlGMawg== + integrity: sha512-9LQRmOzBRI1iOdJorr4jEnQhadxK4c9R2aEAsm7WE/7dq8wkKD1suaV0S/JucTL8QlYUPU1y2yjqg+aGC0IQBQ== /@typescript-eslint/parser/4.14.0_eslint@7.20.0+typescript@4.1.5: dependencies: '@typescript-eslint/scope-manager': 4.14.0 @@ -1457,27 +1483,27 @@ packages: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: integrity: sha512-/J+LlRMdbPh4RdL4hfP1eCwHN5bAhFAGOTsvE6SxsrM/47XQiPSgF5MDgLyp/i9kbZV9Lx80DW0OpPkzL+uf8Q== - /@typescript-eslint/scope-manager/4.15.0: + /@typescript-eslint/scope-manager/4.15.1: dependencies: - '@typescript-eslint/types': 4.15.0 - '@typescript-eslint/visitor-keys': 4.15.0 + '@typescript-eslint/types': 4.15.1 + '@typescript-eslint/visitor-keys': 4.15.1 dev: true engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: - integrity: sha512-CSNBZnCC2jEA/a+pR9Ljh8Y+5TY5qgbPz7ICEk9WCpSEgT6Pi7H2RIjxfrrbUXvotd6ta+i27sssKEH8Azm75g== + integrity: sha512-ibQrTFcAm7yG4C1iwpIYK7vDnFg+fKaZVfvyOm3sNsGAerKfwPVFtYft5EbjzByDJ4dj1WD8/34REJfw/9wdVA== /@typescript-eslint/types/4.14.0: dev: true engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: integrity: sha512-VsQE4VvpldHrTFuVPY1ZnHn/Txw6cZGjL48e+iBxTi2ksa9DmebKjAeFmTVAYoSkTk7gjA7UqJ7pIsyifTsI4A== - /@typescript-eslint/types/4.15.0: + /@typescript-eslint/types/4.15.1: dev: true engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: - integrity: sha512-su4RHkJhS+iFwyqyXHcS8EGPlUVoC+XREfy5daivjLur9JP8GhvTmDipuRpcujtGC4M+GYhUOJCPDE3rC5NJrg== + integrity: sha512-iGsaUyWFyLz0mHfXhX4zO6P7O3sExQpBJ2dgXB0G5g/8PRVfBBsmQIc3r83ranEQTALLR3Vko/fnCIVqmH+mPw== /@typescript-eslint/typescript-estree/4.14.0_typescript@4.1.5: dependencies: '@typescript-eslint/types': 4.14.0 @@ -1499,10 +1525,10 @@ packages: optional: true resolution: integrity: sha512-wRjZ5qLao+bvS2F7pX4qi2oLcOONIB+ru8RGBieDptq/SudYwshveORwCVU4/yMAd4GK7Fsf8Uq1tjV838erag== - /@typescript-eslint/typescript-estree/4.15.0_typescript@4.1.5: + /@typescript-eslint/typescript-estree/4.15.1_typescript@4.1.5: dependencies: - '@typescript-eslint/types': 4.15.0 - '@typescript-eslint/visitor-keys': 4.15.0 + '@typescript-eslint/types': 4.15.1 + '@typescript-eslint/visitor-keys': 4.15.1 debug: 4.3.1 globby: 11.0.2 is-glob: 4.0.1 @@ -1518,7 +1544,7 @@ packages: typescript: optional: true resolution: - integrity: sha512-jG6xTmcNbi6xzZq0SdWh7wQ9cMb2pqXaUp6bUZOMsIlu5aOlxGxgE/t6L/gPybybQGvdguajXGkZKSndZJpksA== + integrity: sha512-z8MN3CicTEumrWAEB2e2CcoZa3KP9+SMYLIA2aM49XW3cWIaiVSOAGq30ffR5XHxRirqE90fgLw3e6WmNx5uNw== /@typescript-eslint/visitor-keys/4.14.0: dependencies: '@typescript-eslint/types': 4.14.0 @@ -1528,15 +1554,15 @@ packages: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: integrity: sha512-MeHHzUyRI50DuiPgV9+LxcM52FCJFYjJiWHtXlbyC27b80mfOwKeiKI+MHOTEpcpfmoPFm/vvQS88bYIx6PZTA== - /@typescript-eslint/visitor-keys/4.15.0: + /@typescript-eslint/visitor-keys/4.15.1: dependencies: - '@typescript-eslint/types': 4.15.0 + '@typescript-eslint/types': 4.15.1 eslint-visitor-keys: 2.0.0 dev: true engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: - integrity: sha512-RnDtJwOwFucWFAMjG3ghCG/ikImFJFEg20DI7mn4pHEx3vC48lIAoyjhffvfHmErRDboUPC7p9Z2il4CLb7qxA== + integrity: sha512-tYzaTP9plooRJY8eNlpAewTOqtWW/4ff/5wBjNVaJ0S0wC4Gpq/zDVRTJa5bq2v1pCNQ08xxMCndcvR+h7lMww== /@vitejs/plugin-vue/1.1.4_@vue+compiler-sfc@3.0.5: dependencies: '@vue/compiler-sfc': 3.0.5_vue@3.0.5 @@ -1671,14 +1697,6 @@ packages: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 resolution: integrity: sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== - /acorn-node/1.8.2: - dependencies: - acorn: 7.4.1 - acorn-walk: 7.2.0 - xtend: 4.0.2 - dev: true - resolution: - integrity: sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A== /acorn-walk/7.2.0: dev: true engines: @@ -1828,23 +1846,6 @@ packages: node: '>= 4.0.0' resolution: integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - /autoprefixer/10.2.4_postcss@8.2.6: - dependencies: - browserslist: 4.16.1 - caniuse-lite: 1.0.30001183 - colorette: 1.2.1 - fraction.js: 4.0.13 - normalize-range: 0.1.2 - postcss: 8.2.6 - postcss-value-parser: 4.1.0 - dev: true - engines: - node: ^10 || ^12 || >=14 - hasBin: true - peerDependencies: - postcss: ^8.1.0 - resolution: - integrity: sha512-DCCdUQiMD+P/as8m3XkeTUkUKuuRqLGcwD0nll7wevhqoJfMRpJlkFd1+MQh1pvupjiQuip42lc/VFvfUTMSKw== /available-typed-arrays/1.0.2: dependencies: array-filter: 1.0.0 @@ -1949,12 +1950,6 @@ packages: node: '>=6' resolution: integrity: sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA== - /bytes/3.1.0: - dev: true - engines: - node: '>= 0.8' - resolution: - integrity: sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== /call-bind/1.0.2: dependencies: function-bind: 1.1.1 @@ -1975,12 +1970,6 @@ packages: dev: true resolution: integrity: sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M= - /camelcase-css/2.0.1: - dev: true - engines: - node: '>= 6' - resolution: - integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== /caniuse-lite/1.0.30001183: dev: true resolution: @@ -2083,20 +2072,6 @@ packages: dev: true resolution: integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - /color-string/1.5.4: - dependencies: - color-name: 1.1.4 - simple-swizzle: 0.2.2 - dev: true - resolution: - integrity: sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw== - /color/3.1.3: - dependencies: - color-convert: 1.9.3 - color-string: 1.5.4 - dev: true - resolution: - integrity: sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ== /colorette/1.2.1: dev: true resolution: @@ -2113,12 +2088,6 @@ packages: dev: true resolution: integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - /commander/6.2.1: - dev: true - engines: - node: '>= 6' - resolution: - integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== /common-tags/1.8.0: dev: true engines: @@ -2187,10 +2156,6 @@ packages: node: '>=8' resolution: integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== - /css-unit-converter/1.1.2: - dev: true - resolution: - integrity: sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA== /cssesc/3.0.0: dev: true engines: @@ -2309,10 +2274,6 @@ packages: node: '>= 0.4' resolution: integrity: sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== - /defined/1.0.0: - dev: true - resolution: - integrity: sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM= /delayed-stream/1.0.0: dev: true engines: @@ -2324,21 +2285,6 @@ packages: optional: true resolution: integrity: sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw== - /detective/5.2.0: - dependencies: - acorn-node: 1.8.2 - defined: 1.0.0 - minimist: 1.2.5 - dev: true - engines: - node: '>=0.8.0' - hasBin: true - resolution: - integrity: sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg== - /didyoumean/1.2.1: - dev: true - resolution: - integrity: sha1-6S7f2tplN9SE1zwBcv0eugxJdv8= /dir-glob/3.0.1: dependencies: path-type: 4.0.0 @@ -2937,12 +2883,12 @@ packages: dev: true resolution: integrity: sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= - /fastq/1.10.0: + /fastq/1.10.1: dependencies: reusify: 1.0.4 dev: true resolution: - integrity: sha512-NL2Qc5L3iQEsyYzweq7qfgy5OtXCmGzGvhElGEd/SoFWEMOEczNh5s5ocaF01HDetxz+p8ecjNPA6cZxxIHmzA== + integrity: sha512-AWuv6Ery3pM+dY7LYS8YIaCiQvUaos9OB1RyNgaOWnaX+Tik7Onvcsf8x8c+YtDeT0maYLniBip2hox5KtEXXA== /file-entry-cache/6.0.0: dependencies: flat-cache: 3.0.4 @@ -3007,10 +2953,6 @@ packages: node: '>= 0.12' resolution: integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - /fraction.js/4.0.13: - dev: true - resolution: - integrity: sha512-E1fz2Xs9ltlUp+qbiyx9wmt2n9dRzPsS11Jtdb8D2o+cC7wr9xkkKsVKJuBX0ST+LVS+LhLO+SbLJNtfWcJvXA== /fs-extra/9.1.0: dependencies: at-least-node: 1.0.0 @@ -3247,12 +3189,6 @@ packages: hasBin: true resolution: integrity: sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig== - /html-tags/3.1.0: - dev: true - engines: - node: '>=8' - resolution: - integrity: sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg== /htmlparser2/5.0.1: dependencies: domelementtype: 2.1.0 @@ -3369,10 +3305,6 @@ packages: dev: true resolution: integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= - /is-arrayish/0.3.2: - dev: true - resolution: - integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== /is-bigint/1.0.1: dev: true resolution: @@ -3787,34 +3719,14 @@ packages: dev: true resolution: integrity: sha1-soqmKIorn8ZRA1x3EfZathkDMaY= - /lodash.castarray/4.4.0: - dev: true - resolution: - integrity: sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU= /lodash.get/4.4.2: dev: true resolution: integrity: sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= - /lodash.isplainobject/4.0.6: - dev: true - resolution: - integrity: sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= - /lodash.merge/4.6.2: - dev: true - resolution: - integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== /lodash.sortby/4.7.0: dev: true resolution: integrity: sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= - /lodash.toarray/4.4.0: - dev: true - resolution: - integrity: sha1-JMS/zWsvuji/0FlNsRedjptlZWE= - /lodash.uniq/4.5.0: - dev: true - resolution: - integrity: sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= /lodash.zip/4.2.0: dev: true resolution: @@ -3925,12 +3837,6 @@ packages: dev: true resolution: integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== - /modern-normalize/1.0.0: - dev: true - engines: - node: '>=6' - resolution: - integrity: sha512-1lM+BMLGuDfsdwf3rsgBSrxJwAZHFIrQ8YR61xIqdHo0uNKI9M52wNpHSrliZATJp51On6JD0AfRxd4YGSU0lw== /ms/2.0.0: dev: true resolution: @@ -3960,12 +3866,6 @@ packages: dev: true resolution: integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== - /node-emoji/1.10.0: - dependencies: - lodash.toarray: 4.4.0 - dev: true - resolution: - integrity: sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw== /node-releases/1.1.70: dev: true resolution: @@ -3985,12 +3885,6 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - /normalize-range/0.1.2: - dev: true - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-LRDAa9/TEuqXd2laTShDlFa3WUI= /nprogress/0.2.0: dev: false resolution: @@ -4009,12 +3903,6 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - /object-hash/2.1.1: - dev: true - engines: - node: '>= 6' - resolution: - integrity: sha512-VOJmgmS+7wvXf8CjbQmimtCnEx3IAoLxI3fp2fbWehxrWBcAQFbk+vcwb6vzR0VZv/eNCJ/27j151ZTwqW/JeQ== /object-inspect/1.9.0: dev: true resolution: @@ -4270,24 +4158,6 @@ packages: hasBin: true resolution: integrity: sha512-X0WEumozKhlYZObL1E+Nmi67f+ZMS+fbpE6vAymlazT2lx0B+Agw9iJsdd//tjAqIzxcsxxgZScx0EIPc42Ulw== - /postcss-functions/3.0.0: - dependencies: - glob: 7.1.6 - object-assign: 4.1.1 - postcss: 6.0.23 - postcss-value-parser: 3.3.1 - dev: true - resolution: - integrity: sha1-DpTQFERwCkgd4g3k1V+yZAVkJQ4= - /postcss-js/3.0.3: - dependencies: - camelcase-css: 2.0.1 - postcss: 8.2.6 - dev: true - engines: - node: '>=10.0' - resolution: - integrity: sha512-gWnoWQXKFw65Hk/mi2+WTQTHdPD5UJdDXZmX073EY/B3BWnYjO4F4t0VneTCnCGQ5E5GsCdMkzPaTXwl3r5dJw== /postcss-modules-extract-imports/2.0.0: dependencies: postcss: 7.0.35 @@ -4337,17 +4207,6 @@ packages: dev: true resolution: integrity: sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw== - /postcss-nested/5.0.3_postcss@8.2.6: - dependencies: - postcss: 8.2.6 - postcss-selector-parser: 6.0.4 - dev: true - engines: - node: '>=10.0' - peerDependencies: - postcss: ^8.1.13 - resolution: - integrity: sha512-R2LHPw+u5hFfDgJG748KpGbJyTv7Yr33/2tIMWxquYuHTd9EXu27PYnKi7BxMXLtzKC0a0WVsqHtd7qIluQu/g== /postcss-selector-parser/6.0.4: dependencies: cssesc: 3.0.0 @@ -4359,24 +4218,10 @@ packages: node: '>=4' resolution: integrity: sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw== - /postcss-value-parser/3.3.1: - dev: true - resolution: - integrity: sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== /postcss-value-parser/4.1.0: dev: true resolution: integrity: sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== - /postcss/6.0.23: - dependencies: - chalk: 2.4.2 - source-map: 0.6.1 - supports-color: 5.5.0 - dev: true - engines: - node: '>=4.0.0' - resolution: - integrity: sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag== /postcss/7.0.35: dependencies: chalk: 2.4.2 @@ -4422,12 +4267,6 @@ packages: node: '>=6' resolution: integrity: sha512-p+T744ZyjjiaFlMUZZv6YPC5JrkNj8maRmPaQCWFJFplUAzpIUTRaTcS+7wmZtUoFXHtESJb23ISliaWyz3SHA== - /pretty-hrtime/1.0.3: - dev: true - engines: - node: '>= 0.8' - resolution: - integrity: sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= /prism-theme-vars/0.1.4: dev: false resolution: @@ -4462,22 +4301,16 @@ packages: node: '>=6' resolution: integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - /purgecss/3.1.3: - dependencies: - commander: 6.2.1 - glob: 7.1.6 - postcss: 8.2.6 - postcss-selector-parser: 6.0.4 - dev: true - hasBin: true - resolution: - integrity: sha512-hRSLN9mguJ2lzlIQtW4qmPS2kh6oMnA9RxdIYK8sz18QYqd6ePp4GNDl18oWHA1f2v2NEQIh51CO8s/E3YGckQ== /qs/6.5.2: dev: true engines: node: '>=0.6' resolution: integrity: sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== + /queue-microtask/1.2.2: + dev: true + resolution: + integrity: sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg== /randombytes/2.1.0: dependencies: safe-buffer: 5.2.1 @@ -4536,13 +4369,6 @@ packages: node: '>=8.10.0' resolution: integrity: sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== - /reduce-css-calc/2.1.8: - dependencies: - css-unit-converter: 1.1.2 - postcss-value-parser: 3.3.1 - dev: true - resolution: - integrity: sha512-8liAVezDmUcH+tdzoEGrhfbGcP7nOV4NkGE3a74+qqvE7nt9i4sKLGBuZNOnpI4WiGksiNPklZxva80061QiPg== /regenerate-unicode-properties/8.2.0: dependencies: regenerate: 1.4.2 @@ -4741,10 +4567,12 @@ packages: fsevents: 2.3.2 resolution: integrity: sha512-VoWt8DysFGDVRGWuHTqZzT02J0ASgjVq/hPs9QcBOGMd7B+jfTr/iqMVEyOi901rE3xq+Deq66GzIT1yt7sGwQ== - /run-parallel/1.1.10: + /run-parallel/1.2.0: + dependencies: + queue-microtask: 1.2.2 dev: true resolution: - integrity: sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw== + integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== /safe-buffer/5.1.2: dev: true resolution: @@ -4837,12 +4665,6 @@ packages: dev: true resolution: integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - /simple-swizzle/0.2.2: - dependencies: - is-arrayish: 0.3.2 - dev: true - resolution: - integrity: sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo= /slash/3.0.0: dev: true engines: @@ -5069,39 +4891,6 @@ packages: node: '>=10.0.0' resolution: integrity: sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g== - /tailwindcss/2.0.3_759587f5361760629983e9fe457a3aed: - dependencies: - '@fullhuman/postcss-purgecss': 3.1.3 - autoprefixer: 10.2.4_postcss@8.2.6 - bytes: 3.1.0 - chalk: 4.1.0 - color: 3.1.3 - detective: 5.2.0 - didyoumean: 1.2.1 - fs-extra: 9.1.0 - html-tags: 3.1.0 - lodash: 4.17.20 - modern-normalize: 1.0.0 - node-emoji: 1.10.0 - object-hash: 2.1.1 - postcss: 8.2.6 - postcss-functions: 3.0.0 - postcss-js: 3.0.3 - postcss-nested: 5.0.3_postcss@8.2.6 - postcss-selector-parser: 6.0.4 - postcss-value-parser: 4.1.0 - pretty-hrtime: 1.0.3 - reduce-css-calc: 2.1.8 - resolve: 1.19.0 - dev: true - engines: - node: '>=12.13.0' - hasBin: true - peerDependencies: - autoprefixer: ^10.0.2 - postcss: ^8.0.9 - resolution: - integrity: sha512-s8NEqdLBiVbbdL0a5XwTb8jKmIonOuI4RMENEcKLR61jw6SdKvBss7NWZzwCaD+ZIjlgmesv8tmrjXEp7C0eAQ== /temp-dir/2.0.0: dev: true engines: @@ -5362,13 +5151,13 @@ packages: '0': node >=0.6.0 resolution: integrity: sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= - /vite-plugin-components/0.6.10_vite@2.0.0-beta.69: + /vite-plugin-components/0.6.10_vite@2.0.0-beta.70: dependencies: chokidar: 3.5.1 debug: 4.3.2 fast-glob: /@knightly/fast-glob/3.2.5-knightly-master.202101180131 minimatch: 3.0.4 - vite: 2.0.0-beta.69 + vite: 2.0.0-beta.70 dev: true peerDependencies: vite: ^2.0.0-beta.69 @@ -5385,17 +5174,17 @@ packages: '@vue/compiler-sfc': ^3.0.2 resolution: integrity: sha512-ZIJ8G2AHwEDt4oDST46E6Uy7W2EtVyoe1hzmJMkutbq3esUkcYVoYydT6Y12lhq1ppnVnShkbc0XzfKqolfCSg== - /vite-plugin-md/0.4.2_vite@2.0.0-beta.69: + /vite-plugin-md/0.4.2_vite@2.0.0-beta.70: dependencies: gray-matter: 4.0.2 markdown-it: 12.0.4 - vite: 2.0.0-beta.69 + vite: 2.0.0-beta.70 dev: true peerDependencies: vite: ^2.0.0-beta.1 resolution: integrity: sha512-gAmtGCiPj0ESdWJikKTg4h0ADqybezRVOh1a51KtWqYk4WgwrvFRpTeVq9fVqLXLFhuU0iUIKJ04V3KeXAeWdQ== - /vite-plugin-pages/0.4.2_vite@2.0.0-beta.69+vue@3.0.5: + /vite-plugin-pages/0.4.2_vite@2.0.0-beta.70+vue@3.0.5: dependencies: '@vue/compiler-sfc': 3.0.5_vue@3.0.5 chalk: 4.1.0 @@ -5405,7 +5194,7 @@ packages: fast-glob: 3.2.5 glob-to-regexp: 0.4.1 json5: 2.2.0 - vite: 2.0.0-beta.69 + vite: 2.0.0-beta.70 vue: 3.0.5 vue-router: 4.0.3_vue@3.0.5 yaml: 2.0.0-3 @@ -5424,12 +5213,12 @@ packages: dev: true resolution: integrity: sha512-3LonumSG4EcH9FT61d7wWouHkCmEciy3RPfvt25b835HMx9gb2Dt71t140+85Z5d+uANMSguC3miBnnGzagAMA== - /vite-plugin-vue-layouts/0.2.2_vite@2.0.0-beta.69: + /vite-plugin-vue-layouts/0.2.2_vite@2.0.0-beta.70: dependencies: '@vue/compiler-sfc': 3.0.5_vue@3.0.5 debug: 4.3.2 fast-glob: 3.2.5 - vite: 2.0.0-beta.69 + vite: 2.0.0-beta.70 vue: 3.0.5 vue-router: 4.0.3_vue@3.0.5 dev: true @@ -5437,7 +5226,17 @@ packages: vite: ^2.0.0-beta.65 resolution: integrity: sha512-I5BfkCHwHV1WlbJE1ps2r6vwTo3N5QpLks3UpGa8XHcmHW03lavvJkdfjBpagI1bUQGEwWjLowFisG0Q/NJq3A== - /vite-ssg/0.8.8_3264c5547dde4c508d141cfa8bd8ef04: + /vite-plugin-windicss/0.1.12_vite@2.0.0-beta.70: + dependencies: + fast-glob: 3.2.5 + vite: 2.0.0-beta.70 + windicss: 2.1.6 + dev: true + peerDependencies: + vite: ^2.0.0-beta.69 + resolution: + integrity: sha512-UCcWmIETwCUEczt3bmK2P0ENPxwbp5NrFW7HwuJtDnkoBenXYddczUdSl94vhM5KyWAg/Ux7hD17AlocvqQgjA== + /vite-ssg/0.8.8_7f68eac36409553e5d7e195a87daa655: dependencies: '@vue/compiler-sfc': 3.0.5_vue@3.0.5 '@vue/server-renderer': 3.0.5_vue@3.0.5 @@ -5447,7 +5246,7 @@ packages: html-minifier: 4.0.0 jsdom: 16.4.0 prettier: 2.2.1 - vite: 2.0.0-beta.69 + vite: 2.0.0-beta.70 vue: 3.0.5 vue-router: 4.0.3_vue@3.0.5 yargs: 16.2.0 @@ -5463,7 +5262,7 @@ packages: vue-router: ^4.0.1 resolution: integrity: sha512-vHWurB5Gg9tHBbmoG9r9EyuNZITJOyH3FbyZnazRuV0szRQBCfXN0xQoC5CFx3FEGyZw7+Kim4KDUc3uLbLDRA== - /vite/2.0.0-beta.69: + /vite/2.0.0-beta.70: dependencies: esbuild: 0.8.34 postcss: 8.2.6 @@ -5476,7 +5275,7 @@ packages: optionalDependencies: fsevents: 2.3.2 resolution: - integrity: sha512-Wf4bWOK/b6Q+06Wyk7uJIBy/LiENGx26do6tn9gOMRRZLEuLizN/cDzGqnQkGVVevbb18xdilyxhnTes0lFjZg== + integrity: sha512-rbuAYZE8T0jNOUykkyfjiiKmz4MpW2KqzHO8++WCCDXyxzIg56ICQ/B6NLZzVpWyk0iSKiUKr2k8NMkmDlZAQQ== /vue-demi/0.6.0_vue@3.0.5: dependencies: vue: 3.0.5 @@ -5503,10 +5302,10 @@ packages: eslint: '>=5.0.0' resolution: integrity: sha512-n5PJKZbyspD0+8LnaZgpEvNCrjQx1DyDHw8JdWwoxhhC+yRip4TAvSDpXGf9SWX6b0umeB5aR61gwUo6NVvFxw== - /vue-i18n/9.0.0-rc.6_vue@3.0.5: + /vue-i18n/9.0.0-rc.7_vue@3.0.5: dependencies: - '@intlify/core-base': 9.0.0-rc.6 - '@intlify/shared': 9.0.0-rc.6 + '@intlify/core-base': 9.0.0-rc.7 + '@intlify/shared': 9.0.0-rc.7 '@vue/devtools-api': 6.0.0-beta.5 vue: 3.0.5 dev: false @@ -5515,7 +5314,7 @@ packages: peerDependencies: vue: ^3.0.0 resolution: - integrity: sha512-CrFLzT/BhTjtemgZ9qOjPxvrVxBxj6osV5oYeCLo5Xd8My617sIu72NGLwDjXRLGW5A/UCh0SUffMYlKL/eecw== + integrity: sha512-weNLPLqGiitziBUpGQHyxYlhuw447yR4EcsvmqUX3MocIKciv6OMHKxUguCFC1m1ZRCzHQwik7fz+Q8u4UmEdQ== /vue-router/4.0.3_vue@3.0.5: dependencies: vue: 3.0.5 @@ -5630,6 +5429,13 @@ packages: hasBin: true resolution: integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + /windicss/2.1.6: + dev: true + engines: + node: '>= 12' + hasBin: true + resolution: + integrity: sha512-G+RCA/SC+LVDf9xXNYKjljmNDZOlS4XhZrHySH7Anh9ymTbo4AXsKGqZU1jKWTzSky6IP5fR4ug5YVBo44NV8Q== /word-wrap/1.2.3: dev: true engines: @@ -5813,12 +5619,6 @@ packages: dev: true resolution: integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== - /xtend/4.0.2: - dev: true - engines: - node: '>=0.4' - resolution: - integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== /y18n/5.0.5: dev: true engines: @@ -5887,33 +5687,29 @@ specifiers: '@antfu/eslint-config': ^0.4.3 '@iconify/json': ^1.1.303 '@intlify/vite-plugin-vue-i18n': ^1.0.0-beta.17 - '@tailwindcss/typography': ^0.4.0 '@types/nprogress': ^0.2.0 - '@typescript-eslint/eslint-plugin': ^4.15.0 + '@typescript-eslint/eslint-plugin': ^4.15.1 '@vitejs/plugin-vue': ^1.1.4 '@vue/compiler-sfc': ^3.0.5 '@vue/server-renderer': ^3.0.5 '@vueuse/core': ^4.1.1 '@vueuse/head': ^0.2.3 - autoprefixer: ^10.2.4 cross-env: ^7.0.3 eslint: ^7.20.0 markdown-it-prism: ^2.1.4 nprogress: ^0.2.0 pnpm: ^5.17.2 - postcss: ^8.2.6 - postcss-nested: ^5.0.3 prism-theme-vars: ^0.1.4 - tailwindcss: ^2.0.3 typescript: ^4.1.5 - vite: ^2.0.0-beta.69 + vite: ^2.0.0-beta.70 vite-plugin-components: ^0.6.10 vite-plugin-icons: ^0.2.1 vite-plugin-md: ^0.4.2 vite-plugin-pages: ^0.4.2 vite-plugin-pwa: ^0.4.6 vite-plugin-vue-layouts: ^0.2.2 + vite-plugin-windicss: ^0.1.12 vite-ssg: ^0.8.8 vue: ^3.0.5 - vue-i18n: ^9.0.0-rc.6 + vue-i18n: ^9.0.0-rc.7 vue-router: ^4.0.3 diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index ab92d07..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - plugins: { - 'postcss-nested': {}, - tailwindcss: {}, - autoprefixer: {}, - }, -} diff --git a/src/layouts/default.vue b/src/layouts/default.vue index cca8e09..bcedc18 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -2,7 +2,7 @@
diff --git a/src/layouts/home.vue b/src/layouts/home.vue index 7c0524a..7119381 100644 --- a/src/layouts/home.vue +++ b/src/layouts/home.vue @@ -2,7 +2,7 @@
diff --git a/src/main.ts b/src/main.ts index e7b0443..9b13618 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,5 @@ -import './styles/main.postcss' +import 'windi.css' +import './styles/main.css' import { ViteSSG } from 'vite-ssg' import generatedRoutes from 'pages-generated' import { setupLayouts } from 'layouts-generated' diff --git a/src/styles/main.postcss b/src/styles/main.css similarity index 65% rename from src/styles/main.postcss rename to src/styles/main.css index 121293f..e911ca6 100755 --- a/src/styles/main.postcss +++ b/src/styles/main.css @@ -1,7 +1,4 @@ -@import 'tailwindcss/base'; -@import 'tailwindcss/components'; -@import 'tailwindcss/utilities'; -@import './markdown.postcss'; +@import './markdown.css'; html, body, @@ -17,18 +14,18 @@ html.dark { #nprogress { pointer-events: none; +} - .bar { - @apply bg-teal-600 opacity-75; +#nprogress .bar { + @apply bg-teal-600 opacity-75; - position: fixed; - z-index: 1031; - top: 0; - left: 0; + position: fixed; + z-index: 1031; + top: 0; + left: 0; - width: 100%; - height: 2px; - } + width: 100%; + height: 2px; } .btn { diff --git a/src/styles/markdown.postcss b/src/styles/markdown.css similarity index 93% rename from src/styles/markdown.postcss rename to src/styles/markdown.css index 0c4d347..020f539 100644 --- a/src/styles/markdown.postcss +++ b/src/styles/markdown.css @@ -46,10 +46,3 @@ html.dark { --prism-line-highlight-background: #444444; --prism-selection-background: #444444; } - -/* fix tailwind typography in darkmode */ -.prose { - a code { - color: inherit; - } -} diff --git a/tailwind.config.js b/tailwind.config.js index e48a03e..099ca64 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,44 +1,23 @@ /* eslint-disable @typescript-eslint/no-var-requires */ -const colors = require('tailwindcss/colors') -const typography = require('@tailwindcss/typography') +const colors = require('windicss/colors') module.exports = { - purge: { - enabled: process.env.NODE_ENV === 'production', - content: [ - './index.html', - './src/**/*.vue', - './src/**/*.md', - './src/**/*.js', - './src/**/*.ts', - ], - options: { - safelist: ['prose', 'prose-sm', 'm-auto'], - }, - }, - variants: { - extend: { - cursor: ['disabled'], - backgroundColor: ['disabled'], - borderColor: ['active', 'disabled'], - textColor: ['active', 'disabled'], - opacity: ['dark', 'active', 'disabled'], - } - }, darkMode: 'class', - plugins: [typography], + plugins: [ + require('windicss/plugin/typography'), + ], theme: { extend: { - colors: { - teal: colors.teal, - }, typography: { DEFAULT: { css: { + maxWidth: '65ch', color: 'inherit', a: { color: 'inherit', opacity: 0.75, + fontWeight: '500', + textDecoration: 'underline', '&:hover': { opacity: 1, color: colors.teal[600], diff --git a/vite.config.ts b/vite.config.ts index 5a6900f..e1fc49f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,6 +6,7 @@ import Layouts from 'vite-plugin-vue-layouts' import ViteIcons, { ViteIconsResolver } from 'vite-plugin-icons' import ViteComponents from 'vite-plugin-components' import Markdown from 'vite-plugin-md' +import WindiCSS from 'vite-plugin-windicss' import { VitePWA } from 'vite-plugin-pwa' import VueI18n from '@intlify/vite-plugin-vue-i18n' import Prism from 'markdown-it-prism' @@ -60,6 +61,11 @@ export default defineConfig({ // https://github.com/antfu/vite-plugin-icons ViteIcons(), + // https://github.com/antfu/vite-plugin-windicss + ...WindiCSS({ + safelist: 'prose prose-sm m-auto', + }), + // https://github.com/antfu/vite-plugin-pwa VitePWA({ inlineRegister: false,