Skip to content

Commit dac73b5

Browse files
authored
Merge pull request #232 from Secreto31126/let-him-cook
Let him cook
2 parents 16c75c6 + fe7f9ca commit dac73b5

26 files changed

+902
-794
lines changed

.eslintrc.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"node": true,
55
"mocha": true
66
},
7-
"plugins": [
8-
"@typescript-eslint",
9-
"eslint-plugin-tsdoc"
10-
],
7+
"plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"],
118
"extends": [
129
"eslint:recommended",
1310
"prettier",
@@ -19,9 +16,7 @@
1916
"sourceType": "module"
2017
},
2118
"rules": {
22-
"no-unused-vars": [
23-
"off"
24-
],
19+
"no-unused-vars": ["off"],
2520
"tsdoc/syntax": "warn"
2621
},
2722
"globals": {

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Simple and straight to the point failing snippet
1616
2. See error
1717

1818
**Expected behavior**
1919
A clear and concise description of what you expected to happen.
2020

2121
**Desktop (please complete the following information):**
22-
- OS: [e.g. Windows]
23-
- Runtime [e.g. node@19, deno@1.33.4]
24-
- Library Version [e.g. 1.0.0]
22+
23+
- OS: [e.g. Windows]
24+
- Runtime [e.g. node@19, deno@1.33.4]
25+
- Library Version [e.g. 1.0.0]
2526

2627
**Additional context**
2728
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
2-
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time.
3-
- [ ] This message body should clearly illustrate what problems it solves.
4-
- [ ] Ideally, include a test that fails without this PR but passes with it.
5-
6-
### Tests
7-
- [ ] Run the tests with `npm run test` and lint the project with `npm run lint` and `npm run prettier`
1+
### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
2+
3+
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time.
4+
- [ ] This message body should clearly illustrate what problems it solves.
5+
- [ ] Ideally, include a test that fails without this PR but passes with it.
6+
7+
### Tests
8+
9+
- [ ] Run the tests with `npm run test` and lint the project with `npm run lint` and `npm run prettier`

.github/renovate.json

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
{
2-
"baseBranches": ["main"],
3-
"dependencyDashboard": true,
4-
"extends": [
5-
"config:base",
6-
"group:allNonMajor",
7-
"helpers:disableTypesNodeMajor",
8-
"schedule:earlyMondays"
9-
],
10-
"commitMessageAction": "",
11-
"commitMessageTopic": "{{depName}}",
12-
"commitMessageExtra": "{{#if isMajor}}v{{{newMajor}}}{{else}}{{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}{{/if}}",
13-
"labels": ["dependencies"],
14-
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{controls}}}{{{footer}}}",
15-
"prHeader": "",
16-
"prFooter": "",
17-
"semanticCommits": "enabled",
18-
"packageRules": [
19-
{
20-
"packageNames": [
21-
"esbuild"
22-
],
23-
"versioning": "regex:^(<major>\\d+)\\.(<major>\\d+)\\.(<patch>\\d+)$"
24-
}
25-
]
2+
"baseBranches": ["main"],
3+
"dependencyDashboard": true,
4+
"extends": [
5+
"config:base",
6+
"group:allNonMajor",
7+
"helpers:disableTypesNodeMajor",
8+
"schedule:earlyMondays"
9+
],
10+
"commitMessageAction": "",
11+
"commitMessageTopic": "{{depName}}",
12+
"commitMessageExtra": "{{#if isMajor}}v{{{newMajor}}}{{else}}{{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}{{/if}}",
13+
"labels": ["dependencies"],
14+
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{controls}}}{{{footer}}}",
15+
"prHeader": "",
16+
"prFooter": "",
17+
"semanticCommits": "enabled",
18+
"packageRules": [
19+
{
20+
"packageNames": ["esbuild"],
21+
"versioning": "regex:^(<major>\\d+)\\.(<major>\\d+)\\.(<patch>\\d+)$"
22+
}
23+
]
2624
}

.github/workflows/alpha-release.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
11
name: Deploy alpha release to GitHub
22

33
on:
4-
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
88

99
jobs:
10-
build:
11-
name: Build from source
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
with:
16-
ref: ${{ github.ref }}
17-
18-
- uses: actions/setup-node@v3
19-
with:
20-
node-version: 18
21-
22-
- name: Build
23-
run: |
24-
npm ci
25-
npm run build
26-
27-
- name: Store builds
28-
uses: actions/upload-artifact@v3
29-
with:
30-
name: build
31-
path: |
32-
package.json
33-
README.md
34-
LICENSE
35-
lib
36-
37-
alpha-branch:
38-
name: Deploy alpha
39-
runs-on: ubuntu-latest
40-
needs: build
41-
steps:
42-
- uses: actions/checkout@v4
43-
with:
44-
ref: alpha
45-
46-
- name: Clear old build
47-
run: find . -not -wholename './.git*' -delete
48-
49-
- uses: actions/download-artifact@v3
50-
with:
51-
name: build
52-
53-
- name: Push to alpha
54-
uses: EndBug/add-and-commit@v9
55-
with:
56-
default_author: github_actor
57-
message: New alpha release
10+
build:
11+
name: Build from source
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
ref: ${{ github.ref }}
17+
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 18
21+
22+
- name: Build
23+
run: |
24+
npm ci
25+
npm run build
26+
27+
- name: Store builds
28+
uses: actions/upload-artifact@v3
29+
with:
30+
name: build
31+
path: |
32+
package.json
33+
README.md
34+
LICENSE
35+
lib
36+
37+
alpha-branch:
38+
name: Deploy alpha
39+
runs-on: ubuntu-latest
40+
needs: build
41+
steps:
42+
- uses: actions/checkout@v4
43+
with:
44+
ref: alpha
45+
46+
- name: Clear old build
47+
run: find . -not -wholename './.git*' -delete
48+
49+
- uses: actions/download-artifact@v3
50+
with:
51+
name: build
52+
53+
- name: Push to alpha
54+
uses: EndBug/add-and-commit@v9
55+
with:
56+
default_author: github_actor
57+
message: New alpha release

.github/workflows/codeql-analysis.yml

Lines changed: 47 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -12,61 +12,60 @@
1212
name: "CodeQL"
1313

1414
on:
15-
push:
16-
branches: [ "main" ]
17-
pull_request:
18-
# The branches below must be a subset of the branches above
19-
branches: [ "main" ]
20-
schedule:
21-
- cron: '45 22 * * 6'
15+
push:
16+
branches: ["main"]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: ["main"]
20+
schedule:
21+
- cron: "45 22 * * 6"
2222

2323
jobs:
24-
analyze:
25-
name: Analyze
26-
runs-on: ubuntu-latest
27-
permissions:
28-
actions: read
29-
contents: read
30-
security-events: write
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: read
29+
contents: read
30+
security-events: write
3131

32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
language: [ 'javascript' ]
36-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
language: ["javascript"]
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3838

39-
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v4
39+
steps:
40+
- name: Checkout repository
41+
uses: actions/checkout@v4
4242

43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
46-
with:
47-
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
51-
52-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53-
# queries: security-extended,security-and-quality
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v2
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
5451

55-
56-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57-
# If this step fails, then you should remove it and run the build manually (see below)
58-
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v2
52+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53+
# queries: security-extended,security-and-quality
6054

61-
# ℹ️ Command-line programs to run using the OS shell.
62-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
55+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
56+
# If this step fails, then you should remove it and run the build manually (see below)
57+
- name: Autobuild
58+
uses: github/codeql-action/autobuild@v2
6359

64-
# If the Autobuild fails above, remove it and uncomment the following three lines.
65-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
60+
# ℹ️ Command-line programs to run using the OS shell.
61+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6662

67-
# - run: |
68-
# echo "Run, Build Application using script"
69-
# ./location_of_script_within_repo/buildscript.sh
63+
# If the Autobuild fails above, remove it and uncomment the following three lines.
64+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
7065

71-
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v2
66+
# - run: |
67+
# echo "Run, Build Application using script"
68+
# ./location_of_script_within_repo/buildscript.sh
69+
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)