Skip to content

d3p1/base-css-template

Repository files navigation

[BASE CSS TEMPLATE]

code style: prettier Release semantic-release: angular

Introduction

A repository aimed at serving as a template to implement projects using CSS, providing basic configurations for using Conventional Commits and Prettier. It also includes a setup for use within a Dev Container, featuring optimized VSCode configurations for working with these technologies. Lastly, it incorporates GitHub Actions that automate the project release.

Usage

This template repository is ready for immediate use with basic configurations for various technologies.

Brief technical overview

We will proceed with detailed information about the various technologies used:

  • Conventional Commits: This repository comes with commitlint and husky installed, along with the @d3p1/commitlint-config configuration, to enforce commits to follow the format: <type>(<scope>): <description> [<issue-number>].

  • Prettier: This repository includes prettier for maintaining code with a consistent style.

  • GitHub Actions: The release workflow uses Semantic Release (in reality, it uses the d3p1/semantic-releasify@v1 action to facilitate its use). Since the Semantic Release bot creates a tag for each release, updates the CHANGELOG.md, and generates a release, it's necessary for the branch to not be protected so that the bot can add its changes without issues. As this repository is intended to serve as a template for personal repositories, this isn't a major concern, as non-contributors (and in personal repositories, typically, the only contributor is the repository owner) won't be able to push directly to the default branch or approve PRs from forks made to submit changes.

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

This work is published under MIT License.

Author

Always happy to receive a greeting on: