From 39d7224a38c7a574674f1df07a9a2ced105a7370 Mon Sep 17 00:00:00 2001 From: Andrew Powell Date: Mon, 25 Nov 2024 10:36:59 -0500 Subject: [PATCH] fix(jsx-email): update unocss/tailwind support (#250) --- packages/jsx-email/package.json | 14 ++-- pnpm-lock.yaml | 142 ++++++++++++++++---------------- 2 files changed, 78 insertions(+), 78 deletions(-) diff --git a/packages/jsx-email/package.json b/packages/jsx-email/package.json index b1bb7789..986cde40 100644 --- a/packages/jsx-email/package.json +++ b/packages/jsx-email/package.json @@ -74,13 +74,13 @@ "@jsx-email/doiuse-email": "^1.0.1", "@parcel/watcher": "^2.4.1", "@radix-ui/react-slot": "1.1.0", - "@unocss/core": "^0.63.6", - "@unocss/preset-rem-to-px": "^0.63.6", - "@unocss/preset-typography": "^0.63.6", - "@unocss/preset-uno": "^0.63.6", - "@unocss/preset-wind": "^0.63.6", - "@unocss/transformer-compile-class": "^0.63.6", - "@unocss/transformer-variant-group": "^0.63.6", + "@unocss/core": "^0.64.1", + "@unocss/preset-rem-to-px": "^0.64.1", + "@unocss/preset-typography": "^0.64.1", + "@unocss/preset-uno": "^0.64.1", + "@unocss/preset-wind": "^0.64.1", + "@unocss/transformer-compile-class": "^0.64.1", + "@unocss/transformer-variant-group": "^0.64.1", "@vitejs/plugin-react": "^4.3.0", "autoprefixer": "^10.4.16", "chalk": "4.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 248ece43..ae3cceb1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -132,7 +132,7 @@ importers: version: 1.18.0 tailwindcss: specifier: 3.4.0 - version: 3.4.0(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.2.2)) + version: 3.4.0(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.4.5)) titleize: specifier: ^4.0.0 version: 4.0.0 @@ -226,26 +226,26 @@ importers: specifier: 1.1.0 version: 1.1.0(@types/react@18.2.22)(react@18.2.0) '@unocss/core': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@unocss/preset-rem-to-px': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@unocss/preset-typography': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@unocss/preset-uno': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@unocss/preset-wind': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@unocss/transformer-compile-class': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@unocss/transformer-variant-group': - specifier: ^0.63.6 - version: 0.63.6 + specifier: ^0.64.1 + version: 0.64.1 '@vitejs/plugin-react': specifier: ^4.3.0 version: 4.3.0(vite@5.2.12(@types/node@20.10.5)) @@ -2503,14 +2503,14 @@ packages: '@unocss/core@0.58.5': resolution: {integrity: sha512-qbPqL+46hf1/UelQOwUwpAuvm6buoss43DPYHOPdfNJ+NTWkSpATQMF0JKT04QE0QRQbHNSHdMe9ariG+IIlCw==} - '@unocss/core@0.63.6': - resolution: {integrity: sha512-Q4QPgJ271Up89+vIqqOKgtdCKkFpHqvHN8W1LUlKPqtYnOvVYaOIVNAZowaIdEhPuc83yLc6Tg2+7riK18QKEw==} + '@unocss/core@0.64.1': + resolution: {integrity: sha512-D1ULd70a24/k6kGyHCIijbrrIn9UjFUEBg2R4xKX2/ViQb1k2MIgOs4VS20MkJX6kbZXqqm/zAFHzDhsQGIhBA==} '@unocss/extractor-arbitrary-variants@0.58.5': resolution: {integrity: sha512-KJQX0OJKzy4YjJo09h2la2Q+cn5IJ1JdyPVJJkzovHnv7jSBWzsfct+bj/6a+SJ4p4JBIqEJz3M/qxHv4EPJyA==} - '@unocss/extractor-arbitrary-variants@0.63.6': - resolution: {integrity: sha512-HJX0oAa9uzwKYoU8CoJdP1gxjuqFmOLxyZmITjStAmZNZpIxlz2wz4VrHmqml2dkvx/mifGGGc/GxZpQ36D12Q==} + '@unocss/extractor-arbitrary-variants@0.64.1': + resolution: {integrity: sha512-tKtaeZYzSCaH1ASE7Uj45rPX4ApQHYE8eZFfaL3N4ZY0LYrTJPBnaLSRfLRwGD6KLHjoL3+sorywJiS/VVBcFQ==} '@unocss/inspector@0.58.5': resolution: {integrity: sha512-cbJlIHEZ14puTtttf7sl+VZFDscV1DJiSseh9sSe0xJ/1NVBT9Bvkm09/1tnpLYAgF5gfa1CaCcjKmURgYzKrA==} @@ -2530,11 +2530,11 @@ packages: '@unocss/preset-mini@0.58.5': resolution: {integrity: sha512-WqD31fKUAN28OCUOyi1uremmLk0eTMqtCizjbbXsY/DP6RKYUT7trFAtppTcHWFhSQcknb4FURfAZppACsTVQQ==} - '@unocss/preset-mini@0.63.6': - resolution: {integrity: sha512-pZDZbSuxabHSwPIy3zCgQ4MNdVCSHvOvZecreH+v96R1oOhquiwU8WiSbkxvZiKiLQJd7JUVW87E1pAzr5ZGGQ==} + '@unocss/preset-mini@0.64.1': + resolution: {integrity: sha512-tl+ciN0elB9eETEVZQrNaMy4NpbLdWDVW7KlmpRZi4Eomf/Ntz+Wctp5V0aBvszo8arEaDiOwsgMxITvx9Ll6Q==} - '@unocss/preset-rem-to-px@0.63.6': - resolution: {integrity: sha512-iiCM5upG6kBVJKZmIveSdwxZjsanYkM7SMywb0MIhVtJR6qVLe0XhKjY5Cu95DxlL6vHJLUUozAbcNIctk+cCA==} + '@unocss/preset-rem-to-px@0.64.1': + resolution: {integrity: sha512-21mg6mjLUN4iMACxMAzTV+c2HTOPyLXjTZB9/DcWYspwIECLbKL7Ly2pSqjeebUi2zvsp345cEwiEgRLp8gyRw==} '@unocss/preset-tagify@0.58.5': resolution: {integrity: sha512-UB9IXi8vA/SzmmRLMWR7bzeBpxpiRo7y9xk3ruvDddYlsyiwIeDIMwG23YtcA6q41FDQvkrmvTxUEH9LFlv6aA==} @@ -2542,14 +2542,14 @@ packages: '@unocss/preset-typography@0.58.5': resolution: {integrity: sha512-rFny4a9yxgY34XOom5euCqQaOLV8PpbTg0Pn+5FelUMG4OfMevTwBCe9JttFJcUc3cNTL2enkzIdMa3l66114g==} - '@unocss/preset-typography@0.63.6': - resolution: {integrity: sha512-AXmBVnbV54gUIv5kbywjZek9ZlKRwJfBDVMtWOcLOjN3AHirGx1W2oq2UzNkfYZ2leof/Y2BocxeTwGCCRhqDQ==} + '@unocss/preset-typography@0.64.1': + resolution: {integrity: sha512-5L/m0YrtF5P6W4U1DhMfqdKVFbso09TplVHK9udJMvYMaj4HzNNIo6GtpbSm2eCXBzxIYuzAjQ9kLldOXjZS1w==} '@unocss/preset-uno@0.58.5': resolution: {integrity: sha512-vgq/R4f7RDmdROy+pX+PeE38I3SgYKd4LL7Wb1HJUaVwz7PkF0XHCynOTbwrPXnK1kp1cnZYYEww7/RiYp+IQQ==} - '@unocss/preset-uno@0.63.6': - resolution: {integrity: sha512-67PbHyVgAe9Rz0Rhyl3zBibFuGmqQMRPMkRjNYrwmmtNydpQYsXbfnDs0p8mZFp6uO2o3Jkh7urqEtixHHvq0Q==} + '@unocss/preset-uno@0.64.1': + resolution: {integrity: sha512-9427KmOHsck9mNfOXiCBy43Q9aAI1w15tCBJf2bDMHioJltc6JjW+Mg5DDZWnYelhzpXCYK7zTZtMJ40KxDx+g==} '@unocss/preset-web-fonts@0.58.5': resolution: {integrity: sha512-WKZ5raSClFXhqzfAhApef3+fuMq6cjKBxvhJ1FBIxFKcSOvN8e2czty2iGQVl02yMsxBWMv0Bpfm7np+cCoI1w==} @@ -2557,8 +2557,8 @@ packages: '@unocss/preset-wind@0.58.5': resolution: {integrity: sha512-54RkjLmlqMUlC8o8nDCVzB25D1zzK4eth+/3uQzt739qU0U92NxuZKY21ADj9Rp/mVhKBV5FKuXPjmYc6yTQRQ==} - '@unocss/preset-wind@0.63.6': - resolution: {integrity: sha512-W3oZ2TXSqStNE+X++kcspRTF2Szu2ej6NW5Kiyy6WQn/+ZD77AF4VtvzHtzFVZ2QKpEIovGBpU5tywooHbB7hw==} + '@unocss/preset-wind@0.64.1': + resolution: {integrity: sha512-IpAfsi2tI4elb2uZzc3BSZgbi0axgwgJLPFW0BtZQe4u1J+zrUIOvjCu/2jmiB7LR05IShCyMKIz9Vi4EJm+gQ==} '@unocss/reset@0.58.5': resolution: {integrity: sha512-2wMrkCj3SSb5hrx9TKs5jZa34QIRkHv9FotbJutAPo7o8hx+XXn56ogzdoUrcFPJZJUx2R2nyOVbSlGMIjtFtw==} @@ -2567,8 +2567,8 @@ packages: resolution: {integrity: sha512-w0sGJoeUGwMWLVFLEE9PDiv/fQcQqZnTIIQLYNCjTdqXDRlwTp9ACW0h47x/hAAIXdOtEOOBuTfjGD79GznUmA==} engines: {node: '>=14'} - '@unocss/rule-utils@0.63.6': - resolution: {integrity: sha512-moeDEq5d9mB8gSYeoqHMkXWWekaFFdhg7QCuwwCbxCc+NPMOgGkmfAoafz+y2tdvK7pEuT191RWOiHQ0MkA5oQ==} + '@unocss/rule-utils@0.64.1': + resolution: {integrity: sha512-h+Du0lezKHmdsEsGQGAtGrwrTrU+Av4eij46UzpzuNWFq0mAouBu8m/lgBI1AcY9B0Jg3EJalkOgA06tAKS8jg==} engines: {node: '>=14'} '@unocss/scope@0.58.5': @@ -2583,8 +2583,8 @@ packages: '@unocss/transformer-compile-class@0.58.5': resolution: {integrity: sha512-4MaxjaZo1rf5uHvDGa2mbnXxAYVYoj1+oRNpL4fE3FoExS1Ka2CiNGQn/S4bHMF51vmXMSWtOzurJpPD4BaJUQ==} - '@unocss/transformer-compile-class@0.63.6': - resolution: {integrity: sha512-zzAqs8adnTUOLA88RgcToadcrz9gjxrZk6IrcmMqMmWqk0MOWNQHIN0RzKa/yaw4QhO2xuGyIz4/WHyXuCXMQg==} + '@unocss/transformer-compile-class@0.64.1': + resolution: {integrity: sha512-oASb3lJq++Ll6LD3frT0WiEZUJupjrLF+rtkgz3lKPgD8bRpbh+m5FykGAIHj5VcIcYOACD4GkTrSFrQbL0GEw==} '@unocss/transformer-directives@0.58.5': resolution: {integrity: sha512-allspF5TlT1B2bJSZ1houHScXOTaTPlatLiEmgQKzr/m93rCvktokaO5J6qeN2VXQdpTIsxdA5B8//7UkfTuIA==} @@ -2592,8 +2592,8 @@ packages: '@unocss/transformer-variant-group@0.58.5': resolution: {integrity: sha512-SjUwGzKK5CVqn7Gg+3v3hV47ZUll7GcGu0vR3RCLO4gqEfFlZWMTHml1Sl2sY1WAca2iVcDRu+dp0RLxRG/dUA==} - '@unocss/transformer-variant-group@0.63.6': - resolution: {integrity: sha512-ebYSjZnZrtcJYjmAEDwGVwPuaQ9EVWKNDDJFFSusP8k/6PjJoHDh0qkj+hdPPDhYn81yzJQalU1eSUSlfC30VA==} + '@unocss/transformer-variant-group@0.64.1': + resolution: {integrity: sha512-wQkD1x69YSiIXvSvNNTN6hTZXHVzbVY+xmfoXL3bi/1cDMzRmE9C2Gk/Rzm/BSQxsLusLfDDL0NuhxWoFmvWPA==} '@unocss/vite@0.58.5': resolution: {integrity: sha512-p4o1XNX1rvjmoUqSSdua8XyWNg/d+YUChDd2L/xEty+6j2qv0wUaohs3UQ87vWlv632/UmgdX+2MbrgtqthCtw==} @@ -7504,15 +7504,15 @@ snapshots: '@unocss/core@0.58.5': {} - '@unocss/core@0.63.6': {} + '@unocss/core@0.64.1': {} '@unocss/extractor-arbitrary-variants@0.58.5': dependencies: '@unocss/core': 0.58.5 - '@unocss/extractor-arbitrary-variants@0.63.6': + '@unocss/extractor-arbitrary-variants@0.64.1': dependencies: - '@unocss/core': 0.63.6 + '@unocss/core': 0.64.1 '@unocss/inspector@0.58.5': dependencies: @@ -7549,15 +7549,15 @@ snapshots: '@unocss/extractor-arbitrary-variants': 0.58.5 '@unocss/rule-utils': 0.58.5 - '@unocss/preset-mini@0.63.6': + '@unocss/preset-mini@0.64.1': dependencies: - '@unocss/core': 0.63.6 - '@unocss/extractor-arbitrary-variants': 0.63.6 - '@unocss/rule-utils': 0.63.6 + '@unocss/core': 0.64.1 + '@unocss/extractor-arbitrary-variants': 0.64.1 + '@unocss/rule-utils': 0.64.1 - '@unocss/preset-rem-to-px@0.63.6': + '@unocss/preset-rem-to-px@0.64.1': dependencies: - '@unocss/core': 0.63.6 + '@unocss/core': 0.64.1 '@unocss/preset-tagify@0.58.5': dependencies: @@ -7568,10 +7568,10 @@ snapshots: '@unocss/core': 0.58.5 '@unocss/preset-mini': 0.58.5 - '@unocss/preset-typography@0.63.6': + '@unocss/preset-typography@0.64.1': dependencies: - '@unocss/core': 0.63.6 - '@unocss/preset-mini': 0.63.6 + '@unocss/core': 0.64.1 + '@unocss/preset-mini': 0.64.1 '@unocss/preset-uno@0.58.5': dependencies: @@ -7580,12 +7580,12 @@ snapshots: '@unocss/preset-wind': 0.58.5 '@unocss/rule-utils': 0.58.5 - '@unocss/preset-uno@0.63.6': + '@unocss/preset-uno@0.64.1': dependencies: - '@unocss/core': 0.63.6 - '@unocss/preset-mini': 0.63.6 - '@unocss/preset-wind': 0.63.6 - '@unocss/rule-utils': 0.63.6 + '@unocss/core': 0.64.1 + '@unocss/preset-mini': 0.64.1 + '@unocss/preset-wind': 0.64.1 + '@unocss/rule-utils': 0.64.1 '@unocss/preset-web-fonts@0.58.5': dependencies: @@ -7598,11 +7598,11 @@ snapshots: '@unocss/preset-mini': 0.58.5 '@unocss/rule-utils': 0.58.5 - '@unocss/preset-wind@0.63.6': + '@unocss/preset-wind@0.64.1': dependencies: - '@unocss/core': 0.63.6 - '@unocss/preset-mini': 0.63.6 - '@unocss/rule-utils': 0.63.6 + '@unocss/core': 0.64.1 + '@unocss/preset-mini': 0.64.1 + '@unocss/rule-utils': 0.64.1 '@unocss/reset@0.58.5': {} @@ -7611,9 +7611,9 @@ snapshots: '@unocss/core': 0.58.5 magic-string: 0.30.10 - '@unocss/rule-utils@0.63.6': + '@unocss/rule-utils@0.64.1': dependencies: - '@unocss/core': 0.63.6 + '@unocss/core': 0.64.1 magic-string: 0.30.12 '@unocss/scope@0.58.5': {} @@ -7635,9 +7635,9 @@ snapshots: dependencies: '@unocss/core': 0.58.5 - '@unocss/transformer-compile-class@0.63.6': + '@unocss/transformer-compile-class@0.64.1': dependencies: - '@unocss/core': 0.63.6 + '@unocss/core': 0.64.1 '@unocss/transformer-directives@0.58.5': dependencies: @@ -7649,9 +7649,9 @@ snapshots: dependencies: '@unocss/core': 0.58.5 - '@unocss/transformer-variant-group@0.63.6': + '@unocss/transformer-variant-group@0.64.1': dependencies: - '@unocss/core': 0.63.6 + '@unocss/core': 0.64.1 '@unocss/vite@0.58.5(rollup@4.18.0)(vite@5.2.12(@types/node@20.10.5))': dependencies: @@ -8519,7 +8519,7 @@ snapshots: '@typescript-eslint/eslint-plugin': 7.12.0(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0)(typescript@5.2.2) '@typescript-eslint/parser': 7.12.0(eslint@8.57.0)(typescript@5.2.2) eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-prettier: 4.2.1(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-typescript-sort-keys: 3.2.0(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0)(typescript@5.2.2) prettier: 2.8.8 @@ -8545,7 +8545,7 @@ snapshots: enhanced-resolve: 5.17.0 eslint: 8.57.0 eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.5 is-core-module: 2.13.1 @@ -8567,7 +8567,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -9911,13 +9911,13 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.38 - postcss-load-config@4.0.2(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.2.2)): + postcss-load-config@4.0.2(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.4.5)): dependencies: lilconfig: 3.1.1 yaml: 2.4.3 optionalDependencies: postcss: 8.4.38 - ts-node: 10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.2.2) + ts-node: 10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.4.5) postcss-nested@6.0.1(postcss@8.4.38): dependencies: @@ -10552,7 +10552,7 @@ snapshots: tabbable@6.2.0: {} - tailwindcss@3.4.0(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.2.2)): + tailwindcss@3.4.0(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.4.5)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -10571,7 +10571,7 @@ snapshots: postcss: 8.4.38 postcss-import: 15.1.0(postcss@8.4.38) postcss-js: 4.0.1(postcss@8.4.38) - postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.2.2)) + postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.4.5)) postcss-nested: 6.0.1(postcss@8.4.38) postcss-selector-parser: 6.1.0 resolve: 1.22.8 @@ -10631,7 +10631,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.2.2): + ts-node@10.9.1(@swc/core@1.3.91(@swc/helpers@0.5.2))(@types/node@20.10.5)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -10645,7 +10645,7 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.2.2 + typescript: 5.4.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: