Skip to content

Commit ffd87b5

Browse files
committed
chore: update code base
1 parent 903c132 commit ffd87b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+10484
-12312
lines changed

.barrelsby.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"directory": ["./src/controllers/rest", "./src/controllers/pages"],
3+
"exclude": ["__mock__", "__mocks__", ".spec.ts"],
4+
"delete": true
5+
}

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
node_modules
2+
Dockerfile
3+
.env.local
4+
.env.development

.env

Whitespace-only changes.

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist
2+
coverage
3+
jest.config.js
4+
processes.config.js
5+
scripts

.eslintrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"parser": "@typescript-eslint/parser",
33
"extends": [
4-
"plugin:@typescript-eslint/recommended",
5-
"prettier/@typescript-eslint",
6-
"plugin:prettier/recommended"
4+
"prettier",
5+
"plugin:@typescript-eslint/recommended"
76
],
7+
"plugins": ["@typescript-eslint"],
88
"parserOptions": {
9-
"ecmaVersion": 2018,
9+
"ecmaVersion": 2018,
1010
"sourceType": "module",
1111
"project": "./tsconfig.json"
1212
},
@@ -15,6 +15,7 @@
1515
"es6": true
1616
},
1717
"rules": {
18+
"@typescript-eslint/no-inferrable-types": 0,
1819
"@typescript-eslint/no-unused-vars": 2,
1920
"@typescript-eslint/no-var-requires": 0
2021
}

.github/FUNDING.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# These are supported funding model platforms
2+
3+
github: [romakita]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: tsed
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
custom: # Replace with a single custom sponsorship URL

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💬 Question or help request
4+
url: https://gitter.im/Tsed-io/Community
5+
about: You want to ask a question or discuss with other community members

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
assignees:
8+
- "Romakita"
9+
reviewers:
10+
- "Romakita"

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: wontfix
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.github/workflows/build.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Build & Release
5+
6+
on:
7+
push:
8+
pull_request:
9+
branches:
10+
- production
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
node-version: [14.x]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- name: Install dependencies
27+
run: yarn install --frozen-lockfile
28+
- name: Run test
29+
run: yarn test
30+
build:
31+
runs-on: ubuntu-latest
32+
33+
strategy:
34+
matrix:
35+
node-version: [14.x]
36+
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: Use Node.js ${{ matrix.node-version }}
40+
uses: actions/setup-node@v1
41+
with:
42+
node-version: ${{ matrix.node-version }}
43+
- name: Install dependencies
44+
run: yarn install --frozen-lockfile
45+
- name: Run build
46+
run: yarn build

0 commit comments

Comments
 (0)