Skip to content

Commit

Permalink
Merge pull request #21 from nblackburn/feature/sitemap
Browse files Browse the repository at this point in the history
Sitemap support
  • Loading branch information
nblackburn authored Oct 28, 2022
2 parents affddb3 + 154a5d2 commit 2f9d90c
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
4 changes: 3 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import vue from '@astrojs/vue';
import image from '@astrojs/image';
import sitemap from '@astrojs/sitemap';
import { defineConfig } from 'astro/config';
import vanillaExtract from 'astro-vanilla-extract';

Expand All @@ -8,5 +9,6 @@ const imageConfig = {
};

export default defineConfig({
integrations: [vue(), vanillaExtract(), image(imageConfig)]
site: 'https://nblackburn.uk',
integrations: [vue(), vanillaExtract(), image(imageConfig), sitemap()]
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nblackburn/website",
"private": true,
"version": "1.5.3",
"version": "1.6.0",
"scripts": {
"start": "astro dev",
"build": "astro build",
Expand All @@ -19,6 +19,7 @@
},
"dependencies": {
"@astrojs/image": "^0.11.0",
"@astrojs/sitemap": "^1.0.0",
"@astrojs/vue": "^1.2.1",
"@fontsource/nunito-sans": "^4.5.10",
"astro": "^1.6.0",
Expand Down
62 changes: 62 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@ __metadata:
languageName: node
linkType: hard

"@astrojs/sitemap@npm:^1.0.0":
version: 1.0.0
resolution: "@astrojs/sitemap@npm:1.0.0"
dependencies:
sitemap: ^7.1.1
zod: ^3.17.3
checksum: b278d2b1902041aa059ffc2381468df539d8ad5eb940bf1d5d1c5302aa76f14a1d23e4e512c83ed5101cbef5258a1c39265cd696721d6ee3f4e3a1a6365011d6
languageName: node
linkType: hard

"@astrojs/telemetry@npm:^1.0.1":
version: 1.0.1
resolution: "@astrojs/telemetry@npm:1.0.1"
Expand Down Expand Up @@ -876,6 +886,7 @@ __metadata:
resolution: "@nblackburn/website@workspace:."
dependencies:
"@astrojs/image": ^0.11.0
"@astrojs/sitemap": ^1.0.0
"@astrojs/vue": ^1.2.1
"@commitlint/cli": ^17.1.2
"@commitlint/config-conventional": ^17.1.0
Expand Down Expand Up @@ -1154,13 +1165,27 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*":
version: 18.11.7
resolution: "@types/node@npm:18.11.7"
checksum: 69d630825cf6fbf580d08d76a4d4836ef8c34ed4fe0842221ade87d275f517099cbfabe8e22397208e564bd24926db97699ab9db5c091383269a432b336665e2
languageName: node
linkType: hard

"@types/node@npm:^14.0.0":
version: 14.18.32
resolution: "@types/node@npm:14.18.32"
checksum: 45463114bf85d06dc12925d876dd90b7fff43d9ee10a40e48fd16aece3d0201c76426c128e41230b2818d386422be06c5be33b3d94d90ee924b6fa4d54574035
languageName: node
linkType: hard

"@types/node@npm:^17.0.5":
version: 17.0.45
resolution: "@types/node@npm:17.0.45"
checksum: aa04366b9103b7d6cfd6b2ef64182e0eaa7d4462c3f817618486ea0422984c51fc69fd0d436eae6c9e696ddfdbec9ccaa27a917f7c2e8c75c5d57827fe3d95e8
languageName: node
linkType: hard

"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"
Expand Down Expand Up @@ -1189,6 +1214,15 @@ __metadata:
languageName: node
linkType: hard

"@types/sax@npm:^1.2.1":
version: 1.2.4
resolution: "@types/sax@npm:1.2.4"
dependencies:
"@types/node": "*"
checksum: 2aa50cbf1d1f0cf8541ef1787f94c7442e58e63900afd3b45c354e4140ed5efc5cf26fca8eb9df9970a74c7ea582293ae2083271bd046dedf4c3cc2689a40892
languageName: node
linkType: hard

"@types/unist@npm:*, @types/unist@npm:^2.0.0":
version: 2.0.6
resolution: "@types/unist@npm:2.0.6"
Expand Down Expand Up @@ -1619,6 +1653,13 @@ __metadata:
languageName: node
linkType: hard

"arg@npm:^5.0.0":
version: 5.0.2
resolution: "arg@npm:5.0.2"
checksum: 6c69ada1a9943d332d9e5382393e897c500908d91d5cb735a01120d5f71daf1b339b7b8980cbeaba8fd1afc68e658a739746179e4315a26e8a28951ff9930078
languageName: node
linkType: hard

"argparse@npm:^1.0.7":
version: 1.0.10
resolution: "argparse@npm:1.0.10"
Expand Down Expand Up @@ -6323,6 +6364,13 @@ __metadata:
languageName: node
linkType: hard

"sax@npm:^1.2.4":
version: 1.2.4
resolution: "sax@npm:1.2.4"
checksum: d3df7d32b897a2c2f28e941f732c71ba90e27c24f62ee918bd4d9a8cfb3553f2f81e5493c7f0be94a11c1911b643a9108f231dd6f60df3fa9586b5d2e3e9e1fe
languageName: node
linkType: hard

"section-matter@npm:^1.0.0":
version: 1.0.0
resolution: "section-matter@npm:1.0.0"
Expand Down Expand Up @@ -6492,6 +6540,20 @@ __metadata:
languageName: node
linkType: hard

"sitemap@npm:^7.1.1":
version: 7.1.1
resolution: "sitemap@npm:7.1.1"
dependencies:
"@types/node": ^17.0.5
"@types/sax": ^1.2.1
arg: ^5.0.0
sax: ^1.2.4
bin:
sitemap: dist/cli.js
checksum: 87a6d21b0d4a33b8c611d3bb8543d02b813c0ebfce014213ef31849b5c1439005644f19ad1593ec89815f6101355f468c9a02c251d09aa03f6fddd17e23c4be4
languageName: node
linkType: hard

"slash@npm:^4.0.0":
version: 4.0.0
resolution: "slash@npm:4.0.0"
Expand Down

0 comments on commit 2f9d90c

Please sign in to comment.