diff --git a/package.json b/package.json index 7af143e..c80ac5f 100644 --- a/package.json +++ b/package.json @@ -81,6 +81,8 @@ "prettier": "^2.7.1", "sass": "^1.56.1", "typescript": "^4.9.3", + "unocss": "^0.46.5", + "unocss-preset-weapp": "^0.2.1", "unplugin-vue-components": "^0.22.9", "vite": "^3.2.4", "vite-plugin-eslint": "^1.8.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c07023e..1934b17 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,6 +43,8 @@ specifiers: qs: ^6.11.0 sass: ^1.56.1 typescript: ^4.9.3 + unocss: ^0.46.5 + unocss-preset-weapp: ^0.2.1 unplugin-vue-components: ^0.22.9 vite: ^3.2.4 vite-plugin-eslint: ^1.8.1 @@ -96,6 +98,8 @@ devDependencies: prettier: registry.npmmirror.com/prettier/2.7.1 sass: registry.npmmirror.com/sass/1.56.1 typescript: registry.npmmirror.com/typescript/4.9.3 + unocss: registry.npmmirror.com/unocss/0.46.5_vite@3.2.4 + unocss-preset-weapp: registry.npmmirror.com/unocss-preset-weapp/0.2.1 unplugin-vue-components: registry.npmmirror.com/unplugin-vue-components/0.22.9_vue@3.2.45 vite: registry.npmmirror.com/vite/3.2.4_n6khcd6nwbbqng5r3hmfpt3hqi vite-plugin-eslint: registry.npmmirror.com/vite-plugin-eslint/1.8.1_eslint@8.28.0+vite@3.2.4 @@ -111,6 +115,21 @@ packages: '@jridgewell/gen-mapping': registry.npmmirror.com/@jridgewell/gen-mapping/0.1.1 '@jridgewell/trace-mapping': registry.npmmirror.com/@jridgewell/trace-mapping/0.3.17 + registry.npmmirror.com/@antfu/install-pkg/0.1.1: + resolution: {integrity: sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-0.1.1.tgz} + name: '@antfu/install-pkg' + version: 0.1.1 + dependencies: + execa: registry.npmmirror.com/execa/5.1.1 + find-up: registry.npmmirror.com/find-up/5.0.0 + dev: true + + registry.npmmirror.com/@antfu/utils/0.5.2: + resolution: {integrity: sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@antfu/utils/-/utils-0.5.2.tgz} + name: '@antfu/utils' + version: 0.5.2 + dev: true + registry.npmmirror.com/@antfu/utils/0.6.3: resolution: {integrity: sha512-sEYpyyKUPOew9QsXZ8feRVMzW6DWLviwOl+/ap06UQW02A8Srbc95CPHVm4eUbiBzBgD46eyIT+przv//KSSlQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@antfu/utils/-/utils-0.6.3.tgz} name: '@antfu/utils' @@ -1073,6 +1092,27 @@ packages: version: 1.2.1 dev: true + registry.npmmirror.com/@iconify/types/2.0.0: + resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@iconify/types/-/types-2.0.0.tgz} + name: '@iconify/types' + version: 2.0.0 + dev: true + + registry.npmmirror.com/@iconify/utils/2.0.2: + resolution: {integrity: sha512-13B3wJxDLmSNBEIEpKleKSkJVQgdAy9ra3Xsu233i/5qD5yXBGhpOFxTB/k8cqme0xVsMKBPV5vbvq9MgQlX+w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@iconify/utils/-/utils-2.0.2.tgz} + name: '@iconify/utils' + version: 2.0.2 + dependencies: + '@antfu/install-pkg': registry.npmmirror.com/@antfu/install-pkg/0.1.1 + '@antfu/utils': registry.npmmirror.com/@antfu/utils/0.5.2 + '@iconify/types': registry.npmmirror.com/@iconify/types/2.0.0 + debug: registry.npmmirror.com/debug/4.3.4 + kolorist: registry.npmmirror.com/kolorist/1.6.0 + local-pkg: registry.npmmirror.com/local-pkg/0.4.2 + transitivePeerDependencies: + - supports-color + dev: true + registry.npmmirror.com/@intlify/core-base/9.1.9: resolution: {integrity: sha512-x5T0p/Ja0S8hs5xs+ImKyYckVkL4CzcEXykVYYV6rcbXxJTe2o58IquSqX9bdncVKbRZP7GlBU1EcRaQEEJ+vw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.1.9.tgz} name: '@intlify/core-base' @@ -1237,6 +1277,14 @@ packages: '@jridgewell/resolve-uri': registry.npmmirror.com/@jridgewell/resolve-uri/3.1.0 '@jridgewell/sourcemap-codec': registry.npmmirror.com/@jridgewell/sourcemap-codec/1.4.14 + registry.npmmirror.com/@meoc/utils/0.1.9: + resolution: {integrity: sha512-CIZDdbMHHs8qMllpEE6WMyVTMrjFMQmYcrX25WxN8h+7QZkMcTK5omU6PKjb5d4rSdbrIPVTkvrl1KUByveITA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@meoc/utils/-/utils-0.1.9.tgz} + name: '@meoc/utils' + version: 0.1.9 + dependencies: + dayjs: registry.npmmirror.com/dayjs/1.11.6 + dev: true + registry.npmmirror.com/@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz} name: '@nodelib/fs.scandir' @@ -1261,6 +1309,12 @@ packages: '@nodelib/fs.scandir': registry.npmmirror.com/@nodelib/fs.scandir/2.1.5 fastq: registry.npmmirror.com/fastq/1.13.0 + registry.npmmirror.com/@polka/url/1.0.0-next.21: + resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.21.tgz} + name: '@polka/url' + version: 1.0.0-next.21 + dev: true + registry.npmmirror.com/@rollup/pluginutils/4.2.1: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz} name: '@rollup/pluginutils' @@ -1526,6 +1580,207 @@ packages: eslint-visitor-keys: registry.npmmirror.com/eslint-visitor-keys/3.3.0 dev: true + registry.npmmirror.com/@unocss/astro/0.46.5_vite@3.2.4: + resolution: {integrity: sha512-Ey4ReY0ult1IARdgYsEynwGbfvmwoUBOFKKdQzsm6TQR/HcSGLND4Yzoa0OTotG5gj6h9jCPjypZtw6xCUqyzg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/astro/-/astro-0.46.5.tgz} + id: registry.npmmirror.com/@unocss/astro/0.46.5 + name: '@unocss/astro' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + '@unocss/reset': registry.npmmirror.com/@unocss/reset/0.46.5 + '@unocss/vite': registry.npmmirror.com/@unocss/vite/0.46.5_vite@3.2.4 + transitivePeerDependencies: + - rollup + - vite + dev: true + + registry.npmmirror.com/@unocss/cli/0.46.5: + resolution: {integrity: sha512-NOx/b/nsG1fGdfJ+gWhoVyvrfVVyJ1Pvb5VKsMx24HBoOvoiQd6BO84xQZ+zCdO0IYgw/F4THxaPsyHM3KL8wA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/cli/-/cli-0.46.5.tgz} + name: '@unocss/cli' + version: 0.46.5 + engines: {node: '>=14'} + hasBin: true + dependencies: + '@ampproject/remapping': registry.npmmirror.com/@ampproject/remapping/2.2.0 + '@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils/5.0.2 + '@unocss/config': registry.npmmirror.com/@unocss/config/0.46.5 + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + '@unocss/preset-uno': registry.npmmirror.com/@unocss/preset-uno/0.46.5 + cac: registry.npmmirror.com/cac/6.7.14 + chokidar: registry.npmmirror.com/chokidar/3.5.3 + colorette: registry.npmmirror.com/colorette/2.0.19 + consola: registry.npmmirror.com/consola/2.15.3 + fast-glob: registry.npmmirror.com/fast-glob/3.2.12 + magic-string: registry.npmmirror.com/magic-string/0.26.7 + pathe: registry.npmmirror.com/pathe/0.3.9 + perfect-debounce: registry.npmmirror.com/perfect-debounce/0.1.3 + transitivePeerDependencies: + - rollup + dev: true + + registry.npmmirror.com/@unocss/config/0.46.5: + resolution: {integrity: sha512-PCrT5GHyxaMroip8kLiX7vQDRYThugkAJNHHULWh/gWuvw5V/uMseeAisfMaRfNFXvtCRQeroNUggfAIXMNzxA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/config/-/config-0.46.5.tgz} + name: '@unocss/config' + version: 0.46.5 + engines: {node: '>=14'} + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + unconfig: registry.npmmirror.com/unconfig/0.3.7 + dev: true + + registry.npmmirror.com/@unocss/core/0.46.5: + resolution: {integrity: sha512-apPWISH2ASKySyp4vBAkEzr5XNJDv4mu26eQ4wvg2a32cHRokUsiHLWFNMDe7oJquivTAOHsXqbLQuR9ePKNSg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/core/-/core-0.46.5.tgz} + name: '@unocss/core' + version: 0.46.5 + dev: true + + registry.npmmirror.com/@unocss/inspector/0.46.5: + resolution: {integrity: sha512-L7bMqtp94qtADeGm0ZU1IPtRatChSqHHxFG2s11+VuElPjktcnwnEfTPY5Obm++sy0kNNPU0M3xJD4TPk/M22g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/inspector/-/inspector-0.46.5.tgz} + name: '@unocss/inspector' + version: 0.46.5 + dependencies: + gzip-size: registry.npmmirror.com/gzip-size/6.0.0 + sirv: registry.npmmirror.com/sirv/2.0.2 + dev: true + + registry.npmmirror.com/@unocss/preset-attributify/0.46.5: + resolution: {integrity: sha512-phhhF0bgO+sFCiin9dstuOB5wxgTg3n3gE+uoCCfhZz2XI6GmmcL60cV5xTMhFv9kxedrvy8kS6UF+W1GAUang==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-attributify/-/preset-attributify-0.46.5.tgz} + name: '@unocss/preset-attributify' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/preset-icons/0.46.5: + resolution: {integrity: sha512-g1gMi++j233nc/5KcUti5+X+fQ9K36MzROx37pJCFz+jD5i7Y21hXOC/brP7k4tWo1IEFR8rsLgtvVEXOhu8Sw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-icons/-/preset-icons-0.46.5.tgz} + name: '@unocss/preset-icons' + version: 0.46.5 + dependencies: + '@iconify/utils': registry.npmmirror.com/@iconify/utils/2.0.2 + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + ohmyfetch: registry.npmmirror.com/ohmyfetch/0.4.21 + transitivePeerDependencies: + - supports-color + dev: true + + registry.npmmirror.com/@unocss/preset-mini/0.46.5: + resolution: {integrity: sha512-pSiCUeNoLs9F5ux7BzsTKqQhTABvwtggv45Kza2wDIStPESLYHInPUHF57e753IhKdZSpX08gSRiYF4mXVcFWg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-mini/-/preset-mini-0.46.5.tgz} + name: '@unocss/preset-mini' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/preset-tagify/0.46.5: + resolution: {integrity: sha512-lE+nmm9Bf8ckr4pmVHzHYkLiePnfiC/HQTPHaa9CmRiBtUEljiMt/RVnRu/R7yuel+DDLdX7GfGg4oNstVB7Cg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-tagify/-/preset-tagify-0.46.5.tgz} + name: '@unocss/preset-tagify' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/preset-typography/0.46.5: + resolution: {integrity: sha512-wAf9XNNzJWrXEFWuEUXfY5Jmx7HPv5Mi+3EkOcPi8at7lcncWkF0PmLY/nI95nfXQZipkV+aDyHp3TsDn9FgAw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-typography/-/preset-typography-0.46.5.tgz} + name: '@unocss/preset-typography' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/preset-uno/0.46.5: + resolution: {integrity: sha512-O4f/cSdNAnK3MVXLgzihnOLrp12h3787U9bPZ1WS7Ow52D+kzBfRLVEWy4RWCGDN+ko/0q7Q7nqZOkrtcCELJQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-uno/-/preset-uno-0.46.5.tgz} + name: '@unocss/preset-uno' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + '@unocss/preset-mini': registry.npmmirror.com/@unocss/preset-mini/0.46.5 + '@unocss/preset-wind': registry.npmmirror.com/@unocss/preset-wind/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/preset-web-fonts/0.46.5: + resolution: {integrity: sha512-ITOtD9AeklSqsVzBlK6wKbABQnD1o9wubN4bGkz7cd0G0GEt7YkW9dYwmXPYqo9Stoga92MJPy/Z2mxKT0ejVw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-web-fonts/-/preset-web-fonts-0.46.5.tgz} + name: '@unocss/preset-web-fonts' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + ohmyfetch: registry.npmmirror.com/ohmyfetch/0.4.21 + dev: true + + registry.npmmirror.com/@unocss/preset-wind/0.46.5: + resolution: {integrity: sha512-v1n918arr7qg/AYjkvVCJDqWT7bd8UhdT7tBCcJcFOuPvJdToBoy3LcNxQXQpS7gcVGG7YiKE5rT4JwsV7U5XA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/preset-wind/-/preset-wind-0.46.5.tgz} + name: '@unocss/preset-wind' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + '@unocss/preset-mini': registry.npmmirror.com/@unocss/preset-mini/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/reset/0.46.5: + resolution: {integrity: sha512-DU1sisNixEaUsnfDdbU+POaedJLKUtalHnOOce2Txxrcakf7M2/I5/9cRIXt5diVbPjIyoDPcx+7Gn8K0cTGqg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/reset/-/reset-0.46.5.tgz} + name: '@unocss/reset' + version: 0.46.5 + dev: true + + registry.npmmirror.com/@unocss/scope/0.46.5: + resolution: {integrity: sha512-gAA6a2zwal9GMW6HSp2dofUEzS6ZlLxg6/y8fSHHjJduKRZaq77IP3YdmyT4ZnPBIYsE7+u25lXeDOEFrEMSxg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/scope/-/scope-0.46.5.tgz} + name: '@unocss/scope' + version: 0.46.5 + dev: true + + registry.npmmirror.com/@unocss/transformer-attributify-jsx/0.46.5: + resolution: {integrity: sha512-kQwGnV/yICU4LdjOBgKrn+m29Zb820W3HGqxI1MAyutbeWJObQbuMnSLhVCu6I9zjlvvFV9rfJ87z/Ggo1vnjQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/transformer-attributify-jsx/-/transformer-attributify-jsx-0.46.5.tgz} + name: '@unocss/transformer-attributify-jsx' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/transformer-compile-class/0.46.5: + resolution: {integrity: sha512-ntE+CJ2XzUyXKzT2MklM1GcVxLlJFpi6fYl0GqGqXMxvPdKHUaX9f4zASjuAUFr/od1MKhjHkujy8pyr6y2Q4g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/transformer-compile-class/-/transformer-compile-class-0.46.5.tgz} + name: '@unocss/transformer-compile-class' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/transformer-directives/0.46.5: + resolution: {integrity: sha512-jnskAINirtl0TW/8ELRR55AEQoy4yU1iBQuZcgJCfOGU6gkNsq6IRoBLcCiFoBmp8UdxvIuGo4k1SpnEf5x+gA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/transformer-directives/-/transformer-directives-0.46.5.tgz} + name: '@unocss/transformer-directives' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + css-tree: registry.npmmirror.com/css-tree/2.2.1 + dev: true + + registry.npmmirror.com/@unocss/transformer-variant-group/0.46.5: + resolution: {integrity: sha512-xBylFf8Q0z0jzr8OoqiIstC2ZXPeniENGANOruTzXlS+DJ2uuKNrwOuXpBbMTEA2D7lmLwtbyg1PZy3mDUB3iA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/transformer-variant-group/-/transformer-variant-group-0.46.5.tgz} + name: '@unocss/transformer-variant-group' + version: 0.46.5 + dependencies: + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + dev: true + + registry.npmmirror.com/@unocss/vite/0.46.5_vite@3.2.4: + resolution: {integrity: sha512-/auNcS1L3PjwAA3U/i9scJf2Zx3kkgCdKiXyfetjws4ddAnVE+LrDmIKbbdSUiWFoq9W2QOPpOPpV2xips2gmg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@unocss/vite/-/vite-0.46.5.tgz} + id: registry.npmmirror.com/@unocss/vite/0.46.5 + name: '@unocss/vite' + version: 0.46.5 + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 + dependencies: + '@ampproject/remapping': registry.npmmirror.com/@ampproject/remapping/2.2.0 + '@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils/5.0.2 + '@unocss/config': registry.npmmirror.com/@unocss/config/0.46.5 + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + '@unocss/inspector': registry.npmmirror.com/@unocss/inspector/0.46.5 + '@unocss/scope': registry.npmmirror.com/@unocss/scope/0.46.5 + '@unocss/transformer-directives': registry.npmmirror.com/@unocss/transformer-directives/0.46.5 + magic-string: registry.npmmirror.com/magic-string/0.26.7 + vite: registry.npmmirror.com/vite/3.2.4_n6khcd6nwbbqng5r3hmfpt3hqi + transitivePeerDependencies: + - rollup + dev: true + registry.npmmirror.com/@vitejs/plugin-legacy/2.3.1_terser@5.15.1+vite@3.2.4: resolution: {integrity: sha512-J5KaGBlSt2tEYPVjM/C8dA6DkRzkFkbPe+Xb4IX5G+XOV5OGbVAfkMjKywdrkO3gGynO8S98i71Lmsff4cWkCQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vitejs/plugin-legacy/-/plugin-legacy-2.3.1.tgz} id: registry.npmmirror.com/@vitejs/plugin-legacy/2.3.1 @@ -2040,6 +2295,15 @@ packages: version: 1.0.3 dev: true + registry.npmmirror.com/busboy/1.6.0: + resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/busboy/-/busboy-1.6.0.tgz} + name: busboy + version: 1.6.0 + engines: {node: '>=10.16.0'} + dependencies: + streamsearch: registry.npmmirror.com/streamsearch/1.1.0 + dev: true + registry.npmmirror.com/bytes/3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/bytes/-/bytes-3.1.2.tgz} name: bytes @@ -2047,6 +2311,13 @@ packages: engines: {node: '>= 0.8'} dev: true + registry.npmmirror.com/cac/6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cac/-/cac-6.7.14.tgz} + name: cac + version: 6.7.14 + engines: {node: '>=8'} + dev: true + registry.npmmirror.com/cac/6.7.9: resolution: {integrity: sha512-XN5qEpfNQCJ8jRaZgitSkkukjMRCGio+X3Ks5KUbGGlPbV+pSem1l9VuzooCBXOiMFshUZgyYqg6rgN8rjkb/w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cac/-/cac-6.7.9.tgz} name: cac @@ -2366,6 +2637,12 @@ packages: xdg-basedir: registry.npmmirror.com/xdg-basedir/4.0.0 dev: true + registry.npmmirror.com/consola/2.15.3: + resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/consola/-/consola-2.15.3.tgz} + name: consola + version: 2.15.3 + dev: true + registry.npmmirror.com/content-disposition/0.5.4: resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/content-disposition/-/content-disposition-0.5.4.tgz} name: content-disposition @@ -2509,6 +2786,16 @@ packages: version: 1.0.0 dev: false + registry.npmmirror.com/css-tree/2.2.1: + resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/css-tree/-/css-tree-2.2.1.tgz} + name: css-tree + version: 2.2.1 + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + dependencies: + mdn-data: registry.npmmirror.com/mdn-data/2.0.28 + source-map-js: registry.npmmirror.com/source-map-js/1.0.2 + dev: true + registry.npmmirror.com/cssesc/3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz} name: cssesc @@ -2521,6 +2808,12 @@ packages: name: csstype version: 2.6.21 + registry.npmmirror.com/dayjs/1.11.6: + resolution: {integrity: sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/dayjs/-/dayjs-1.11.6.tgz} + name: dayjs + version: 1.11.6 + dev: true + registry.npmmirror.com/debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz} name: debug @@ -2591,6 +2884,12 @@ packages: version: 1.1.3 dev: true + registry.npmmirror.com/defu/6.1.1: + resolution: {integrity: sha512-aA964RUCsBt0FGoNIlA3uFgo2hO+WWC0fiC6DBps/0SFzkKcYoM/3CzVLIa5xSsrFjdioMdYgAIbwo80qp2MoA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/defu/-/defu-6.1.1.tgz} + name: defu + version: 6.1.1 + dev: true + registry.npmmirror.com/depd/2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/depd/-/depd-2.0.0.tgz} name: depd @@ -2598,6 +2897,12 @@ packages: engines: {node: '>= 0.8'} dev: true + registry.npmmirror.com/destr/1.2.1: + resolution: {integrity: sha512-ud8w0qMLlci6iFG7CNgeRr8OcbUWMsbfjtWft1eJ5Luqrz/M8Ebqk/KCzne8rKUlIQWWfLv0wD6QHrqOf4GshA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/destr/-/destr-1.2.1.tgz} + name: destr + version: 1.2.1 + dev: true + registry.npmmirror.com/destroy/1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/destroy/-/destroy-1.2.0.tgz} name: destroy @@ -2655,6 +2960,12 @@ packages: engines: {node: '>=4.6.0'} dev: true + registry.npmmirror.com/duplexer/0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz} + name: duplexer + version: 0.1.2 + dev: true + registry.npmmirror.com/duplexer3/0.1.5: resolution: {integrity: sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/duplexer3/-/duplexer3-0.1.5.tgz} name: duplexer3 @@ -3746,6 +4057,15 @@ packages: version: 1.0.4 dev: true + registry.npmmirror.com/gzip-size/6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/gzip-size/-/gzip-size-6.0.0.tgz} + name: gzip-size + version: 6.0.0 + engines: {node: '>=10'} + dependencies: + duplexer: registry.npmmirror.com/duplexer/0.1.2 + dev: true + registry.npmmirror.com/has-ansi/2.0.0: resolution: {integrity: sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz} name: has-ansi @@ -4198,6 +4518,13 @@ packages: version: 2.0.0 dev: true + registry.npmmirror.com/jiti/1.16.0: + resolution: {integrity: sha512-L3BJStEf5NAqNuzrpfbN71dp43mYIcBUlCRea/vdyv5dW/AYa1d4bpelko4SHdY3I6eN9Wzyasxirj1/vv5kmg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/jiti/-/jiti-1.16.0.tgz} + name: jiti + version: 1.16.0 + hasBin: true + dev: true + registry.npmmirror.com/js-sdsl/4.1.5: resolution: {integrity: sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/js-sdsl/-/js-sdsl-4.1.5.tgz} name: js-sdsl @@ -4293,6 +4620,12 @@ packages: engines: {node: '>=6'} dev: true + registry.npmmirror.com/kolorist/1.6.0: + resolution: {integrity: sha512-dLkz37Ab97HWMx9KTes3Tbi3D1ln9fCAy2zr2YVExJasDRPGRaKcoE4fycWNtnCAJfjFqe0cnY+f8KT2JePEXQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/kolorist/-/kolorist-1.6.0.tgz} + name: kolorist + version: 1.6.0 + dev: true + registry.npmmirror.com/latest-version/3.1.0: resolution: {integrity: sha512-Be1YRHWWlZaSsrz2U+VInk+tO0EwLIyV+23RhWLINJYwg/UIikxjlj3MhH37/6/EDCAusjajvMkMMUXRaMWl/w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/latest-version/-/latest-version-3.1.0.tgz} name: latest-version @@ -4580,6 +4913,12 @@ packages: semver: registry.npmmirror.com/semver/6.3.0 dev: true + registry.npmmirror.com/mdn-data/2.0.28: + resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.28.tgz} + name: mdn-data + version: 2.0.28 + dev: true + registry.npmmirror.com/media-typer/0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/media-typer/-/media-typer-0.3.0.tgz} name: media-typer @@ -4768,6 +5107,13 @@ packages: which: registry.npmmirror.com/which/2.0.2 dev: true + registry.npmmirror.com/mrmime/1.0.1: + resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/mrmime/-/mrmime-1.0.1.tgz} + name: mrmime + version: 1.0.1 + engines: {node: '>=10'} + dev: true + registry.npmmirror.com/ms/2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz} name: ms @@ -4817,6 +5163,12 @@ packages: engines: {node: '>= 0.6'} dev: true + registry.npmmirror.com/node-fetch-native/0.1.8: + resolution: {integrity: sha512-ZNaury9r0NxaT2oL65GvdGDy+5PlSaHTovT6JV5tOW07k1TQmgC0olZETa4C9KZg0+6zBr99ctTYa3Utqj9P/Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/node-fetch-native/-/node-fetch-native-0.1.8.tgz} + name: node-fetch-native + version: 0.1.8 + dev: true + registry.npmmirror.com/node-releases/2.0.6: resolution: {integrity: sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/node-releases/-/node-releases-2.0.6.tgz} name: node-releases @@ -4892,6 +5244,17 @@ packages: name: object-inspect version: 1.12.2 + registry.npmmirror.com/ohmyfetch/0.4.21: + resolution: {integrity: sha512-VG7f/JRvqvBOYvL0tHyEIEG7XHWm7OqIfAs6/HqwWwDfjiJ1g0huIpe5sFEmyb+7hpFa1EGNH2aERWR72tlClw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ohmyfetch/-/ohmyfetch-0.4.21.tgz} + name: ohmyfetch + version: 0.4.21 + dependencies: + destr: registry.npmmirror.com/destr/1.2.1 + node-fetch-native: registry.npmmirror.com/node-fetch-native/0.1.8 + ufo: registry.npmmirror.com/ufo/0.8.6 + undici: registry.npmmirror.com/undici/5.12.0 + dev: true + registry.npmmirror.com/on-finished/2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/on-finished/-/on-finished-2.4.1.tgz} name: on-finished @@ -5194,6 +5557,18 @@ packages: engines: {node: '>=8'} dev: true + registry.npmmirror.com/pathe/0.3.9: + resolution: {integrity: sha512-6Y6s0vT112P3jD8dGfuS6r+lpa0qqNrLyHPOwvXMnyNTQaYiwgau2DP3aNDsR13xqtGj7rrPo+jFUATpU6/s+g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pathe/-/pathe-0.3.9.tgz} + name: pathe + version: 0.3.9 + dev: true + + registry.npmmirror.com/perfect-debounce/0.1.3: + resolution: {integrity: sha512-NOT9AcKiDGpnV/HBhI22Str++XWcErO/bALvHCuhv33owZW/CjH8KAFLZDCmu3727sihe0wTxpDhyGc6M8qacQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/perfect-debounce/-/perfect-debounce-0.1.3.tgz} + name: perfect-debounce + version: 0.1.3 + dev: true + registry.npmmirror.com/picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz} name: picocolors @@ -5899,6 +6274,17 @@ packages: version: 3.0.7 dev: true + registry.npmmirror.com/sirv/2.0.2: + resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/sirv/-/sirv-2.0.2.tgz} + name: sirv + version: 2.0.2 + engines: {node: '>= 10'} + dependencies: + '@polka/url': registry.npmmirror.com/@polka/url/1.0.0-next.21 + mrmime: registry.npmmirror.com/mrmime/1.0.1 + totalist: registry.npmmirror.com/totalist/3.0.0 + dev: true + registry.npmmirror.com/slash/3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz} name: slash @@ -5987,6 +6373,13 @@ packages: engines: {node: '>= 0.8'} dev: true + registry.npmmirror.com/streamsearch/1.1.0: + resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/streamsearch/-/streamsearch-1.1.0.tgz} + name: streamsearch + version: 1.1.0 + engines: {node: '>=10.0.0'} + dev: true + registry.npmmirror.com/string-argv/0.3.1: resolution: {integrity: sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/string-argv/-/string-argv-0.3.1.tgz} name: string-argv @@ -6262,6 +6655,13 @@ packages: engines: {node: '>=0.6'} dev: true + registry.npmmirror.com/totalist/3.0.0: + resolution: {integrity: sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/totalist/-/totalist-3.0.0.tgz} + name: totalist + version: 3.0.0 + engines: {node: '>=6'} + dev: true + registry.npmmirror.com/tslib/1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz} name: tslib @@ -6348,6 +6748,31 @@ packages: engines: {node: '>=4.2.0'} hasBin: true + registry.npmmirror.com/ufo/0.8.6: + resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ufo/-/ufo-0.8.6.tgz} + name: ufo + version: 0.8.6 + dev: true + + registry.npmmirror.com/unconfig/0.3.7: + resolution: {integrity: sha512-1589b7oGa8ILBYpta7TndM5mLHLzHUqBfhszeZxuUBrjO/RoQ52VGVWsS3w0C0GLNxO9RPmqkf6BmIvBApaRdA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unconfig/-/unconfig-0.3.7.tgz} + name: unconfig + version: 0.3.7 + dependencies: + '@antfu/utils': registry.npmmirror.com/@antfu/utils/0.5.2 + defu: registry.npmmirror.com/defu/6.1.1 + jiti: registry.npmmirror.com/jiti/1.16.0 + dev: true + + registry.npmmirror.com/undici/5.12.0: + resolution: {integrity: sha512-zMLamCG62PGjd9HHMpo05bSLvvwWOZgGeiWlN/vlqu3+lRo3elxktVGEyLMX+IO7c2eflLjcW74AlkhEZm15mg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/undici/-/undici-5.12.0.tgz} + name: undici + version: 5.12.0 + engines: {node: '>=12.18'} + dependencies: + busboy: registry.npmmirror.com/busboy/1.6.0 + dev: true + registry.npmmirror.com/unique-random-array/1.0.0: resolution: {integrity: sha512-vtj2yltjcHPa69nFjNJ3xnhsEwE8pMyjqUQDw2myz/iSezqf4YCAcygwFQEsOgMid5VNW/dCPbnb2BcmaDCCKg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unique-random-array/-/unique-random-array-1.0.0.tgz} name: unique-random-array @@ -6395,6 +6820,54 @@ packages: version: 2.0.0 engines: {node: '>= 10.0.0'} + registry.npmmirror.com/unocss-preset-weapp/0.2.1: + resolution: {integrity: sha512-uJlfTJ5WBnA1tqVuIQ7XcGauX3FNLD6fqbYf79grN6O3cfCi8wkAxddbybQIgPkDDRplpCvs6tdO1/l6YJgSvg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unocss-preset-weapp/-/unocss-preset-weapp-0.2.1.tgz} + name: unocss-preset-weapp + version: 0.2.1 + dependencies: + '@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils/5.0.2 + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + unplugin-attributify-to-class: registry.npmmirror.com/unplugin-attributify-to-class/0.2.0 + unplugin-transform-class: registry.npmmirror.com/unplugin-transform-class/0.2.0 + transitivePeerDependencies: + - rollup + dev: true + + registry.npmmirror.com/unocss/0.46.5_vite@3.2.4: + resolution: {integrity: sha512-AMURkxzvhHgjxD9KcEyo1y+zTJvjHG9O+vYWTyyMEQeCspFmGONoEtnBC9p8MGPsiW4afSEJCrIROOEl186zKQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unocss/-/unocss-0.46.5.tgz} + id: registry.npmmirror.com/unocss/0.46.5 + name: unocss + version: 0.46.5 + engines: {node: '>=14'} + peerDependencies: + '@unocss/webpack': 0.46.5 + peerDependenciesMeta: + '@unocss/webpack': + optional: true + dependencies: + '@unocss/astro': registry.npmmirror.com/@unocss/astro/0.46.5_vite@3.2.4 + '@unocss/cli': registry.npmmirror.com/@unocss/cli/0.46.5 + '@unocss/core': registry.npmmirror.com/@unocss/core/0.46.5 + '@unocss/preset-attributify': registry.npmmirror.com/@unocss/preset-attributify/0.46.5 + '@unocss/preset-icons': registry.npmmirror.com/@unocss/preset-icons/0.46.5 + '@unocss/preset-mini': registry.npmmirror.com/@unocss/preset-mini/0.46.5 + '@unocss/preset-tagify': registry.npmmirror.com/@unocss/preset-tagify/0.46.5 + '@unocss/preset-typography': registry.npmmirror.com/@unocss/preset-typography/0.46.5 + '@unocss/preset-uno': registry.npmmirror.com/@unocss/preset-uno/0.46.5 + '@unocss/preset-web-fonts': registry.npmmirror.com/@unocss/preset-web-fonts/0.46.5 + '@unocss/preset-wind': registry.npmmirror.com/@unocss/preset-wind/0.46.5 + '@unocss/reset': registry.npmmirror.com/@unocss/reset/0.46.5 + '@unocss/transformer-attributify-jsx': registry.npmmirror.com/@unocss/transformer-attributify-jsx/0.46.5 + '@unocss/transformer-compile-class': registry.npmmirror.com/@unocss/transformer-compile-class/0.46.5 + '@unocss/transformer-directives': registry.npmmirror.com/@unocss/transformer-directives/0.46.5 + '@unocss/transformer-variant-group': registry.npmmirror.com/@unocss/transformer-variant-group/0.46.5 + '@unocss/vite': registry.npmmirror.com/@unocss/vite/0.46.5_vite@3.2.4 + transitivePeerDependencies: + - rollup + - supports-color + - vite + dev: true + registry.npmmirror.com/unpipe/1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unpipe/-/unpipe-1.0.0.tgz} name: unpipe @@ -6402,6 +6875,30 @@ packages: engines: {node: '>= 0.8'} dev: true + registry.npmmirror.com/unplugin-attributify-to-class/0.2.0: + resolution: {integrity: sha512-vvF2jn17E2wl/Sf6htC3EZ9kyW3xaX4APz2fgyvyi620CyhFVJotUFj7xGEk02MXr36u7ylK3PHkgpJxS5lsvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unplugin-attributify-to-class/-/unplugin-attributify-to-class-0.2.0.tgz} + name: unplugin-attributify-to-class + version: 0.2.0 + dependencies: + '@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils/5.0.2 + unplugin: registry.npmmirror.com/unplugin/0.10.2 + unplugin-transform-class: registry.npmmirror.com/unplugin-transform-class/0.2.0 + transitivePeerDependencies: + - rollup + dev: true + + registry.npmmirror.com/unplugin-transform-class/0.2.0: + resolution: {integrity: sha512-ReppJAAy4K9Iga66PGYci5S/Jodqm05WgiDoNpAfJn2bqE/X2mWwFIqNsHWWXsFGPDIzbaFHQvIGVIcHAixQrg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unplugin-transform-class/-/unplugin-transform-class-0.2.0.tgz} + name: unplugin-transform-class + version: 0.2.0 + dependencies: + '@meoc/utils': registry.npmmirror.com/@meoc/utils/0.1.9 + '@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils/5.0.2 + unplugin: registry.npmmirror.com/unplugin/0.10.2 + transitivePeerDependencies: + - rollup + dev: true + registry.npmmirror.com/unplugin-vue-components/0.22.9_vue@3.2.45: resolution: {integrity: sha512-qBvooq3EgpjtYicxeccRUGUBBQCCw9rJ0kHPZPOSJd8TBZViSv86vuKLTRDHPyjWtclwOIkVStZJfPdJFhYUMw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-0.22.9.tgz} id: registry.npmmirror.com/unplugin-vue-components/0.22.9 diff --git a/src/main.ts b/src/main.ts index f7b600e..57fcba0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import App from './App.vue'; import { setupStore } from '@/state'; import '@/assets/style/main.scss'; import '@/components/FontAwesomeIcon/index.scss'; +import 'uno.css'; export function createApp() { const app = createSSRApp(App); diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 674e02e..b3275b4 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -33,6 +33,7 @@ 当前平台: {{ platform }} Get Started → + 大丰收的 diff --git a/unocss.config.js b/unocss.config.js new file mode 100644 index 0000000..581ce63 --- /dev/null +++ b/unocss.config.js @@ -0,0 +1,51 @@ +import presetWeapp from 'unocss-preset-weapp'; +import { defineConfig } from 'unocss'; +import { + defaultAttributes, + defaultIgnoreNonValuedAttributes, + transformerAttributify, + transformerClass, +} from 'unocss-preset-weapp/transformer'; + +const transformRules = { + '.': '-d111-', + '/': '-s111-', + ':': '-c111-', + '%': '-p111-', + '!': '-e111-', + '#': '-w111-', + '(': '-b111l-', + ')': '-b111r-', + '[': '-f111l-', + ']': '-f111r-', + $: '-r111-', + ',': '-r222-', +}; + +export default defineConfig({ + presets: [ + // https://github.com/MellowCo/unocss-preset-weapp + presetWeapp({ + prefix: 'uno-', + }), + ], + shortcuts: [ + { + 'border-base': 'border border-gray-500_10', + center: 'flex justify-center items-center', + }, + ], + + // v0.1.14 unplugin-attributify-to-class 和 unplugin-transform-class 内置到 transformer 中 + transformers: [ + // options 见 https://github.com/MellowCo/unocss-preset-weapp/tree/main/src/transformer/transformerAttributify + transformerAttributify({ + transformRules, + }), + + // options 见 https://github.com/MellowCo/unocss-preset-weapp/tree/main/src/transformer/transformerClass + transformerClass({ + transformRules, + }), + ], +}); diff --git a/vite.config.ts b/vite.config.ts index a5bf481..967c3dc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,7 @@ import uni from '@dcloudio/vite-plugin-uni'; import eslintPlugin from 'vite-plugin-eslint'; import { resolve } from 'path'; import { loadEnv } from 'vite'; +import Unocss from 'unocss/vite'; // https://vitejs.cn/config/ export default ({ mode }: ConfigEnv): UserConfig => { @@ -37,6 +38,7 @@ export default ({ mode }: ConfigEnv): UserConfig => { }, plugins: [ uni(), + Unocss(), // eslintPlugin({ // include: ['src/**/*.js', 'src/**/*.vue', 'src/**/*.ts'], // exclude: ['./node_modules/**'],