Conversation
❌ Deploy Preview for new-eslint failed. Why did it fail? →
|
❌ Deploy Preview for hi-eslint failed. Why did it fail? →
|
❌ Deploy Preview for zh-hans-eslint failed. Why did it fail? →
|
❌ Deploy Preview for pt-br-eslint failed. Why did it fail? →
|
❌ Deploy Preview for es-eslint failed. Why did it fail? →
|
|
Hi @Copilot!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
❌ Deploy Preview for fr-eslint failed. Why did it fail? →
|
❌ Deploy Preview for de-eslint failed. Why did it fail? →
|
❌ Deploy Preview for ja-eslint failed. Why did it fail? →
|
|
Hi @Copilot!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
- astro.config.mjs: static output, React integration, SCSS, Shiki, trailing slashes - src/content.config.ts: blog, drafts, library content collections with Zod schemas - src/data/site.js: YAML site config loader for multi-locale support - src/data/index.js: barrel export for all JSON data files - src/data/helpers.js: ESM port of existing navigation/utility helpers Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
|
Hi @Copilot!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
1 similar comment
|
Hi @Copilot!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
Convert all 7 Eleventy layout templates to Astro layout components: - BaseLayout.astro: master layout with SEO, meta tags, fonts, conditional scripts - MainLayout.astro: standard page wrapper with Header/Footer - PostLayout.astro: blog post layout with author bios, sidebar, copy-to-clipboard - PageLayout.astro: generic page with hero and content - BlogLayout.astro: blog listing with search sidebar and pagination - CategoryLayout.astro: category listing with search sidebar and pagination - ComponentsLayout.astro: component library with index nav Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
- Fix unquoted CSS font-style and font-display values in BaseLayout - Add null checks for DOM references in PostLayout copy-to-clipboard script Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
Convert 32 Nunjucks/HTML templates from src/_includes/ to Astro components in src/components/ with proper frontmatter, props, data imports, and Astro templating syntax. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
Convert the Eleventy index.html template to an Astro page component. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
…ate, index) Agent-Logs-Url: https://github.com/eslint/eslint.org/sessions/7e4c7a0f-06bc-4689-ab73-4d6fb7beb786 Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
|
Hi @Copilot!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
1 similar comment
|
Hi @Copilot!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
|
@copilot this is a good start. Continue to convert 100% of the Eleventy site to Astro. It should be a 1-for-1 match with the Eleventy site. Ensure it builds properly to deploy to Netlify automatically. |
…tructure - Add all remaining pages: blog listing with pagination, individual blog posts, category pages, branding, playground, languages, 404, version-support, component-library - Add static output files: feed.xml, robots.txt, sitemap-index.xml - Add build tools: copy-assets.js, generate-redirects.js - Create shared utilities module (src/data/utils.js) - Fix content collections for Astro v6 (glob loader from astro/loaders) - Fix all path resolution for Astro's build bundling (process.cwd()) - Update package.json scripts for Astro build pipeline - Update netlify.toml to publish from dist/ - Update .gitignore for Astro output and assets - Add @astrojs/sitemap integration - Successfully builds 603 pages Agent-Logs-Url: https://github.com/eslint/eslint.org/sessions/6d4536ce-ae14-40f0-938b-5dc77827a22a Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
- Pass all required props to PostSidebar from PostLayout - Remove custom sitemap-index.xml.js (handled by @astrojs/sitemap) - Verify build: 603 pages, clean output with _redirects Agent-Logs-Url: https://github.com/eslint/eslint.org/sessions/6d4536ce-ae14-40f0-938b-5dc77827a22a Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
Completed the full Eleventy-to-Astro conversion in commits dc9dfe7 and a69e95d. All pages are now converted: Pages (603 total):
Infrastructure:
Build output: RSS feed, robots.txt, sitemap (via integration), _redirects (via tool) — all matching the Eleventy output. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
- Import shared utils in FromTheBlog and category page instead of duplicating - Fix RSS feed description from placeholder to meaningful text - Fix dev server port consistency - Use require.resolve() for algoliasearch path in copy-assets Agent-Logs-Url: https://github.com/eslint/eslint.org/sessions/6d4536ce-ae14-40f0-938b-5dc77827a22a Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
Converts the entire website from Eleventy to Astro to consolidate multiple language-specific sites into a single eslint.org deployment, reducing unnecessary production deploys. The build produces 603 pages with no errors.
Astro infrastructure
astro.config.mjs— static output, React integration,@astrojs/sitemap, SCSS/Shiki, trailing slashes, Vite aliasessrc/content.config.ts— Zod-validated content collections for blog (466 posts), drafts, and library via Astro v6globloadersrc/data/— ESM data layer: YAML site config loader (site.js), barrel exports for all JSON data files (index.js), shared utility functions (utils.js), link/category helper functions (helpers.js)Layouts (7)
All Nunjucks layout chains converted to Astro slot-based layouts:
BaseLayout,MainLayout,PostLayout,PageLayout,BlogLayout,CategoryLayout,ComponentsLayoutComponents (32)
Every Nunjucks macro and partial converted to a typed Astro component with prop interfaces: Header, Footer, Hero, Card, Member, Contributor, PostAuthor, StatItem, DonationItem, Swatch, TestimonialsSlider, HeaderAnimation, Search, BlogCategories, BlogPagination, CategoriesPagination, PostSidebar, PostShare, FromTheBlog, Accordion, Faqs, BrandSwatches, BrandingLogo, Logo, LanguagesList, LanguageSwitcher, ThemeSwitcher, SocialIcons, Ad, Analytics, Button, DeprecationNotice
Pages (all converted)
index.astro) — hero, stats, testimonials, sponsors, blog previewteam.astro) — TSC members, committers, alumnisponsors.astro) — all sponsor tiersdonate.astro) — donation tiers and budgetbranding.astro) — logo, color paletteplay.astro)languages.astro)404.astro)version-support.astro)blog/[...page].astro) — paginated, 9 posts per pageblog/[year]/[month]/[slug].astro) — 466 individual postsblog/category/[...slug].astro) — paginated category archivescomponent-library/[slug].astro+ index) — 12 component docsStatic outputs
feed.xml.js)robots.txt(robots.txt.js)@astrojs/sitemapintegration_redirectsviatools/generate-redirects.js(runs post-build)Build tooling
tools/copy-assets.js— copiessrc/assetstopublic/assets(replaces Eleventy passthrough copy)tools/generate-redirects.js— generates Netlify_redirectsfrom site YAML configpackage.jsonscripts:astro build,astro dev,build:copy-assets,build:redirectsnetlify.toml: publish directory changed from_sitetodist.gitignorefor Astro output (dist/,.astro/,public/assets/)Refs #250
⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.