Skip to content

Commit cd9e0a2

Browse files
nikita-petkoGithub Enterprise
authored and
Github Enterprise
committed
Inital Commit
0 parents  commit cd9e0a2

24 files changed

+11350
-0
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[*]
2+
indent_style = space
3+
indent_size = 2

.github/PULL_REQUEST_TEMPLATE.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Pull request
3+
about: Make a pull request for new features or changes to be made to this repository.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your pull request related to the project? Please describe.**
11+
A clear and concise description of what your pull request is about. Ex. This pull requests improves the authentication API...
12+
13+
**Describe how it works**
14+
A clear and concise description of how your pull request works.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternatives ways you've gone with implementing the contents of your pull request.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the pull request here.
21+
22+
**Checks and Reviews**
23+
If you have passed all the above, await the actions to complete, and then await reviews to submitted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: "CodeQL Security Analysis Shared Configuration"
2+
3+
paths:
4+
- ./Source

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "daily"

.github/workflows/build-linux.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Production Build Linux
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "Source/**"
9+
- ".github/workflows/**"
10+
- "package.json"
11+
- "package-lock.json"
12+
pull_request:
13+
paths:
14+
- "Source/**"
15+
- ".github/workflows/**"
16+
- "package.json"
17+
- "package-lock.json"
18+
19+
jobs:
20+
production-build-linux:
21+
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP CI]')"
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
os: ["ubuntu-18.04", "ubuntu-20.04", "ubuntu-latest"]
27+
node: [12, 14, 16]
28+
steps:
29+
- name: Checkout repository.
30+
uses: actions/checkout@v2
31+
32+
- name: Setup the node js environment with version 16.x
33+
uses: actions/setup-node@v1
34+
with:
35+
node-version: ${{ matrix.node }}
36+
37+
- name: Run the build-full script to update packages and build the project.
38+
run: npm run build-full

.github/workflows/build-mac-os.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Production Build Mac OS
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "Source/**"
9+
- ".github/workflows/**"
10+
- "package.json"
11+
- "package-lock.json"
12+
pull_request:
13+
paths:
14+
- "Source/**"
15+
- ".github/workflows/**"
16+
- "package.json"
17+
- "package-lock.json"
18+
19+
jobs:
20+
production-build-mac-os:
21+
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP CI]')"
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
os: ["macos-10.15", "macos-11", "macos-latest"]
27+
node: [12, 14, 16]
28+
steps:
29+
- name: Checkout repository.
30+
uses: actions/checkout@v2
31+
32+
- name: Setup the node js environment with version 16.x
33+
uses: actions/setup-node@v1
34+
with:
35+
node-version: ${{ matrix.node }}
36+
37+
- name: Run the build-full script to update packages and build the project.
38+
run: npm run build-full

.github/workflows/build-windows.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Production Build Windows
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "Source/**"
9+
- ".github/workflows/**"
10+
- "package.json"
11+
- "package-lock.json"
12+
pull_request:
13+
paths:
14+
- "Source/**"
15+
- ".github/workflows/**"
16+
- "package.json"
17+
- "package-lock.json"
18+
19+
jobs:
20+
production-build-windows:
21+
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP CI]')"
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
os: ["windows-2019", "windows-2022", "windows-latest"]
27+
node: [12, 14, 16]
28+
steps:
29+
- name: Checkout repository.
30+
uses: actions/checkout@v2
31+
32+
- name: Setup the node js environment with version 16.x
33+
uses: actions/setup-node@v1
34+
with:
35+
node-version: ${{ matrix.node }}
36+
37+
- name: Run the build-full script to update packages and build the project.
38+
run: npm run build-full
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Production Security Analysis Linux
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "Source/**"
9+
- ".github/workflows/**"
10+
- "package.json"
11+
- "package-lock.json"
12+
pull_request:
13+
paths:
14+
- "Source/**"
15+
- ".github/workflows/**"
16+
- "package.json"
17+
- "package-lock.json"
18+
schedule:
19+
- cron: "00 13 1-31 1-12 1/2" # "At 13:00 on every day-of-month from 1 through 31 and on every 2nd day-of-week from Monday through Sunday in every month from January through December."
20+
21+
jobs:
22+
production-security-analysis-linux:
23+
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP ANALYSIS]')"
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
fail-fast: false
27+
28+
matrix:
29+
language: ["typescript"]
30+
os: ["ubuntu-18.04", "ubuntu-20.04", "ubuntu-latest"]
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v1
36+
with:
37+
languages: ${{ matrix.language }}
38+
config-file: "./.github/configuration/security-analysis-shared-config.yml"
39+
- name: Autobuild
40+
uses: github/codeql-action/autobuild@v1
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Production Security Analysis Mac OS
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "Source/**"
9+
- ".github/workflows/**"
10+
- "package.json"
11+
- "package-lock.json"
12+
pull_request:
13+
paths:
14+
- "Source/**"
15+
- ".github/workflows/**"
16+
- "package.json"
17+
- "package-lock.json"
18+
schedule:
19+
- cron: "00 13 1-31 1-12 1/2" # "At 13:00 on every day-of-month from 1 through 31 and on every 2nd day-of-week from Monday through Sunday in every month from January through December."
20+
21+
jobs:
22+
production-security-analysis-mac-os:
23+
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP ANALYSIS]')"
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
fail-fast: false
27+
28+
matrix:
29+
language: ["typescript"]
30+
os: ["macos-10.15", "macos-11", "macos-latest"]
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v1
36+
with:
37+
languages: ${{ matrix.language }}
38+
config-file: "./.github/configuration/security-analysis-shared-config.yml"
39+
- name: Autobuild
40+
uses: github/codeql-action/autobuild@v1
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Production Security Analysis Windows
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "Source/**"
9+
- ".github/workflows/**"
10+
- "package.json"
11+
- "package-lock.json"
12+
pull_request:
13+
paths:
14+
- "Source/**"
15+
- ".github/workflows/**"
16+
- "package.json"
17+
- "package-lock.json"
18+
schedule:
19+
- cron: "00 13 1-31 1-12 1/2" # "At 13:00 on every day-of-month from 1 through 31 and on every 2nd day-of-week from Monday through Sunday in every month from January through December."
20+
21+
jobs:
22+
production-security-analysis-windows:
23+
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP ANALYSIS]')"
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
language: ["typescript"]
29+
os: ["windows-2019", "windows-2022", "windows-latest"]
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v2
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@v1
35+
with:
36+
languages: ${{ matrix.language }}
37+
config-file: "./.github/configuration/security-analysis-shared-config.yml"
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v1
40+
- name: Perform CodeQL Analysis
41+
uses: github/codeql-action/analyze@v1

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lib
2+
node_modules
3+
.vscode

.jest

6.06 KB
Binary file not shown.

.npmignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*
2+
!LICENSE
3+
!lib
4+
!README.md
5+
!package.json

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 120,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"semi": true
6+
}

0 commit comments

Comments
 (0)