Skip to content

Conversation

@darbyjack
Copy link
Member

@darbyjack darbyjack commented Oct 14, 2025

This pull request migrates the project from a Next.js-based setup to an Astro-based architecture. The changes include updating configuration files, dependencies, and scripts to support Astro, Svelte, Bun, and TailwindCSS v4. It also introduces improved tooling for formatting, linting, and development workflows, and updates the documentation to reflect the new stack and development processes.

Preview
https://papermc-website-staging.papermc.workers.dev/

Migration to Astro and removal of Next.js:

  • Replaced Next.js configuration files (next.config.ts, open-next.config.ts) with Astro configuration (astro.config.mjs), including integrations for Svelte, Tailwind, sitemap generation, icon handling, and deployment to Cloudflare. [1] [2] [3]
  • Updated package.json to remove Next.js-related dependencies and scripts, and add Astro, Svelte, Bun, Tailwind v4, and related tooling. Scripts now use Astro commands and Bun for running checks and linting.

Tooling and workflow improvements:

  • Added new linting and formatting configuration files: eslint.config.js for flat ESLint config supporting Astro and Svelte, .prettierrc for Prettier with plugins, and .prettierignore for file exclusions. [1] [2] [3]
  • Added GitHub Actions workflow (.github/workflows/check.yaml) to automate linting and type checks on push and pull requests.
  • Updated VSCode workspace settings and recommendations for formatting, linting, and Astro development. [1] [2] [3]

Documentation updates:

  • Overhauled README.md to describe the new Astro-based stack, development workflow, project structure, and licensing.

General cleanup and removal of legacy config:

  • Removed obsolete configuration files and settings related to Next.js, postcss, and editorconfig. [1] [2] [3]

Miscellaneous additions:

  • Added ignore files for assets and build outputs (public/.assetsignore).
  • Added a minimal reference to AGENTS.md.
  • Added Bun and install configuration (bunfig.toml).

darbyjack and others added 30 commits October 14, 2025 12:17
allows us to set a fallback to ensure builds don't fail
- Added back in astro check command to build
- Fixed invalid height string on footer
- Use icon instead of image on software preview component
- Fix invalid html property on contribute page
- Added in main download landing page
- Update icon use on main and team page
@kashike kashike merged commit 39b8f6a into main Oct 18, 2025
2 checks passed
@kashike kashike assigned kashike and unassigned darbyjack Oct 18, 2025
@MiniDigger MiniDigger deleted the feat/astro branch October 27, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add wranger config with proper build settings

9 participants