generated from idrinth-api-bench/project-defaults
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* copy over code blindly fixes #1021 * copy over code blindly fixes #1021
- Loading branch information
Showing
108 changed files
with
14,218 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
env: | ||
node: true | ||
es6: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
github: | ||
- idrinth | ||
ko_fi: idrinth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 1 | ||
body: | ||
patterns: | ||
- '#\d+' | ||
error: The body has to include an issue reference like `#0` | ||
branch: | ||
patterns: | ||
- 'issue-\d{1,}-[a-z0-9-]+' | ||
error: Branch must be called `issue-{id}-{short description}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# The Pull Request is ready | ||
|
||
- [ ] fixes #<!-- YOUR ISSUE ID HERE --> | ||
- [ ] all actions are passing | ||
- [ ] only fixes a single issue | ||
|
||
## Overview | ||
|
||
<!-- Provide a brief description of the changes introduced by this | ||
Pull Request. --> | ||
|
||
## Review points | ||
|
||
<!-- List the points to be reviewed in detail | ||
and the points you are not confident about. --> | ||
<!-- Delete this section if not needed --> | ||
|
||
## CLI | ||
|
||
- [ ] the change works with both supported node versions | ||
- [ ] the default behaviour did not change | ||
- [ ] shared code has been extracted in a different file | ||
|
||
## Notes | ||
|
||
<!-- Write any note or comment. You can share your thoughts or ideas. --> | ||
<!-- Delete this section if not needed --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
changelog: | ||
exclude: | ||
authors: | ||
- dependabot | ||
- renovate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: cli CodeQL | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/package-lock.json' | ||
- '.github/workflows/cli.codeql.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/package-lock.json' | ||
- '.github/workflows/cli.codeql.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 360 | ||
permissions: | ||
security-events: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: javascript-typescript | ||
queries: security-and-quality | ||
source-root: cli | ||
- name: Setup Node.js environment ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: cd cli && npm ci | ||
- run: cd cli && npm run language | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:javascript-typescript" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: cli ESLINT | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.eslint.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.eslint.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd cli && npm ci | ||
- run: cd cli && npm run language | ||
- run: cd cli && npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: cli FTA | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.fta.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.fta.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd cli && npm ci && npm run language | ||
- run: npm run fta -- cli || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: cli Knip | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.knip.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.knip.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd cli && npm ci | ||
- run: cd cli && npm run language | ||
- run: cd cli && npm run knip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: cli language lint | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/language/*.yml' | ||
- '.github/workflows/cli.language-lint.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/language/*.yml' | ||
- '.github/workflows/cli.language-lint.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: npm run check-language -- cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: cli license lint | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/package-lock.json' | ||
- '.github/workflows/cli.license-check.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/package-lock.json' | ||
- '.github/workflows/cli.license-check.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: cd cli && npm ci | ||
- run: cd cli && npx license-checker -- --production --onlyAllow="MIT;ISC;Apache-2.0;BSD-2-Clause;BSD-3-Clause;Python-2.0;LGPL-2.1;GPL-2.0;BlueOak-1.0.0;CC0-1.0;0BSD;WTFPL;Unlicense" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: MARKDOWN-LINT | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.md' | ||
- 'cli/package-lock.json' | ||
- '.github/workflows/cli.mdlint.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- 'cli/**.md' | ||
- 'cli/package-lock.json' | ||
- '.github/workflows/cli.mdlint.yml' | ||
env: | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: cd cli && npm ci | ||
- run: cd cli && npm run lint-md |
Oops, something went wrong.