Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/update-astro.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/workflows/update-astro.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
working-directory: ./docs
run: |
ncu_output="$(mktemp)"
npx --yes npm-check-updates --jsonUpgraded >"$ncu_output" 2>/dev/null || true
npx --yes npm-check-updates --jsonUpgraded --cooldown 3 >"$ncu_output" 2>/dev/null || true

if [ -s "$ncu_output" ] && [ "$(tr -d '[:space:]' <"$ncu_output")" != "{}" ]; then
echo "has_updates=true" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -114,10 +114,10 @@ You are an automated dependency updater for the `docs/` Astro site. Your job is

### 1. Update Dependencies

Navigate to the docs folder and run npm-check-updates to update all packages to their latest versions:
Navigate to the docs folder and run npm-check-updates to update all packages to the latest versions that have been published for at least three days. Apply the cooldown to every dependency update so recently published versions are skipped:

```bash
cd docs && npx --yes npm-check-updates --upgrade
cd docs && npx --yes npm-check-updates --upgrade --cooldown 3
```

This updates `package.json` with the latest versions. Then install the updated dependencies:
Expand Down
102 changes: 45 additions & 57 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"test:debug": "playwright test --debug"
},
"dependencies": {
"@astrojs/markdown-remark": "7.3.4",
"@astrojs/markdown-remark": "7.3.5",
"@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.4",
"@astrojs/starlight": "0.42.7",
"@astrojs/starlight": "0.42.8",
"@primer/octicons": "^19.42.0",
"astro": "7.4.2",
"astro": "7.4.5",
"astro-mermaid": "2.2.0",
"mermaid": "12.2.0",
"mermaid": "12.3.0",
"sharp": "^0.35.5",
"starlight-blog": "^0.30.2",
"starlight-changelogs": "^0.7.1",
Expand All @@ -41,12 +41,12 @@
"@playwright/test": "^1.64.1",
"@types/primer__octicons": "^19.21.0",
"http-server": "^14.1.1",
"postcss": "8.5.31",
"postcss": "8.5.32",
"satori": "^0.63.2",
"starlight-github-alerts": "^0.5.0"
},
"overrides": {
"@astrojs/markdown-remark": "7.3.4",
"@astrojs/markdown-remark": "7.3.5",
"p-queue": "9.3.3",
"postcss": "$postcss",
"qs": "6.16.1",
Expand Down
Loading