Skip to content

Commit

Permalink
Merge pull request #419 from dyc3/backend-rewrite
Browse files Browse the repository at this point in the history
Large scale rewrite: v0.2.0
  • Loading branch information
dyc3 authored May 30, 2021
2 parents 6508b2e + fb31929 commit b38814d
Show file tree
Hide file tree
Showing 139 changed files with 37,219 additions and 34,383 deletions.
18 changes: 15 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
'eslint:recommended',
'plugin:vue/base',
'plugin:vue/essential',
"@vue/typescript/recommended",
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
Expand Down Expand Up @@ -60,9 +61,20 @@ module.exports = {
'jest/no-truthy-falsy': 'warn',
'jest/prefer-spy-on': 'error',
'jest/require-top-level-describe': 'warn',

'@typescript-eslint/no-var-requires': 'warn',
},
parserOptions: {
ecmaVersion: 6,
parser: 'babel-eslint'
}
ecmaVersion: 2020,
sourceType: "module",
},
overrides: [
{
files: ["*.js"],
rules: {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-var-requires": "off",
}
}
]
};
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: CI/CD
on:
pull_request:
push:
branches: master
branches:
- master
paths-ignore:
- '.vscode/**'
- 'docs/**'
Expand Down Expand Up @@ -53,7 +54,13 @@ jobs:
- run: npm run lint-ci
env:
NODE_ENV: production
- run: npm test
- run: npm run test-unit-client
- run: npm run test-unit-server
env:
REDIS_HOST: localhost
REDIS_PORT: 6379
- run: npx sequelize-cli db:migrate
- run: npm run test-e2e
env:
REDIS_HOST: localhost
REDIS_PORT: 6379
Expand Down
118 changes: 115 additions & 3 deletions .optic/api/specification.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# OpenTogetherTube

[![Build Status](https://travis-ci.com/dyc3/opentogethertube.svg?branch=master)](https://travis-ci.com/dyc3/opentogethertube)
[![CI/CD](https://github.com/dyc3/opentogethertube/actions/workflows/main.yml/badge.svg)](https://github.com/dyc3/opentogethertube/actions/workflows/main.yml)
[![codecov](https://codecov.io/gh/dyc3/opentogethertube/branch/master/graph/badge.svg)](https://codecov.io/gh/dyc3/opentogethertube)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dyc3_opentogethertube&metric=alert_status)](https://sonarcloud.io/dashboard?id=dyc3_opentogethertube)
[![Docker size](https://img.shields.io/docker/image-size/dyc3/opentogethertube)](https://hub.docker.com/r/dyc3/opentogethertube)

The easy way to watch videos with your friends.

http://opentogethertube.com/
https://opentogethertube.com/

# Deployment

Expand Down
Loading

0 comments on commit b38814d

Please sign in to comment.