Skip to content

Commit 1184989

Browse files
Merge branch 'main' into dependabot/npm_and_yarn/json5-2.2.3
2 parents d81ab83 + 671c3b3 commit 1184989

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+11100
-27216
lines changed

.eslintrc

-20
This file was deleted.

.eslintrc.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"mocha": true
5+
},
6+
"extends": "godaddy",
7+
"parserOptions": {
8+
"ecmaVersion": "latest",
9+
"sourceType": "module",
10+
"requireConfigFile": false
11+
},
12+
"rules": {
13+
"eqeqeq": ["error", "smart"],
14+
"max-statements": "off",
15+
"complexity": "off",
16+
"no-process-env": "off",
17+
"no-console": "off",
18+
"mocha/no-exclusive-tests": "error",
19+
"comma-dangle": "off",
20+
"quote-props": "off",
21+
"no-sync": "off",
22+
"camelcase": "off"
23+
}
24+
}

.github/ISSUE_TEMPLATE/bug_report.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Additional context**
32+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/actions/semantic/action.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: semantic-release-node
2+
description: 'perform semantic-release actions for node'
3+
4+
outputs:
5+
last_release_version:
6+
description: 'version before semantic-release'
7+
value: ${{ steps.release.outputs.last_release_version }}
8+
new_release_version:
9+
description: 'version after semantic-release'
10+
value: ${{ steps.post-release.outputs.new_release_version }}
11+
new_release_published:
12+
description: 'whether semantic-release did (or would) publish a new version'
13+
value: ${{ steps.post-release.outputs.new_release_published }}
14+
15+
runs:
16+
using: composite
17+
steps:
18+
- name: run-release
19+
id: release
20+
shell: bash
21+
run: |
22+
echo "last_release_version=`cat package.json | jq -r .version`" >> $GITHUB_OUTPUT
23+
npx semantic-release | tee release.output;
24+
25+
- name: post-release
26+
if: always()
27+
id: post-release
28+
shell: bash
29+
run: |
30+
if (grep -q 'The next release version is' release.output); then
31+
echo "new_release_published=true" >> $GITHUB_OUTPUT
32+
echo "new_release_version=`grep 'The next release version is' release.output | sed -E 's/.* ([[:digit:].]+)$/\1/'`" >> $GITHUB_OUTPUT
33+
else
34+
echo "new_release_published=false" >> $GITHUB_OUTPUT
35+
echo "new_release_version=none" >> $GITHUB_OUTPUT
36+
fi

.github/pull_request_template.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Pull Request
2+
3+
To help us get this pull request reviewed and merged quickly, please be sure to include the following items:
4+
5+
* [ ] Tests (if applicable)
6+
* [ ] Documentation (if applicable)
7+
* [ ] Changelog entry
8+
* [ ] A full explanation here in the PR description of the work done
9+
10+
## PR Type
11+
What kind of change does this PR introduce?
12+
13+
* [ ] Bugfix
14+
* [ ] Feature
15+
* [ ] Code style update (formatting, local variables)
16+
* [ ] Refactoring (no functional changes, no api changes)
17+
* [ ] Build related changes
18+
* [ ] CI related changes
19+
* [ ] Documentation content changes
20+
* [ ] Tests
21+
* [ ] Other
22+
23+
## Backward Compatibility
24+
25+
Is this change backward compatible with the most recently released version? Does it introduce changes which might change the user experience in any way? Does it alter the API in any way?
26+
27+
* [ ] Yes (backward compatible)
28+
* [ ] No (breaking changes)
29+
30+
31+
## Issue Linking
32+
<!--
33+
KEYWORD #ISSUE-NUMBER
34+
[closes|fixes|resolves] #
35+
-->
36+
37+
## What's new?
38+
-

.github/workflows/codeql-analysys.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v1
42+
uses: github/codeql-action/init@v3
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v1
53+
uses: github/codeql-action/autobuild@v3
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
67+
uses: github/codeql-action/analyze@v3

.github/workflows/release.yml

-69
This file was deleted.

0 commit comments

Comments
 (0)