Skip to content

Conversation

j-mes
Copy link
Owner

@j-mes j-mes commented Jun 24, 2025

v2.0.0

Overview

This PR represents a major refactor and modernization of the codebase, focusing on the following:

  • Migrated Eleventy configuration and templates from experimental TypeScript/TSX to modular JavaScript and Nunjucks.
  • Simplified and restructured the project directory, moving content, helpers, layouts, and styles into a more maintainable structure.
  • Removed experimental TypeScript, TSX, and redundant configuration files.
  • Updated and cleaned up package dependencies and build scripts.

Key Changes

Project Structure & Content

  • Moved all content to src/content/ and helpers to src/helpers/.
  • Added new layouts in src/layouts/ and styles in src/styles/.
  • Updated Eleventy config to use modular helper files.
  • Refactored and cleaned up markdown notes and images.

Code & Config Cleanup

  • Removed all TSX/TypeScript-based Eleventy templates and helpers.
  • Deleted redundant and legacy files, including old configs, layouts, and styles.
  • Updated .editorconfig, .gitignore, and other project-level configs.

Dependency & Build Updates

  • Updated package.json and package-lock.json to remove unused dependencies and scripts.
  • Switched build output directory and improved workflow scripts.
  • Removed Vitest (temporarily) and related config files.

Features & Enhancements

  • Added new Nunjucks layouts for posts, archives, and main site structure.
  • Introduced new helpers for collections, permalinks, filters, and shortcodes.
  • Improved image handling and shortcode support.
  • Updated LICENSE year and CNAME.

Content Updates

  • Refactored and updated various markdown notes for consistency.
  • Moved and cleaned up images and static assets.

This refactor modernises the codebase, improves maintainability, and prepares the project for future enhancements.


Closes

Closes #14 -
Closes #17 -
Closes #23 -
Closes #126 -
Closes #219 -
Closes #288 -
Closes #308 -
Closes #321 -
Closes #327 -
Closes #352 -

@j-mes j-mes changed the title v2.0.0 - Use 11ty with TSX/JSX among other things v2.0.0 - refactor of the website tooling Jul 28, 2025
@j-mes j-mes marked this pull request as ready for review August 18, 2025 12:51
@j-mes j-mes merged commit 75a6643 into main Aug 18, 2025
1 check passed
@j-mes j-mes deleted the 11ty-tsx-vitest-upgrade branch August 18, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant