-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pretty much just a boilerplate at this point. Now let's get this up to speed. :^)
- Loading branch information
0 parents
commit 55bae85
Showing
20 changed files
with
7,836 additions
and
0 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,30 @@ | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", | ||
"features": { | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"nodeGypDependencies": true, | ||
"version": "latest" | ||
}, | ||
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}, | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": true, | ||
"configureZshAsDefaultShell": true, | ||
"installOhMyZsh": true, | ||
"installOhMyZshConfig": true, | ||
"upgradePackages": true, | ||
"username": "automatic", | ||
"userUid": "automatic", | ||
"userGid": "automatic" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"amatiasq.sort-imports", | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"medo64.render-crlf" | ||
] | ||
} | ||
} | ||
} |
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,21 @@ | ||
{ | ||
"extends": ["prettier"], | ||
"rules": { | ||
"consistent-return": "error", | ||
"no-mixed-operators": 0, | ||
"no-useless-constructor": 0, | ||
"standard/computed-property-even-spacing": 0, | ||
"import/first": 0, | ||
"no-unused-vars": "error", | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"indent": "off", | ||
"semi": ["error", "always"], | ||
"brace-style": [ | ||
"error", | ||
"1tbs", | ||
{ | ||
"allowSingleLine": true | ||
} | ||
] | ||
} | ||
} |
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,5 @@ | ||
# Learn how to add code owners here: | ||
# https://help.github.com/en/articles/about-code-owners | ||
|
||
|
||
* filiph@nordcom.io |
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,19 @@ | ||
name: Build and publish | ||
on: | ||
release: | ||
types: [published, edited] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.release.tag_name }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
|
||
- uses: JasonEtco/build-and-tag-action@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
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,20 @@ | ||
name: Build and test | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.release.tag_name }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
|
||
- name: Install deps | ||
run: npm ci | ||
- name: Build | ||
run: npm run build | ||
- name: Test | ||
run: npm run test |
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,26 @@ | ||
# dependencies | ||
node_modules/ | ||
|
||
# codecov | ||
coverage/ | ||
|
||
# next.js | ||
.next/ | ||
next.lock/ | ||
out/ | ||
dist/ | ||
public/sitemap*.xml* | ||
public/robots.txt* | ||
|
||
# production | ||
build/ | ||
|
||
# misc | ||
.DS_Store | ||
.swc | ||
|
||
# debug | ||
npm-debug.log* | ||
|
||
# typescript | ||
*.tsbuildinfo |
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 @@ | ||
save-exact=true |
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,5 @@ | ||
{ | ||
"extends": [ | ||
"github>NordcomInc/renovate-config" | ||
] | ||
} |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Nordcom Group Inc. | ||
|
||
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. |
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,11 @@ | ||
# Lint Commit RegExp | ||
 | ||
 | ||
 | ||
[](https://github.com/NordcomInc/lint-commit-regexp/blob/master/LICENSE) | ||
|
||
Leverage the power of RegExp to standardize and enforce code acceptable submission style. | ||
> Inspired by [SerenityOS](https://github.com/SerenityOS/serenity)' `lintcommits.yml` GitHub Actions workflow initially developed by [@IdanHo](https://github.com/SerenityOS/serenity/commit/fd68e606e707e4c932c75f1840452ec1424e5754). | ||
|
||
## Usage |
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,25 @@ | ||
## Security | ||
|
||
Nordcom Group Inc. takes the security of its software very seriously. Although, due to our size and being such a new and novel company, we do not accept and cannot offer any form of liability (legal or otherwise) as per the included license unless otherwise expressly specified. | ||
|
||
If you believe you have found a security flaw or vulnerability, please report it to us in the manner that is described below. | ||
|
||
## Reporting Security Concerns and Issues | ||
|
||
**Please, do not report or disclose a potential security vulnerability through a publicly accessible forum like GitHub issues.** | ||
|
||
Instead, report any suspected security vulnerabilities and/or issues to **[opensource@nordcom.io](mailto:opensource@nordcom.io)**. | ||
|
||
After which, we may reach out and request more information to help us triage faster. | ||
|
||
You will then either hear from one of us as soon as a fix has been deployed, if possible, or in the form of a public disclosure with a workaround. | ||
|
||
## Questions | ||
|
||
For any questions or need for clarification, feel free to reach out to us on | ||
[opensource@nordcom.io](mailto:opensource@nordcom.io) or [X / (Twitter)](https://x.com/NordcomInc). | ||
|
||
## Policy | ||
|
||
Nordcom Group Inc. tries to the best of its ability to follow Microsoft's principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). | ||
|
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,13 @@ | ||
name: "Lint Commit RegExp" | ||
description: "Leverage the power of RegExp to standardize and enforce code submission style" | ||
author: "Filiph Siitam Sandström <filiph@nordcom.io>" | ||
branding: | ||
icon: "git-pull-request" | ||
color: "gray-dark" | ||
runs: | ||
using: "node20" | ||
main: "dist/index.js" | ||
inputs: | ||
github-token: | ||
description: "GitHub token to a 'machine user' to enable commenting on PRs" | ||
required: false |
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,9 @@ | ||
module.exports = { | ||
clearMocks: true, | ||
moduleFileExtensions: ['js', 'ts'], | ||
testEnvironment: 'node', | ||
testMatch: ['**/*.test.ts'], | ||
transform: { | ||
'^.+\\.ts$': 'ts-jest' | ||
} | ||
}; |
Oops, something went wrong.