Personal Site

Add prettier to format documents propperly

vielle.dev c2bbe920 753ce24d

verified
+60
+13
.prettierrc
··· 1 + { 2 + "plugins": [ 3 + "prettier-plugin-astro" 4 + ], 5 + "overrides": [ 6 + { 7 + "files": "*.astro", 8 + "options": { 9 + "parser": "astro" 10 + } 11 + } 12 + ] 13 + }
+4
package.json
··· 11 11 "dependencies": { 12 12 "@astrojs/node": "^9.3.0", 13 13 "astro": "^5.12.1" 14 + }, 15 + "devDependencies": { 16 + "prettier": "3.6.2", 17 + "prettier-plugin-astro": "0.14.1" 14 18 } 15 19 }
+43
pnpm-lock.yaml
··· 14 14 astro: 15 15 specifier: ^5.12.1 16 16 version: 5.12.1(@types/node@24.0.15)(rollup@4.45.1)(typescript@5.8.3) 17 + devDependencies: 18 + prettier: 19 + specifier: 3.6.2 20 + version: 3.6.2 21 + prettier-plugin-astro: 22 + specifier: 0.14.1 23 + version: 0.14.1 17 24 18 25 packages: 19 26 ··· 1109 1116 resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} 1110 1117 engines: {node: ^10 || ^12 || >=14} 1111 1118 1119 + prettier-plugin-astro@0.14.1: 1120 + resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==} 1121 + engines: {node: ^14.15.0 || >=16.0.0} 1122 + 1123 + prettier@3.6.2: 1124 + resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} 1125 + engines: {node: '>=14'} 1126 + hasBin: true 1127 + 1112 1128 prismjs@1.30.0: 1113 1129 resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==} 1114 1130 engines: {node: '>=6'} ··· 1191 1207 engines: {node: '>=18.0.0', npm: '>=8.0.0'} 1192 1208 hasBin: true 1193 1209 1210 + s.color@0.0.15: 1211 + resolution: {integrity: sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==} 1212 + 1213 + sass-formatter@0.7.9: 1214 + resolution: {integrity: sha512-CWZ8XiSim+fJVG0cFLStwDvft1VI7uvXdCNJYXhDvowiv+DsbD1nXLiQ4zrE5UBvj5DWZJ93cwN0NX5PMsr1Pw==} 1215 + 1194 1216 semver@7.7.2: 1195 1217 resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==} 1196 1218 engines: {node: '>=10'} ··· 1256 1278 strip-ansi@7.1.0: 1257 1279 resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} 1258 1280 engines: {node: '>=12'} 1281 + 1282 + suf-log@2.5.3: 1283 + resolution: {integrity: sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==} 1259 1284 1260 1285 tiny-inflate@1.0.3: 1261 1286 resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==} ··· 2810 2835 picocolors: 1.1.1 2811 2836 source-map-js: 1.2.1 2812 2837 2838 + prettier-plugin-astro@0.14.1: 2839 + dependencies: 2840 + '@astrojs/compiler': 2.12.2 2841 + prettier: 3.6.2 2842 + sass-formatter: 0.7.9 2843 + 2844 + prettier@3.6.2: {} 2845 + 2813 2846 prismjs@1.30.0: {} 2814 2847 2815 2848 prompts@2.4.2: ··· 2956 2989 '@rollup/rollup-win32-x64-msvc': 4.45.1 2957 2990 fsevents: 2.3.3 2958 2991 2992 + s.color@0.0.15: {} 2993 + 2994 + sass-formatter@0.7.9: 2995 + dependencies: 2996 + suf-log: 2.5.3 2997 + 2959 2998 semver@7.7.2: {} 2960 2999 2961 3000 send@1.2.0: ··· 3057 3096 strip-ansi@7.1.0: 3058 3097 dependencies: 3059 3098 ansi-regex: 6.1.0 3099 + 3100 + suf-log@2.5.3: 3101 + dependencies: 3102 + s.color: 0.0.15 3060 3103 3061 3104 tiny-inflate@1.0.3: {} 3062 3105