Skip to content

Commit

Permalink
feat: init [#1]
Browse files Browse the repository at this point in the history
  • Loading branch information
d3p1 committed Aug 24, 2024
0 parents commit a636058
Show file tree
Hide file tree
Showing 23 changed files with 2,641 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@d3p1/commitlint-config"]
}
22 changes: 22 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
##
# @description Dockerfile for Dev container
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
##
FROM node:18

##
# @note Install basic development tools
##
RUN apt update && apt install -y less man-db sudo

##
# @note Ensure default `node` user has access to `sudo`
##
ARG USERNAME=node
RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME

##
# @note Set `DEVCONTAINER` environment variable to help with orientation
##
ENV DEVCONTAINER=true
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "node",
"customizations": {
"vscode": {
"extensions": [
"formulahendry.auto-rename-tag",
"formulahendry.auto-close-tag",
"streetsidesoftware.code-spell-checker",
"github.vscode-github-actions",
"eamodio.gitlens",
"bierner.markdown-preview-github-styles",
"DavidAnson.vscode-markdownlint"
],
"settings": {
"editor.rulers": [80],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}
}
}
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
##
# @description Release automation
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
# @link https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions
##
name: Release

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

jobs:
release:
name : Dispatch release
runs-on: ubuntu-latest

permissions:
contents : write
issues : write
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Generate release
uses: d3p1/semantic-releasify@v1
env :
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
##
# @description Git ignore
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
##
node_modules/
dist/
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/base-css-template.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 106 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/jsLinters/eslint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 80,
"semi": false,
"singleQuote": true,
"quoteProps": "consistent",
"bracketSpacing": false,
"arrowParens": "always"
}
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# [1.3.0](https://github.com/d3p1/base-css-template/compare/v1.2.0...v1.3.0) (2024-08-21)


### Features

* improve prettier configuration [[#1](https://github.com/d3p1/base-css-template/issues/1)] ([438b9bb](https://github.com/d3p1/base-css-template/commit/438b9bbe1db69c50a5677addfeb1b2bd6b4f3472))

# [1.2.0](https://github.com/d3p1/base-css-template/compare/v1.1.0...v1.2.0) (2024-08-20)


### Features

* improve code style IDE settings [[#1](https://github.com/d3p1/base-css-template/issues/1)] ([ad09be8](https://github.com/d3p1/base-css-template/commit/ad09be820e72867bd2b9de1ccece745f90025da5))

# [1.1.0](https://github.com/d3p1/base-css-template/compare/v1.0.0...v1.1.0) (2024-08-20)


### Features

* improve format style [[#1](https://github.com/d3p1/base-css-template/issues/1)] ([d0de8d3](https://github.com/d3p1/base-css-template/commit/d0de8d3f14c6e2269ce2e52dba879447bc385996))

# 1.0.0 (2024-08-20)


### Features

* init [[#1](https://github.com/d3p1/base-css-template/issues/1)] ([d4f13c1](https://github.com/d3p1/base-css-template/commit/d4f13c1ab002cc7a8f9e75aef2af0ca90a5254f2))
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Cristian Marcelo de Picciotto

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<div align=center>

# [3D CSS BUILDING]

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Release](https://github.com/d3p1/3d-css-building/actions/workflows/release.yml/badge.svg)](https://github.com/d3p1/3d-css-building/actions/workflows/release.yml)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)

</div>

## Introduction

Just studying and practicing my 3D CSS skills, creating a building using only CSS.

## Changelog

Detailed changes for each release are documented in [`CHANGELOG.md`](./CHANGELOG.md).

## License

This work is published under [MIT License](./LICENSE).

## Author

Always happy to receive a greeting on:

- [LinkedIn](https://www.linkedin.com/in/cristian-marcelo-de-picciotto/)
- [Web](https://d3p1.dev/)
4 changes: 4 additions & 0 deletions docs/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Styles
* @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
*/
Loading

0 comments on commit a636058

Please sign in to comment.