-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/inline-external-types
Signed-off-by: Marcus S. Abildskov <8391194+marcus-sa@users.noreply.github.com>
- Loading branch information
Showing
212 changed files
with
4,569 additions
and
1,160 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 @@ | ||
self-hosted-runner: | ||
labels: | ||
- buildjet-2vcpu-ubuntu-2004 |
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,33 @@ | ||
on: | ||
pull_request: | ||
types: [synchronize, edited, opened] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20.6.0 | ||
|
||
- name: npm install | ||
run: npm ci | ||
|
||
- name: Lint commit messages | ||
run: npx commitlint --from $BASE_SHA --to $HEAD_SHA --verbose | ||
env: | ||
BASE_SHA: ${{ github.event.pull_request.base.sha }} | ||
HEAD_SHA: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Lint pull request title | ||
run: echo $PR_TITLE | npx commitlint --verbose | ||
env: | ||
PR_TITLE: ${{ github.event.pull_request.title }} |
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
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 @@ | ||
legacy-peer-deps=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,19 @@ | ||
{ | ||
"plugins": ["@trivago/prettier-plugin-sort-imports"], | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"options": { | ||
"tabWidth": 4 | ||
} | ||
} | ||
] | ||
} |
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
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,24 @@ | ||
const { | ||
utils: { getPackages }, | ||
} = require('@commitlint/config-lerna-scopes'); | ||
|
||
const customScopes = ['deps']; | ||
|
||
module.exports = { | ||
extends: ['@commitlint/config-conventional', '@commitlint/config-lerna-scopes'], | ||
ignores: [ | ||
message => | ||
message.startsWith('Merge') || | ||
message.startsWith('Revert'), | ||
], | ||
rules: { | ||
'header-max-length': [0, 'always', 125], | ||
'footer-max-line-length': [0, 'always', Infinity], | ||
'body-max-line-length': [0, 'always', Infinity], | ||
'scope-enum': async ctx => [ | ||
2, | ||
'always', | ||
[...customScopes, ...(await getPackages(ctx))], | ||
], | ||
}, | ||
}; |
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,14 @@ | ||
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md | ||
commit-msg: | ||
commands: | ||
commitlint: | ||
run: npx commitlint --edit {1} | ||
pre-commit: | ||
commands: | ||
github-actions: | ||
glob: '*.{yaml,yml}' | ||
root: '.github' | ||
run: echo {staged_files} && actionlint | ||
prettier: | ||
glob: '[*.{json,yml,yaml,html,ts,tsx,js,jsx},!./package-lock.json]' | ||
run: npx prettier --write {staged_files} && git add {staged_files} |
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 |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"conventionalCommits": true | ||
} | ||
}, | ||
"version": "1.0.1-alpha.110" | ||
"version": "1.0.1-alpha.113" | ||
} |
Oops, something went wrong.