diff --git a/astro.config.mjs b/astro.config.mjs index b980218..7ff547f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -12,8 +12,11 @@ import image from "@astrojs/image"; // https://astro.build/config import mdx from "@astrojs/mdx"; +// https://astro.build/config +import sitemap from "@astrojs/sitemap"; + // https://astro.build/config export default defineConfig({ site: "https://astroship.web3templates.com", - integrations: [tailwind(), alpinejs(), image(), mdx()], -}); + integrations: [tailwind(), alpinejs(), image(), mdx(), sitemap()] +}); \ No newline at end of file diff --git a/package.json b/package.json index 4b24c18..29a8e63 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@astrojs/alpinejs": "^0.1.2", "@astrojs/image": "^0.11.0", "@astrojs/mdx": "^0.11.5", + "@astrojs/sitemap": "^1.0.0", "@astrojs/tailwind": "^2.1.1", "@fontsource/inter": "^4.5.14", "@types/alpinejs": "^3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a6638b..f83cc5e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,7 @@ specifiers: '@astrojs/alpinejs': ^0.1.2 '@astrojs/image': ^0.11.0 '@astrojs/mdx': ^0.11.5 + '@astrojs/sitemap': ^1.0.0 '@astrojs/tailwind': ^2.1.1 '@fontsource/inter': ^4.5.14 '@tailwindcss/typography': ^0.5.7 @@ -19,6 +20,7 @@ dependencies: '@astrojs/alpinejs': 0.1.2_epas4sveda2fzipjieohqzpxgq '@astrojs/image': 0.11.0 '@astrojs/mdx': 0.11.5 + '@astrojs/sitemap': 1.0.0 '@astrojs/tailwind': 2.1.1_tailwindcss@3.2.1 '@fontsource/inter': 4.5.14 '@types/alpinejs': 3.7.1 @@ -176,6 +178,13 @@ packages: prismjs: 1.29.0 dev: false + /@astrojs/sitemap/1.0.0: + resolution: {integrity: sha512-42GxuF5FP7RaKXZrwGLBLOX3hPv+Wl7ExJC43O0J5e34ojJkLeKf7QfwN1UwrJlqH0Ywi0Fm4/xGe482G09+wg==} + dependencies: + sitemap: 7.1.1 + zod: 3.19.1 + dev: false + /@astrojs/tailwind/2.1.1_tailwindcss@3.2.1: resolution: {integrity: sha512-Il6FODtu4AlwadleJS3VWmAOOmeCDKvAo3iof46p4iHtdeWLClyuH9kJXWrlzCS+QOfBSIfXxvwPJ3cbK5COlA==} peerDependencies: @@ -737,6 +746,10 @@ packages: '@types/unist': 2.0.6 dev: false + /@types/node/17.0.45: + resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} + dev: false + /@types/parse5/6.0.3: resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} dev: false @@ -745,6 +758,12 @@ packages: resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} dev: false + /@types/sax/1.2.4: + resolution: {integrity: sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==} + dependencies: + '@types/node': 17.0.45 + dev: false + /@types/unist/2.0.6: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: false @@ -3663,6 +3682,10 @@ packages: suf-log: 2.5.3 dev: false + /sax/1.2.4: + resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} + dev: false + /section-matter/1.0.0: resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} engines: {node: '>=4'} @@ -3732,6 +3755,17 @@ packages: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} dev: false + /sitemap/7.1.1: + resolution: {integrity: sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==} + engines: {node: '>=12.0.0', npm: '>=5.6.0'} + hasBin: true + dependencies: + '@types/node': 17.0.45 + '@types/sax': 1.2.4 + arg: 5.0.2 + sax: 1.2.4 + dev: false + /slash/4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'}