This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
-
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.
- Loading branch information
1 parent
99b15bc
commit 9be4586
Showing
55 changed files
with
16,574 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,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
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 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": ["**/*"], | ||
"plugins": ["@nrwl/nx"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@nrwl/nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [ | ||
{ | ||
"sourceTag": "*", | ||
"onlyDependOnLibsWithTags": ["*"] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nrwl/nx/typescript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nrwl/nx/javascript"], | ||
"rules": {} | ||
} | ||
] | ||
} |
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,72 @@ | ||
# ========================================================= | ||
# Git Line Endings | ||
# ========================================================= | ||
|
||
# Set default behaviour to automatically normalize | ||
# line endings. | ||
* text=auto | ||
|
||
# Force batch scripts to always use CRLF line endings | ||
# so that if a repo is accessed in Windows via a file | ||
# share from Linux, the scripts will work. | ||
*.{cmd,[cC][mM][dD]} text eol=crlf | ||
*.{bat,[bB][aA][tT]} text eol=crlf | ||
|
||
# Force bash scripts to always use LF line endings so | ||
# that if a repo is accessed in Unix via a file share | ||
# from Windows, the scripts will work. | ||
*.sh text eol=lf | ||
|
||
|
||
# ========================================================= | ||
# File Settings | ||
# ========================================================= | ||
|
||
# Archives | ||
*.7z -text | ||
*.br -text | ||
*.gz -text | ||
*.tar -text | ||
*.tar.bz2 -text | ||
*.tar -text | ||
*.zip -text | ||
|
||
# Ignore files (like .npmignore or .gitignore) | ||
*.*ignore text | ||
|
||
# Config files (like .babelrc or .eslintrc). | ||
*.*rc text | ||
|
||
# Git treats .svg as binary by default. | ||
*.svg text | ||
|
||
# Mark built apps as generated to prevent | ||
# merge conflicts and hide files from GitHub's | ||
# langauge detection. | ||
/dist/** linguist-generated -diff -merge | ||
|
||
# Mark Yarn generated files as generated to prevent | ||
# merge conflicts and hide files from GitHub's | ||
# langauge detection. | ||
/.pnp.* linguist-generated -diff -merge | ||
/.yarn/** linguist-generated -diff -merge | ||
yarn.lock linguist-generated -diff -merge | ||
|
||
# Hide documentation from GitHub's language detection. | ||
/docs/** linguist-documentation | ||
/docs-website/** linguist-documentation | ||
|
||
# Mark built javascript binaries as generated | ||
# Without this, the repo is marked as >90% javascript, | ||
# while most code is actually typescript. | ||
/packages/*/bin/**/*.js linguist-generated | ||
/packages/*/lib/*.js linguist-generated | ||
|
||
# Mark generated files as generated to | ||
# prevent merge conflicts and hide from GitHub's | ||
# language detection. | ||
*.generated.* linguist-generated -diff -merge | ||
|
||
# Set the language for these files to json5 to ensure | ||
# GitHub doesn't show the comments as errors. | ||
/.vscode/*.json linguist-language=JSON5 |
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 @@ | ||
{ | ||
/* | ||
* Extend configuration presets. | ||
* | ||
* @link Documentation - https://docs.renovatebot.com/configuration-options/#extends | ||
* @link Shareable Config Presets - https://docs.renovatebot.com/config-presets/ | ||
*/ | ||
extends: ['github>domjtalbot/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,76 @@ | ||
name: 'Build & Test' | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | ||
required: false | ||
default: false | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-test: | ||
name: Build & Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Enable tmate debugging of manually-triggered workflows | ||
# if the input option was provided. | ||
- name: Setup SSH debug session | ||
uses: mxschmitt/action-tmate@8b4e4ac71822ed7e0ad5fb3d1c33483e9e8fb270 # tag=v3 | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Volta | ||
uses: volta-cli/[email protected] | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | ||
|
||
- name: Cache Node Dependencies | ||
uses: actions/cache@v3 | ||
id: yarn-cache | ||
with: | ||
path: | | ||
~/.cache/Cypress | ||
**/node_modules | ||
**/.yarn/install-state.gz | ||
${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-dep-cache-v3-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn-dep-cache-v3- | ||
- name: Install Node Dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn | ||
|
||
- name: Nx Shas | ||
uses: nrwl/[email protected] | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Test | ||
run: yarn build | ||
|
||
- name: E2E | ||
uses: cypress-io/[email protected] | ||
with: | ||
install: false | ||
command: yarn e2e |
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,23 @@ | ||
name: 'Deactivate Environment' | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
environment: | ||
description: 'What is the name of the environment you want to deactivate?' | ||
required: true | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deactivate-env: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Deactive Environment | ||
uses: bobheadxi/deployments@11bd6447913c3ffeedb5552bcf6890d1668d9732 # tag=v1.2.0 | ||
with: | ||
env: ${{ github.event.inputs.environment }} | ||
step: deactivate-env | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
name: Sponsor Label | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
label: | ||
name: is-sponsor-label | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: JasonEtco/is-sponsor-label-action@39d88e461a53ecb1b3c0a13673e6252f9976f2f5 # tag=v1.2.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
label: sponsor |
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,45 @@ | ||
name: Sync labels | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/stale.yml | ||
|
||
schedule: | ||
# Checkout for updates daily at midnight | ||
- cron: '0 0 * * *' | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Sync Labels | ||
uses: actions/stale@3cc123766321e9f15a6676375c154ccffb12a358 # tag=v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
stale-issue-message: | | ||
> **Warning** | ||
This issue is stale because it has been open for 60 days with no activity. π€ | ||
Either remove the `stale` label or leave a comment else this issue will be closed in 7 days. | ||
stale-pr-message: | | ||
> **Warning** | ||
This pull request is stale because it has been open for 60 days with no activity. π€ | ||
Either remove the `stale` label, leave a comment or push a commit else this pull request will be closed in 7 days. | ||
close-issue-message: 'This issue was closed because it has been stale for 67 days with no activity.' |
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 @@ | ||
name: Welcome π | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
on: | ||
pull_request: | ||
types: ['opened'] | ||
issues: | ||
types: ['opened'] | ||
|
||
jobs: | ||
welcome: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: 'Welcome π' | ||
uses: actions/first-interaction@bd33205aa5c96838e10fd65df0d01efd613677c1 # tag=v1.1.0 | ||
with: | ||
issue-message: | | ||
Welcome, ${{github.actor}}! π | ||
Thanks for submitting your first issue! :rocket: | ||
pr-message: | | ||
Welcome, ${{github.actor}}! :wave: | ||
Thanks for submitting your first pull request! :rocket: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Add label to first time contributoins | ||
uses: Code-Hex/first-label-interaction@68f71358707a913224afdbf8dc47764807345d4c # tag=v1.0.2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-labels: '["first time contribution"]' | ||
pr-labels: '["first time contribution"]' |
Oops, something went wrong.