Skip to content

Commit a479ed6

Browse files
committed
feat: init [#1]
0 parents  commit a479ed6

File tree

10 files changed

+3107
-0
lines changed

10 files changed

+3107
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
##
2+
# @description Dockerfile for Dev container
3+
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
4+
##
5+
FROM node:18
6+
7+
##
8+
# @note Install basic development tools
9+
##
10+
RUN apt update && apt install -y less man-db sudo
11+
12+
##
13+
# @note Ensure default `node` user has access to `sudo`
14+
##
15+
ARG USERNAME=node
16+
RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
17+
&& chmod 0440 /etc/sudoers.d/$USERNAME
18+
19+
##
20+
# @note Set `DEVCONTAINER` environment variable to help with orientation
21+
##
22+
ENV DEVCONTAINER=true

.devcontainer/devcontainer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* @description Dev container configuration
3+
* @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
4+
*/
5+
{
6+
"name": "Node.js",
7+
"build": {
8+
"dockerfile": "Dockerfile"
9+
},
10+
"remoteUser": "node"
11+
}

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
##
2+
# @description Release automatization
3+
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
4+
# @link https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions
5+
##
6+
name: Release
7+
8+
on:
9+
push:
10+
branches:
11+
- main
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
release:
19+
name : Dispatch release
20+
runs-on: ubuntu-latest
21+
22+
permissions:
23+
contents : write
24+
issues : write
25+
pull-requests: write
26+
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v3
30+
with:
31+
fetch-depth: 0
32+
33+
- name: Generate release
34+
uses: d3p1/semantic-releasify@v1
35+
env :
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
##
2+
# @description Git ignore
3+
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
4+
##
5+
6+
##
7+
# @note Dependencies
8+
##
9+
node_modules/
10+
11+
##
12+
# @note OS metadata
13+
##
14+
.DS_Store
15+
Thumbs.db
16+
17+
##
18+
# @note IDE files
19+
##
20+
.idea
21+
.vscode
22+
*.code-workspace

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Cristian Marcelo de Picciotto
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div align=center>
2+
3+
# [3D CSS PERSPECTIVE CUBE]
4+
5+
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
6+
[![Release](https://github.com/d3p1/3d-css-perspective-cube/actions/workflows/release.yml/badge.svg)](https://github.com/d3p1/3d-css-perspective-cube/actions/workflows/release.yml)
7+
8+
</div>
9+
10+
## Introduction
11+
12+
Just studying and practicing my 3D CSS skills, creating a perspective cube using only CSS.
13+
14+
## Changelog
15+
16+
Detailed changes for each release are documented in [`CHANGELOG.md`](./CHANGELOG.md).
17+
18+
## License
19+
20+
This work is published under [MIT License](./LICENSE).
21+
22+
## Author
23+
24+
Always happy to receive a greeting on:
25+
26+
- [LinkedIn](https://www.linkedin.com/in/cristian-marcelo-de-picciotto/)
27+
- [Web](https://d3p1.dev/)

commitlint.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* @description Configuration for commitlint
3+
* @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
4+
* {@link https://commitlint.js.org/}
5+
* {@link https://www.conventionalcommits.org/en/v1.0.0/}
6+
*/
7+
module.exports = {
8+
/**
9+
* @note Resolve and load `@d3p1/commitlint-config`
10+
* from `node_modules`
11+
*/
12+
extends: ['@d3p1/commitlint-config']
13+
};

0 commit comments

Comments
 (0)