Skip to content

Commit 649aa38

Browse files
authored
Merge pull request #117 from SamKirkland/beta-v4
Version 4.0.0
2 parents 1053c32 + 07d05bf commit 649aa38

25 files changed

+8263
-6118
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

.eslintrc.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"plugins": [
3+
"jest",
4+
"@typescript-eslint"
5+
],
6+
"parser": "@typescript-eslint/parser",
7+
"parserOptions": {
8+
"ecmaVersion": 8,
9+
"sourceType": "module",
10+
"project": "./tsconfig.json"
11+
},
12+
"rules": {
13+
"eslint-comments/no-use": "off",
14+
"import/no-namespace": "off",
15+
"no-unused-vars": "off",
16+
"@typescript-eslint/no-unused-vars": "error",
17+
"@typescript-eslint/explicit-member-accessibility": [
18+
"error",
19+
{
20+
"accessibility": "no-public"
21+
}
22+
],
23+
"@typescript-eslint/no-require-imports": "error",
24+
"@typescript-eslint/array-type": "error",
25+
"@typescript-eslint/await-thenable": "error",
26+
"@typescript-eslint/func-call-spacing": [
27+
"error",
28+
"never"
29+
],
30+
"@typescript-eslint/no-array-constructor": "error",
31+
"@typescript-eslint/no-empty-interface": "error",
32+
"@typescript-eslint/no-extraneous-class": "error",
33+
"@typescript-eslint/no-for-in-array": "error",
34+
"@typescript-eslint/no-inferrable-types": "error",
35+
"@typescript-eslint/no-misused-new": "error",
36+
"@typescript-eslint/no-namespace": "error",
37+
"@typescript-eslint/no-non-null-assertion": "warn",
38+
"@typescript-eslint/no-unnecessary-qualifier": "error",
39+
"@typescript-eslint/no-unnecessary-type-assertion": "error",
40+
"@typescript-eslint/no-useless-constructor": "error",
41+
"@typescript-eslint/no-var-requires": "error",
42+
"@typescript-eslint/prefer-for-of": "warn",
43+
"@typescript-eslint/prefer-function-type": "warn",
44+
"@typescript-eslint/prefer-includes": "error",
45+
"@typescript-eslint/prefer-string-starts-ends-with": "error",
46+
"@typescript-eslint/promise-function-async": "error",
47+
"@typescript-eslint/require-array-sort-compare": "error",
48+
"@typescript-eslint/restrict-plus-operands": "error",
49+
"@typescript-eslint/type-annotation-spacing": "error"
50+
},
51+
"env": {
52+
"node": true,
53+
"es6": true,
54+
"jest/globals": true
55+
}
56+
}

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ A clear and concise description of what the bug is.
1212

1313
**My Action Config**
1414
```yaml
15-
on:
16-
push:
15+
on: push
16+
name: Publish Website
17+
jobs:
18+
web-deploy:
19+
name: 🚀 Deploy website every commit
1720
# !!!!!!! TODO Fill Out !!!!!!!
1821
```
1922

2023
**My Action Log**
2124
```
2225
# Paste Log here
26+
# you may want enable verbose logging with log-level: verbose
2327
```

.github/workflows/ftp.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: FTP Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
deploy:
11+
name: 🚀 Deploy website every commit
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 🚚 Get latest code
15+
uses: actions/checkout@v2
16+
17+
- name: 📂 Sync files
18+
uses: ./
19+
with:
20+
server: ftp.samkirkland.com
21+
22+
password: ${{ secrets.ftp_password }}
23+

.github/workflows/ftps.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: FTPS Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
deploy:
11+
name: 🚀 Deploy website every commit
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 🚚 Get latest code
15+
uses: actions/checkout@v2
16+
17+
- name: 📂 Sync files
18+
uses: ./
19+
with:
20+
server: wwwssr16.supercp.com
21+
22+
password: ${{ secrets.ftp_password }}
23+
protocol: ftps
24+
secure: strict

.github/workflows/test-ftp-deploy.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/test-sftp-deploy.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.gitignore

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
__tests__/runner/*
2-
3-
# comment out in distribution branches
4-
node_modules/
1+
# Dependency directory
2+
node_modules
53

64
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
75
# Logs
@@ -91,3 +89,7 @@ typings/
9189

9290
# DynamoDB Local files
9391
.dynamodb/
92+
93+
# OS metadata
94+
.DS_Store
95+
Thumbs.db

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)