Skip to content

Commit 4694866

Browse files
author
Dmitry Shibanov
committed
Initial commit
0 parents  commit 4694866

Some content is hidden

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

53 files changed

+6967
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
n

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// .eslintignore
2+
build/*
3+
public/*
4+
dist/*

.eslintrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": ["plugin:@typescript-eslint/recommended"],
4+
"parserOptions": { "ecmaVersion": 2018, "sourceType": "module" },
5+
"rules": {}
6+
}

.gitattributes

Whitespace-only changes.

.github/workflows/build.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build Project node
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
Build:
11+
strategy:
12+
fail-fast: false
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Install modules
19+
run: npm install
20+
21+
- name: Build node.js
22+
run: npm run build

.github/workflows/tests.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Project node
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
Tests:
11+
strategy:
12+
fail-fast: false
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@master
17+
18+
- name: Install modules
19+
run: npm install
20+
21+
- name: Check prettier
22+
run: npm run prettier:ci
23+
24+
- name: Check format
25+
if: ${{ always() }}
26+
run: npm run lint
27+
28+
- name: Test node
29+
if: ${{ always() }}
30+
run: npm test

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/dist
2+
/node_modules
3+
/src/creds/data.json

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 120,
6+
"tabWidth": 2
7+
}

Dockerfile.dev

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM node:alpine
2+
WORKDIR /myapp/server
3+
COPY ./package.json ./
4+
RUN npm install
5+
COPY ./ ./
6+
CMD ["npm", "start"]

docker-compose.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)