-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add gitpod config * feat: add package config * chore: add package lock * feat: add shareable configuration * docs: add license * docs: add readme * ci: add test workflow * style: prettier code formatter * ci(test): improve workflow * ci(release): add release workflow * ci(release): change name branch master by main in on trigger * code: add container file * code(gitpod): update gitpod config * ci: add codeowners file * ci: enable dependabot * ci(test): update nodejs versions * code(github codespaces): add dev container configuration * code(container file): add intall nvm and nodejs * code(container file): fix install nvm * code(container file): fix install nodejs * feat: update packages * ci(github actions): update action versions * feat: move commonjs to esm * ci(test): remove test for version 10 to 19 * doc(readme): update shields
- Loading branch information
Showing
11 changed files
with
9,796 additions
and
8,823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM debian:bookworm-slim | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG NVM_VERSION=v0.39.7 | ||
ARG NODEJS_VERSION=20.14.0 | ||
|
||
# Update Local Repository Index and Install apt-utils | ||
RUN apt-get update && apt-get -y --no-install-recommends install apt-utils | ||
|
||
# Install custom | ||
RUN \ | ||
apt-get -y --no-install-recommends install \ | ||
sudo \ | ||
bash \ | ||
procps \ | ||
openssl \ | ||
gnupg \ | ||
lsb-release \ | ||
ca-certificates \ | ||
apt-transport-https \ | ||
software-properties-common \ | ||
curl \ | ||
wget \ | ||
unzip \ | ||
python3-pip \ | ||
vim \ | ||
git | ||
|
||
# Install nvm (Node Version Manager) | ||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_VERSION/install.sh | bash | ||
RUN export NVM_DIR="$HOME/.nvm" && \ | ||
\. "$NVM_DIR/nvm.sh" && \ | ||
\. "$NVM_DIR/bash_completion" && \ | ||
# Download and install Node.js | ||
nvm install $NODEJS_VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node | ||
{ | ||
"name": "Terraform Codespace Semantic Release", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
//"image": "mcr.microsoft.com/devcontainers/image:tag", | ||
"build": { | ||
// Path is relative to the devcontainer.json file. | ||
"dockerfile": "../.ContainerFile" | ||
}, | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "pre-commit install", | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"shd101wyy.markdown-preview-enhanced", | ||
"yzhang.markdown-all-in-one", | ||
"DavidAnson.vscode-markdownlint" | ||
] | ||
} | ||
} | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# default owners for everything in the repository. | ||
* @jortfal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,18 +17,29 @@ jobs: | |
test: | ||
strategy: | ||
matrix: | ||
node-version: | ||
- 10.18.0 | ||
- 12 | ||
- 14 | ||
node-version: # Node.js Releases https://nodejs.org/en/about/previous-releases#nodejs-releases | ||
# - 10.24.1 # LTS Unsupported | ||
# - 11.15.0 # --- Unsupported | ||
# - 12.22.12 # LTS Unsupported | ||
# - 13.14.0 # --- Unsupported | ||
# - 14.21.3 # LTS Unsupported | ||
# - 15.14.0 # --- Unsupported | ||
# - 16.20.2 # LTS Unsupported | ||
# - 17.9.1 # --- Unsupported | ||
# - 18.20.3 # LTS Maintenance | ||
# - 19.9.0 # --- Unsupported | ||
- 20.14.0 # LTS Active | ||
- 21 # Current | ||
- 22 # Current | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- run: git config --global user.name github-actions | ||
- run: git config --global user.email [email protected] | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Ensure dependencies are compatible with the version of node | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# image: | ||
# file: .gitpod.Containerfile | ||
image: | ||
file: .ContainerFile | ||
|
||
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/ | ||
# ports: | ||
|
@@ -15,11 +15,11 @@ tasks: | |
command: git config --global user.name "jortfal" && | ||
git config --global user.email "[email protected]" && | ||
git config --global commit.gpgsign true && | ||
git config --global user.signingkey C62738C0CBE3CDCA && | ||
git config --global user.signingkey 0000000000000000 && | ||
touch private.gpg && | ||
echo 'WARNING!!! Do not forget to import the private gpg key ;)' && | ||
echo 'use "gpg --import private.gpg" to import private key ' | ||
|
||
vscode: | ||
extensions: | ||
- [email protected]:GR9Y7wA3m2/LsuZxLaCFtg== | ||
"shd101wyy.markdown-preview-enhanced", | ||
"yzhang.markdown-all-in-one", | ||
"DavidAnson.vscode-markdownlint" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.