From 8ad155194883636f32d5e9a2717a0b74ca614a65 Mon Sep 17 00:00:00 2001 From: Philippe Loctaux
Date: Fri, 19 May 2023 12:09:19 +0200 Subject: [PATCH] updated astro to v2.5, compress html by default --- astro.config.mjs | 3 +- package-lock.json | 72 +++++++++++++++++++++++++++++------------------ package.json | 4 +-- 3 files changed, 49 insertions(+), 30 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index d453c65..4e95b5a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,5 +4,6 @@ import compress from "astro-compress"; // https://astro.build/config export default defineConfig({ - integrations: [tailwind(), compress()] + integrations: [tailwind(), compress()], + compressHTML: true, }); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6e6fbc2..b1c3617 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "new-plcom", "version": "0.0.1", "dependencies": { - "@astrojs/tailwind": "^3.1.2", - "astro": "^2.4.3", + "@astrojs/tailwind": "^3.1.3", + "astro": "^2.5.0", "astro-compress": "^1.1.43", "tailwindcss": "^3.3.2" } @@ -66,11 +66,11 @@ } }, "node_modules/@astrojs/markdown-remark": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@astrojs/markdown-remark/-/markdown-remark-2.2.0.tgz", - "integrity": "sha512-4M1+GzQwDqF0KfX9Ahug43b0avorcK+iTapEaVuNnaCUVS6sZKRkztT3g6hmXiFmGHSL8qYaS9IVEmKtP6hYmw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@astrojs/markdown-remark/-/markdown-remark-2.2.1.tgz", + "integrity": "sha512-VF0HRv4GpC1XEMLnsKf6jth7JSmlt9qpqP0josQgA2eSpCIAC/Et+y94mgdBIZVBYH/yFnMoIxgKVe93xfO2GA==", "dependencies": { - "@astrojs/prism": "^2.1.0", + "@astrojs/prism": "^2.1.2", "github-slugger": "^1.4.0", "import-meta-resolve": "^2.1.0", "rehype-raw": "^6.1.1", @@ -85,7 +85,7 @@ "vfile": "^5.3.2" }, "peerDependencies": { - "astro": "^2.4.0" + "astro": "^2.5.0" } }, "node_modules/@astrojs/markdown-remark/node_modules/github-slugger": { @@ -94,9 +94,9 @@ "integrity": "sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw==" }, "node_modules/@astrojs/prism": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-2.1.1.tgz", - "integrity": "sha512-Gnwnlb1lGJzCQEg89r4/WqgfCGPNFC7Kuh2D/k289Cbdi/2PD7Lrdstz86y1itDvcb2ijiRqjqWnJ5rsfu/QOA==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-2.1.2.tgz", + "integrity": "sha512-3antim1gb34689GHRQFJ88JEo93HuZKQBnmxDT5W/nxiNz1p/iRxnCTEhIbJhqMOTRbbo5h2ldm5qSxx+TMFQA==", "dependencies": { "prismjs": "^1.28.0" }, @@ -105,9 +105,9 @@ } }, "node_modules/@astrojs/tailwind": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@astrojs/tailwind/-/tailwind-3.1.2.tgz", - "integrity": "sha512-KyZ84WExLRU/TRIQm09ce+ND/0UG9AK9+7k/gjCbxuKScc/RieZ73oh4MkoEFrN/9OToMklvt+wmkAt3+u/ubQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@astrojs/tailwind/-/tailwind-3.1.3.tgz", + "integrity": "sha512-10S1omrv5K5HRVAZ0fBgN5vQykn2HRL332LAVFyBASMn1Ff6gDfSK+CPUeUu94eZUOEaPnECLK8EHAqZ8iY9CA==", "dependencies": { "@proload/core": "^0.3.3", "autoprefixer": "^10.4.14", @@ -115,7 +115,7 @@ "postcss-load-config": "^4.0.1" }, "peerDependencies": { - "astro": "^2.3.3", + "astro": "^2.5.0", "tailwindcss": "^3.0.24" } }, @@ -1636,13 +1636,13 @@ } }, "node_modules/astro": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/astro/-/astro-2.4.3.tgz", - "integrity": "sha512-WU7sMkgFNQs4WZzEmpjOYZthcT8+LSmwIR0GvWzVYlb+dIMfFCQyg99LNHdhg/XZKi08ztaHmRf4ZBjJvZHsgA==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/astro/-/astro-2.5.0.tgz", + "integrity": "sha512-dZZuK2vEpfinbVALthUW31NOVUFPobgyi0+2PR3FH3diy6X9HBw1PLbS5wRsWOKaEXRbzxBkXc39Rbm0yRzKaA==", "dependencies": { "@astrojs/compiler": "^1.4.0", "@astrojs/language-server": "^1.0.0", - "@astrojs/markdown-remark": "^2.2.0", + "@astrojs/markdown-remark": "^2.2.1", "@astrojs/telemetry": "^2.1.1", "@astrojs/webapi": "^2.1.1", "@babel/core": "^7.18.2", @@ -1664,12 +1664,14 @@ "devalue": "^4.2.0", "diff": "^5.1.0", "es-module-lexer": "^1.1.0", + "esbuild": "^0.17.18", "estree-walker": "3.0.0", "execa": "^6.1.0", "fast-glob": "^3.2.11", "github-slugger": "^2.0.0", "gray-matter": "^4.0.3", "html-escaper": "^3.0.3", + "js-yaml": "^4.1.0", "kleur": "^4.1.4", "magic-string": "^0.27.0", "mime": "^3.0.0", @@ -1728,6 +1730,22 @@ "terser": "5.17.3" } }, + "node_modules/astro/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/astro/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/autoprefixer": { "version": "10.4.14", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", @@ -3940,9 +3958,9 @@ } }, "node_modules/micromark-extension-gfm": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-2.0.1.tgz", - "integrity": "sha512-p2sGjajLa0iYiGQdT0oelahRYtMWvLjy8J9LOCxzIQsllMCGLbsLW+Nc+N4vi02jcRJvedVJ68cjelKIO6bpDA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-2.0.3.tgz", + "integrity": "sha512-vb9OoHqrhCmbRidQv/2+Bc6pkP0FrtlhurxZofvOEy5o8RtuuvTq+RQ1Vw5ZDNrVraQZu3HixESqbG+0iKk/MQ==", "dependencies": { "micromark-extension-gfm-autolink-literal": "^1.0.0", "micromark-extension-gfm-footnote": "^1.0.0", @@ -4010,9 +4028,9 @@ } }, "node_modules/micromark-extension-gfm-table": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.5.tgz", - "integrity": "sha512-xAZ8J1X9W9K3JTJTUL7G6wSKhp2ZYHrFk5qJgY/4B33scJzE2kpfRL6oiw/veJTbt7jiM/1rngLlOKPWr1G+vg==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.6.tgz", + "integrity": "sha512-92pq7Q+T+4kXH4M6kL+pc8WU23Z9iuhcqmtYFWdFWjm73ZscFpH2xE28+XFpGWlvgq3LUwcN0XC0PGCicYFpgA==", "dependencies": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", @@ -5295,9 +5313,9 @@ } }, "node_modules/remark-parse": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-10.0.1.tgz", - "integrity": "sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-10.0.2.tgz", + "integrity": "sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-from-markdown": "^1.0.0", diff --git a/package.json b/package.json index b981581..69bcf18 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "wallpapers": "deno run --allow-read --allow-net --allow-write utils/wallpapers.ts" }, "dependencies": { - "@astrojs/tailwind": "^3.1.2", - "astro": "^2.4.3", + "@astrojs/tailwind": "^3.1.3", + "astro": "^2.5.0", "astro-compress": "^1.1.43", "tailwindcss": "^3.3.2" }