Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 6cf348b

Browse files
authored
Initial commit
0 parents  commit 6cf348b

26 files changed

+22349
-0
lines changed

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Local env vars for debugging
2+
TS_NODE_IGNORE="false"
3+
TS_NODE_FILES="true"

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/types/global.d.ts

.eslintrc.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: ['@typescript-eslint', 'node', 'prettier'],
5+
parserOptions: {
6+
tsconfigRootDir: __dirname,
7+
project: ['./tsconfig.json'],
8+
},
9+
extends: [
10+
'eslint:recommended',
11+
'plugin:node/recommended',
12+
'plugin:@typescript-eslint/eslint-recommended',
13+
'plugin:@typescript-eslint/recommended',
14+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
15+
'plugin:prettier/recommended',
16+
],
17+
rules: {
18+
'prettier/prettier': 'warn',
19+
'node/no-missing-import': 'off',
20+
'node/no-empty-function': 'off',
21+
'node/no-unsupported-features/es-syntax': 'off',
22+
'node/no-missing-require': 'off',
23+
'node/shebang': 'off',
24+
'@typescript-eslint/no-use-before-define': 'off',
25+
quotes: ['warn', 'single', { avoidEscape: true }],
26+
'node/no-unpublished-import': 'off',
27+
'@typescript-eslint/no-unsafe-assignment': 'off',
28+
'@typescript-eslint/no-var-requires': 'off',
29+
'@typescript-eslint/ban-ts-comment': 'off',
30+
'@typescript-eslint/no-explicit-any': 'off',
31+
},
32+
};

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Set the repository to show as TypeScript rather than JS in GitHub
2+
*.js linguist-detectable=false

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: "🐛 Bug Report"
3+
about: Report a reproducible bug or regression.
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
## Current Behavior
11+
12+
<!-- Describe how the issue manifests. -->
13+
14+
## Expected Behavior
15+
16+
<!-- Describe what the desired behavior would be. -->
17+
18+
## Steps to Reproduce the Problem
19+
20+
1.
21+
1.
22+
1.
23+
24+
## Environment
25+
26+
- Version: <!-- Version set in package.json -->
27+
- Platform: <!-- Win/Mac/Linux -->
28+
- Node.js Version: <!-- Output of running `node -v` -->
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: 🌈 Feature request
3+
about: Suggest an amazing new idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
## Feature Request
11+
12+
**Is your feature request related to a problem? Please describe.**
13+
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
14+
15+
**Describe the solution you'd like**
16+
<!-- A clear and concise description of what you want to happen. Add any considered drawbacks. -->
17+
18+
**Describe alternatives you've considered**
19+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
20+
21+
## Are you willing to resolve this issue by submitting a Pull Request?
22+
23+
<!--
24+
Remember that first-time contributors are welcome! 🙌
25+
-->
26+
27+
- [ ] Yes, I have the time, and I know how to start.
28+
- [ ] Yes, I have the time, but I don't know how to start. I would need guidance.
29+
- [ ] No, I don't have the time, although I believe I could do it if I had the time...
30+
- [ ] No, I don't have the time and I wouldn't even know how to start.
31+
32+
<!--
33+
👋 Have a great day and thank you for the feature request!
34+
-->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!--
2+
😀 Wonderful! Thank you for opening a pull request.
3+
4+
Please fill in the information below to expedite the review
5+
and (hopefully) merge of your change.
6+
-->
7+
8+
### Description of change
9+
10+
<!--
11+
Please be clear and concise what the change is intended to do,
12+
why this change is needed, and how you've verified that it
13+
corrects what you intended.
14+
15+
In some cases it may be helpful to include the current behavior
16+
and the new behavior.
17+
18+
If the change is related to an open issue, you can link it here.
19+
If you include `Fixes #0000` (replacing `0000` with the issue number)
20+
when this is merged it will automatically mark the issue as fixed and
21+
close it.
22+
-->
23+
24+
### Pull-Request Checklist
25+
26+
<!--
27+
Please make sure to review and check all of the following.
28+
29+
If an item is not applicable, you can add "N/A" to the end.
30+
-->
31+
32+
- [ ] Code is up-to-date with the `main` branch
33+
- [ ] `npm run lint` passes with this change
34+
- [ ] `npm run test` passes with this change
35+
- [ ] This pull request links relevant issues as `Fixes #0000`
36+
- [ ] There are new or updated unit tests validating the change
37+
- [ ] Documentation has been updated to reflect this change
38+
- [ ] The new commits follow conventions outlined in the [conventional commit spec](https://www.conventionalcommits.org/en/v1.0.0/)
39+
40+
<!--
41+
🎉 Thank you for contributing!
42+
-->

.github/workflows/codeql-analysis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Reusable workflow for code analysis; to eject, you can replace this file with
2+
# https://github.com/ryansonshine/ryansonshine/blob/main/.github/workflows/codeql-analysis.yml
3+
name: "CodeQL"
4+
5+
permissions:
6+
security-events: write
7+
actions: read
8+
contents: read
9+
10+
on:
11+
push:
12+
branches: [main]
13+
pull_request:
14+
# The branches below must be a subset of the branches above
15+
branches: [main]
16+
schedule:
17+
- cron: "36 7 * * 6"
18+
19+
jobs:
20+
analyze:
21+
uses: ryansonshine/ryansonshine/.github/workflows/codeql-analysis.yml@main

.github/workflows/pr.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Reusable workflow for PRs; to eject, you can replace this file with
2+
# https://github.com/ryansonshine/ryansonshine/blob/main/.github/workflows/pr.yml
3+
name: Pull Request
4+
5+
on: [pull_request]
6+
7+
jobs:
8+
build:
9+
uses: ryansonshine/ryansonshine/.github/workflows/pr.yml@main

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Reusable workflow for releases; to eject, you can replace this file with
2+
# https://github.com/ryansonshine/ryansonshine/blob/main/.github/workflows/release.yml
3+
name: Release
4+
on:
5+
push:
6+
branches:
7+
- main
8+
jobs:
9+
release:
10+
permissions:
11+
contents: write
12+
issues: write
13+
pull-requests: write
14+
uses: ryansonshine/ryansonshine/.github/workflows/release.yml@main
15+
secrets:
16+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)