diff --git a/package.json b/package.json index 7e14c65d..1bc8cadd 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,8 @@ }, "devDependencies": { "@types/lodash": "^4.14.191", + "prettier": "^2.8.7", + "prettier-plugin-astro": "^0.8.0", "rustywind": "^0.15.3" } } diff --git a/yarn.lock b/yarn.lock index 2ce7139c..3113a0bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20,7 +20,7 @@ resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-0.31.4.tgz#fa5aaeb3e6f3640f6f7625849b724a4d28d662e4" integrity sha512-6bBFeDTtPOn4jZaiD3p0f05MEGQL9pw2Zbfj546oFETNmjJFWO3nzHz6/m+P53calknCvyVzZ5YhoBLIvzn5iw== -"@astrojs/compiler@^1.3.1": +"@astrojs/compiler@^1.0.1", "@astrojs/compiler@^1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-1.3.1.tgz#76930733f6711af0242307da681ca9d278a33df7" integrity sha512-xV/3r+Hrfpr4ECfJjRjeaMkJvU73KiOADowHjhkqidfNPVAWPzbqw1KePXuMK1TjzMvoAVE7E163oqfH3lDwSw== @@ -3458,11 +3458,26 @@ prettier-plugin-astro@^0.7.0: sass-formatter "^0.7.5" synckit "^0.8.4" +prettier-plugin-astro@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/prettier-plugin-astro/-/prettier-plugin-astro-0.8.0.tgz#ae014f8263ca383ee853192cc40a516e914684a5" + integrity sha512-kt9wk33J7HvFGwFaHb8piwy4zbUmabC8Nu+qCw493jhe96YkpjscqGBPy4nJ9TPy9pd7+kEx1zM81rp+MIdrXg== + dependencies: + "@astrojs/compiler" "^1.0.1" + prettier "^2.8.3" + sass-formatter "^0.7.5" + synckit "^0.8.4" + prettier@^2.7.1: version "2.8.3" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632" integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== +prettier@^2.8.3, prettier@^2.8.7: + version "2.8.7" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450" + integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw== + prismjs@^1.28.0: version "1.29.0" resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12"