Refactor/astro rework #3
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant changes to migrate the project from a Vue-based setup to an Astro-based setup, along with enhancements to the project's structure, configuration, and workflows. The most important changes include the addition of Astro configurations, the removal of Vue-specific files, the introduction of CI/CD workflows, and the inclusion of a new schema for static data.
Migration to Astro Framework:
astro.config.mjs: Added Astro configuration with integrations for Preact, TailwindCSS, Sitemap, and Astro Icon. This replaces the previous Vue configuration and sets up the site for Astro-based development.package.json: Updated dependencies and scripts to use Astro and removed Vue-related dependencies and scripts.Removal of Vue-Specific Files:
src/App.vue,src/assets/base.css,src/assets/main.css,src/components/Home/CompItem.vue,src/components/Home/PathItem.vue,src/components/Home/ProjectItem.vue: Removed Vue components, styles, and related files as part of the migration to Astro. [1] [2] [3] [4] [5] [6]CI/CD Workflows:
.github/workflows/ci.yml: Added a CI workflow to test and build the project on pull requests targeting themainbranch..github/workflows/version.yml: Added a deployment workflow to publish the site to GitHub Pages upon release creation.Static Data and Schema Enhancements:
.astro/collections/staticData.schema.json: Introduced a JSON schema for static data, defining required properties for the site's content..astro/data-store.json: Added a data store file containing metadata and static data for the site.Licensing and Manifest:
LICENSE: Added an MIT license for the project.public/site.webmanifest: Added a web manifest file for the site, specifying icons and display settings.