Files
awesome-copilot/website/package.json
T
Aaron Powell 7bf8a4d38b fix: add @astrojs/markdown-remark dep and fix build-website CI paths (#2457)
* fix: add @astrojs/markdown-remark dep and fix build-website CI paths

Astro 7.1.x introduced 'Satteri' as the default Markdown processor and
no longer bundles @astrojs/markdown-remark by default. The website config
uses markdown.remarkPlugins which requires this package to be installed
explicitly.

Also update build-website.yml paths to use explicit ** glob patterns
and include root package.json/package-lock.json changes as triggers,
so dependabot package bumps always run the website build check.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ed2219f7-f30c-4e24-95af-9c216166f285

* refactor: use explicit unified() processor in astro.config

Astro 7.1+ changed the markdown.remarkPlugins shorthand to require
@astrojs/markdown-remark. Update to the explicit unified() processor API
which is the supported way to use remark/rehype plugins in Astro 7.1+.

Sätteri (the new default processor) is incompatible with remark plugins,
so we stay on unified() to keep remark-github-admonitions-to-directives
working for Learning Hub GitHub admonition syntax.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ed2219f7-f30c-4e24-95af-9c216166f285

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot-Session: ed2219f7-f30c-4e24-95af-9c216166f285
2026-07-28 14:15:00 +10:00

40 lines
922 B
JSON

{
"name": "awesome-copilot-website",
"version": "1.0.0",
"description": "Awesome GitHub Copilot website",
"type": "module",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"a11y": "node ./scripts/a11y-audit.mjs",
"preview": "astro preview",
"astro": "astro"
},
"keywords": [
"github",
"copilot",
"agents",
"prompts"
],
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@astrojs/markdown-remark": "^7.2.0",
"@astrojs/sitemap": "^3.7.2",
"@astrojs/starlight": "^0.41.1",
"astro": "^7.1.3",
"choices.js": "^11.2.2",
"front-matter": "^4.0.2",
"gray-matter": "^4.0.3",
"isomorphic-dompurify": "^2.36.0",
"jszip": "^3.10.1",
"marked": "^18.0.2",
"remark-github-admonitions-to-directives": "^2.1.0",
"shiki": "^4.0.2"
},
"devDependencies": {
"axe-core": "^4.10.2",
"playwright": "^1.49.0"
}
}