Skip to content

Commit 766cde6

Browse files
authored
Merge branch 'main' into release-process-updates
2 parents af51f9e + 1352fce commit 766cde6

22 files changed

+4271
-6629
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
{
22
"env": {
33
"commonjs": true,
4-
"es6": true,
5-
"jest": true,
6-
"node": true
7-
},
8-
"extends": "eslint:recommended",
9-
"globals": {
10-
"Atomics": "readonly",
11-
"SharedArrayBuffer": "readonly"
4+
"es2021": true,
5+
"node": true,
6+
"jest": true
127
},
8+
"plugins": ["github"],
9+
"extends": ["eslint:recommended", "prettier", "plugin:github/internal"],
1310
"parserOptions": {
14-
"ecmaVersion": 2020
11+
"ecmaVersion": 12
1512
},
1613
"rules": {
1714
"semi": ["error", "never"]
18-
}
19-
}
15+
},
16+
"ignorePatterns": ["/dist/", "/pre/"]
17+
}

.github/release-drafter.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
---
2-
name-template: "v$RESOLVED_VERSION"
3-
tag-template: "v$RESOLVED_VERSION"
2+
name-template: 'v$RESOLVED_VERSION'
3+
tag-template: 'v$RESOLVED_VERSION'
44
template: |
55
# Changelog
66
77
$CHANGES
88
99
See details of [all code changes](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release.
1010
categories:
11-
- title: "🚀 Features"
11+
- title: '🚀 Features'
1212
labels:
13-
- "feature"
14-
- "enhancement"
15-
- title: "🐛 Bug Fixes"
13+
- 'feature'
14+
- 'enhancement'
15+
- title: '🐛 Bug Fixes'
1616
labels:
17-
- "fix"
18-
- "bugfix"
19-
- "bug"
20-
- title: "🧰 Maintenance"
17+
- 'fix'
18+
- 'bugfix'
19+
- 'bug'
20+
- title: '🧰 Maintenance'
2121
labels:
22-
- "infrastructure"
23-
- "automation"
24-
- "documentation"
25-
- title: "🏎 Performance"
26-
label: "performance"
27-
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
22+
- 'infrastructure'
23+
- 'automation'
24+
- 'documentation'
25+
- title: '🏎 Performance'
26+
label: 'performance'
27+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
2828
version-resolver:
2929
major:
3030
labels:
31-
- "type: breaking"
31+
- 'type: breaking'
3232
minor:
3333
labels:
34-
- "type: enhancement"
34+
- 'type: enhancement'
3535
patch:
3636
labels:
37-
- "type: bug"
38-
- "type: maintenance"
39-
- "type: documentation"
37+
- 'type: bug'
38+
- 'type: maintenance'
39+
- 'type: documentation'
4040
default: patch

.github/workflows/check-formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
run: npm ci
3232

3333
- name: Verify formatting
34-
run: npm run format:check
34+
run: npm run format:check

.github/workflows/check-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Checking linter
1+
name: Check linter
22

33
on:
44
push:
@@ -31,4 +31,4 @@ jobs:
3131
run: npm ci
3232

3333
- name: Verify linter
34-
run: npm run lint
34+
run: npm run lint:check

.github/workflows/codeql-analysis.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL"
12+
name: 'CodeQL'
1313

1414
on:
1515
push:
16-
branches: [ main ]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ main ]
19+
branches: [main]
2020
schedule:
2121
- cron: '40 0 * * 1'
2222

@@ -32,39 +32,39 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'javascript' ]
35+
language: ['javascript']
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3838

3939
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v3
40+
- name: Checkout repository
41+
uses: actions/checkout@v3
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-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
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+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5252

53-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54-
# If this step fails, then you should remove it and run the build manually (see below)
55-
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v2
53+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
# If this step fails, then you should remove it and run the build manually (see below)
55+
- name: Autobuild
56+
uses: github/codeql-action/autobuild@v2
5757

58-
# ℹ️ Command-line programs to run using the OS shell.
59-
# 📚 https://git.io/JvXDl
58+
# ℹ️ Command-line programs to run using the OS shell.
59+
# 📚 https://git.io/JvXDl
6060

61-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62-
# and modify them (or add more) to build your code if your project
63-
# uses a compiled language
61+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62+
# and modify them (or add more) to build your code if your project
63+
# uses a compiled language
6464

65-
#- run: |
66-
# make bootstrap
67-
# make release
65+
#- run: |
66+
# make bootstrap
67+
# make release
6868

69-
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v2
69+
- name: Perform CodeQL Analysis
70+
uses: github/codeql-action/analyze@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66
inputs:
77
TAG_NAME:
8-
description: "Tag name that the major tag will point to"
8+
description: 'Tag name that the major tag will point to'
99
required: true
1010

1111
env:

.github/workflows/test.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
12+
- name: Checkout
13+
uses: actions/checkout@v2
1414

15-
- name: Set Node.JS
16-
uses: actions/setup-node@v2
17-
with:
18-
node-version: 16.x
15+
- name: Set Node.JS
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 16.x
1919

20-
- name: Install dependencies
21-
run: npm install
22-
- name: Run tests
23-
run: npm run test
24-
# Drafts your next Release notes as Pull Requests are merged into "main"
25-
- uses: release-drafter/release-drafter@v5
26-
if: github.ref_name == 'main'
27-
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Install dependencies
21+
run: npm install
22+
- name: Run tests
23+
run: npm run test
24+
# Drafts your next Release notes as Pull Requests are merged into "main"
25+
- uses: release-drafter/release-drafter@v5
26+
if: github.ref_name == 'main'
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.prettierignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
node_modules/
1+
# Ignore build artifacts
2+
/dist/
3+
/pre/
4+
5+
# Ignore all Markdown files
6+
*.md

.prettierrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ semi: false
77
singleQuote: true
88
trailingComma: none
99
bracketSpacing: true
10-
arrowParens: avoid
10+
arrowParens: avoid

0 commit comments

Comments
 (0)