From 5b14c97d1cb2d10dac6b0e212ebdba762e5695c3 Mon Sep 17 00:00:00 2001 From: Chen Hui Jing <1461498+huijing@users.noreply.github.com> Date: Wed, 9 Apr 2025 12:43:55 +0800 Subject: [PATCH 1/2] chore: bump dependencies to latest versions --- astro.config.mjs | 30 ++++++++++++++---------------- package.json | 10 +++++----- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 54d72b5..b097c0e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,25 +10,25 @@ export default defineConfig({ title: "Payment Pointers", description: "Payment Pointers are a standardized identifier for payment accounts. In the same way that an email address provides an identifier for a mailbox in the email ecosystem a payment pointer is used by an account holder to share the details of their account with a counter-party.", - head: [ - { - tag: 'script', - attrs: { - defer: true, - 'data-website-id': 'cab4fd0a-e2db-4666-a974-5b199f0d6d43', - src: 'https://ilf-site-analytics.netlify.app/script.js', - 'data-domains': 'paymentpointers.org' - } - } - ], - customCss: [ + head: [ + { + tag: "script", + attrs: { + defer: true, + "data-website-id": "cab4fd0a-e2db-4666-a974-5b199f0d6d43", + src: "https://ilf-site-analytics.netlify.app/script.js", + "data-domains": "paymentpointers.org", + }, + }, + ], + customCss: [ "./node_modules/@interledger/docs-design-system/src/styles/teal-theme.css", "./node_modules/@interledger/docs-design-system/src/styles/ilf-docs.css", ], plugins: [starlightLinksValidator()], components: { Header: "./src/components/Header.astro", - PageSidebar: './src/components/PageSidebar.astro' + PageSidebar: "./src/components/PageSidebar.astro", }, expressiveCode: { styleOverrides: { @@ -36,9 +36,7 @@ export default defineConfig({ borderRadius: "var(--border-radius)", }, }, - social: { - github: "https://github.com/interledger/paymentpointers.org", - }, + social: [{ icon: "github", label: "GitHub", href: "https://github.com/interledger/paymentpointers.org" }], sidebar: [ { label: "Explainer", link: "/" }, { label: "Design Goals", link: "/goals" }, diff --git a/package.json b/package.json index 36476b4..b61ca7a 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.31.1", - "@interledger/docs-design-system": "^0.6.1", - "astro": "^5.1.7", - "sharp": "^0.33.5", - "starlight-links-validator": "^0.14.1" + "@astrojs/starlight": "^0.33.0", + "@interledger/docs-design-system": "^0.6.2", + "astro": "^5.6.1", + "sharp": "^0.34.1", + "starlight-links-validator": "^0.15.0" } } From 8a3c269635665b14e633b12d5163e6880f8234a0 Mon Sep 17 00:00:00 2001 From: Chen Hui Jing <1461498+huijing@users.noreply.github.com> Date: Wed, 9 Apr 2025 12:53:56 +0800 Subject: [PATCH 2/2] fix: upgrade github action for deployment --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 16b9a94..a05cc9e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: run: bun run build - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist @@ -44,4 +44,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4