Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/json5-2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mverkerk-godaddy authored Oct 9, 2024
2 parents d81ab83 + 671c3b3 commit 1184989
Show file tree
Hide file tree
Showing 55 changed files with 11,100 additions and 27,216 deletions.
20 changes: 0 additions & 20 deletions .eslintrc

This file was deleted.

24 changes: 24 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"env": {
"node": true,
"mocha": true
},
"extends": "godaddy",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"requireConfigFile": false
},
"rules": {
"eqeqeq": ["error", "smart"],
"max-statements": "off",
"complexity": "off",
"no-process-env": "off",
"no-console": "off",
"mocha/no-exclusive-tests": "error",
"comma-dangle": "off",
"quote-props": "off",
"no-sync": "off",
"camelcase": "off"
}
}
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

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

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

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

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
36 changes: 36 additions & 0 deletions .github/actions/semantic/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: semantic-release-node
description: 'perform semantic-release actions for node'

outputs:
last_release_version:
description: 'version before semantic-release'
value: ${{ steps.release.outputs.last_release_version }}
new_release_version:
description: 'version after semantic-release'
value: ${{ steps.post-release.outputs.new_release_version }}
new_release_published:
description: 'whether semantic-release did (or would) publish a new version'
value: ${{ steps.post-release.outputs.new_release_published }}

runs:
using: composite
steps:
- name: run-release
id: release
shell: bash
run: |
echo "last_release_version=`cat package.json | jq -r .version`" >> $GITHUB_OUTPUT
npx semantic-release | tee release.output;
- name: post-release
if: always()
id: post-release
shell: bash
run: |
if (grep -q 'The next release version is' release.output); then
echo "new_release_published=true" >> $GITHUB_OUTPUT
echo "new_release_version=`grep 'The next release version is' release.output | sed -E 's/.* ([[:digit:].]+)$/\1/'`" >> $GITHUB_OUTPUT
else
echo "new_release_published=false" >> $GITHUB_OUTPUT
echo "new_release_version=none" >> $GITHUB_OUTPUT
fi
38 changes: 38 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Pull Request

To help us get this pull request reviewed and merged quickly, please be sure to include the following items:

* [ ] Tests (if applicable)
* [ ] Documentation (if applicable)
* [ ] Changelog entry
* [ ] A full explanation here in the PR description of the work done

## PR Type
What kind of change does this PR introduce?

* [ ] Bugfix
* [ ] Feature
* [ ] Code style update (formatting, local variables)
* [ ] Refactoring (no functional changes, no api changes)
* [ ] Build related changes
* [ ] CI related changes
* [ ] Documentation content changes
* [ ] Tests
* [ ] Other

## Backward Compatibility

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?

* [ ] Yes (backward compatible)
* [ ] No (breaking changes)


## Issue Linking
<!--
KEYWORD #ISSUE-NUMBER
[closes|fixes|resolves] #
-->

## What's new?
-
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
69 changes: 0 additions & 69 deletions .github/workflows/release.yml

This file was deleted.

Loading

0 comments on commit 1184989

Please sign in to comment.