-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(initial release): Initial Release (#2)
feat(initial release): Initial Release (#2)
- Loading branch information
Showing
31 changed files
with
17,995 additions
and
1 deletion.
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,45 @@ | ||
version: "2" # required to adjust maintainability checks | ||
checks: | ||
argument-count: | ||
enabled: false | ||
complex-logic: | ||
enabled: false | ||
method-lines: | ||
config: | ||
threshold: 300 | ||
file-lines: | ||
config: | ||
threshold: 1000 | ||
method-complexity: | ||
config: | ||
threshold: 30 | ||
return-statements: | ||
enabled: false | ||
similar-code: | ||
enabled: false | ||
identical-code: | ||
enabled: false | ||
exclude_patterns: | ||
############################################ | ||
## Code Climate's default exclude patterns | ||
############################################ | ||
- config/ | ||
- db/ | ||
- dist/ | ||
- features/ | ||
- "**/node_modules/" | ||
- script/ | ||
- "**/spec/" | ||
- "**/test/" | ||
- "**/tests/" | ||
- Tests/ | ||
- "**/vendor/" | ||
- "**/*_test.go" | ||
- "**/*.d.ts" | ||
############################################ | ||
|
||
############################################ | ||
## Additional exclude patterns | ||
- src/assets | ||
- examples/* | ||
############################################ |
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 @@ | ||
- @13bfrancis @benjaminpaige @mdial89f @jonholman |
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: Bug | ||
about: Something's Broken | ||
title: "" | ||
labels: bug | ||
assignees: "" | ||
--- | ||
|
||
## Type of Issue: | ||
|
||
- [x] Bug: Something isn't working | ||
|
||
#### Issue Creator Checklist | ||
|
||
- [ ] This issue has been thoroughly documented below; a developer should be able to understand the issue by reading it. | ||
|
||
## What's broken? | ||
|
||
_List a description of the bad behavior or failure. Please be as detailed as possible. Attach screenshots if appropriate_ | ||
|
||
## What's the impact of this bug? | ||
|
||
_What's the impact to the end user experience and/or application in general_ | ||
|
||
## Steps to Reproduce? | ||
|
||
_If applicable, list steps to reproduce the issue_ | ||
|
||
## Assorted Notes/Considerations | ||
|
||
_List any other information that you think is important_ | ||
|
||
## AC: | ||
|
||
_List the acceptance criteria for this issue._ |
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,31 @@ | ||
--- | ||
name: Enhancement | ||
about: New functionality or request | ||
title: "" | ||
labels: enhancement | ||
assignees: "" | ||
--- | ||
|
||
## Type of Issue: | ||
|
||
- [x] Enhancement: New feature or request | ||
|
||
#### Issue Creator Checklist | ||
|
||
- [ ] This issue has been thoroughly documented below; a developer should be able to understand the issue by reading it. | ||
|
||
## Background | ||
|
||
_History or background behind this enhancement request._ | ||
|
||
## Proposed Approach | ||
|
||
_If applicable... sometimes we don't have a proposed approach yet, and that's OK_ | ||
|
||
## Value | ||
|
||
_In a sentence, or maybe two, what value does this enhancement represent?_ | ||
|
||
## AC: | ||
|
||
_List the acceptance criteria for this issue._ |
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,25 @@ | ||
--- | ||
name: Question | ||
about: Request for more information | ||
title: "" | ||
labels: question | ||
assignees: "" | ||
--- | ||
|
||
_If you'd prefer, use the repo's GitHub Discussions feature to ask questions._ | ||
|
||
## Type of Issue: | ||
|
||
- [x] Question: Further information is requested (I have a question) | ||
|
||
#### Issue Creator Checklist | ||
|
||
- [ ] This issue has been thoroughly documented below; a developer should be able to understand the issue by reading it. | ||
|
||
## Question / Request for more Info | ||
|
||
_What's your question? Or, what would you like more information on? Don't be afraid to use plain english_ | ||
|
||
## AC: | ||
|
||
- My question is answered. |
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,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
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: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: "00 4 * * 1" | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ["typescript"] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
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 @@ | ||
name: Pre-commit | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v2 | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --all-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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.ref_name }}-release | ||
|
||
jobs: | ||
Release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npx semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_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,30 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: gha-test | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
env: | ||
STAGE_NAME: gha-test | ||
permissions: | ||
id-token: write | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1-node16 | ||
with: | ||
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }} | ||
aws-region: us-east-1 | ||
- run: npm ci | ||
- run: npm run test |
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: Test Coverage | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
coverage-report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-modules-test-coverage-${{ hashFiles('package-lock.json') }} | ||
- name: install | ||
run: | | ||
if [ ! -d "node_modules" ]; then # If we don't have any node_modules (CircleCI cache miss scenario), run yarn install --frozen-lockfile. Otherwise, we're all set, do nothing. | ||
npm ci | ||
fi | ||
- run: npm run coverage | ||
- name: publish test coverage to code climate | ||
if: always() && env.CC_TEST_REPORTER_ID != '' | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageLocations: | | ||
${{github.workspace}}/coverage/lcov.info:lcov |
Oops, something went wrong.