-
-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/elasticsearch
- Loading branch information
Showing
335 changed files
with
305,756 additions
and
118,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/react", "@babel/env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
version: 2.1 | ||
|
||
commands: | ||
yarninstall: | ||
steps: | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- yarn-packages-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --frozen-lockfile | ||
- save_cache: | ||
name: Save Yarn Package Cache | ||
key: yarn-packages-{{ checksum "yarn.lock" }} | ||
paths: | ||
- ~/.cache/yarn | ||
|
||
jobs: | ||
build_general: | ||
docker: | ||
- image: circleci/node:10-stretch | ||
- image: circleci/mongo:3.6 | ||
working_directory: ~/trudesk | ||
steps: | ||
- checkout | ||
- yarninstall | ||
- run: | ||
name: Run Tests | ||
command: yarn run test | ||
- run: | ||
name: Run Build | ||
command: yarn run build | ||
build_develop: | ||
docker: | ||
- image: circleci/node:10-stretch | ||
- image: circleci/mongo:3.6 | ||
working_directory: ~/trudesk | ||
steps: | ||
- checkout | ||
- yarninstall | ||
- run: | ||
name: Run Tests | ||
command: yarn run test | ||
- run: | ||
name: Run Build | ||
command: yarn run build | ||
- run: | ||
name: Run Codacy | ||
command: yarn run codacy | ||
build_production: | ||
docker: | ||
- image: circleci/node:10-stretch | ||
- image: circleci/mongo:3.6 | ||
working_directory: ~/trudesk | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install npx | ||
command: sudo npm i -g npx | ||
- yarninstall | ||
- run: | ||
name: Run Tests | ||
command: yarn run test | ||
- run: | ||
name: Run Codacy | ||
command: yarn run codacy | ||
- run: | ||
name: Semantic Release | ||
command: npx semantic-release | ||
|
||
workflows: | ||
version: 2.1 | ||
general: | ||
jobs: | ||
- build_general: | ||
filters: | ||
branches: | ||
ignore: | ||
- develop | ||
- master | ||
develop: | ||
jobs: | ||
- build_develop: | ||
filters: | ||
branches: | ||
only: develop | ||
production: | ||
jobs: | ||
- build_production: | ||
filters: | ||
branches: | ||
only: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/src/public/js/plugins/* | ||
/src/public/js/vendor/* | ||
/mobile/* | ||
/public/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
{ | ||
"plugins": ["node"], | ||
"extends": ["eslint:recommended", "plugin:node/recommended"], | ||
"plugins": ["import", "prettier", "standard"], | ||
"extends": ["standard", "prettier", "prettier/standard"], | ||
"root": true, | ||
"parserOptions": { | ||
"ecmaVersion": 5 | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
"node": true, | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"standard/no-callback-literal": 0, // enable after error handing refactor | ||
"node/exports-style": ["error", "module.exports"], | ||
"new-cap": 0, | ||
"no-console": "off", | ||
// "new-cap": "error", | ||
"quotes": ["error", "single"], | ||
"curly": ["error", "multi-or-nest"], | ||
"complexity": ["error", 20], | ||
"wrap-iife": ["error", "outside"], | ||
"semi": ["error", "always"], | ||
"no-extra-semi": "error", | ||
"no-func-assign": "error", | ||
"no-redeclare": "error" | ||
"complexity": ["error", 20] | ||
}, | ||
"globals": { | ||
"angular": 1, | ||
"define": 1, | ||
"requirejs": 1, | ||
"MG": 1, | ||
"Snackbar": 1, | ||
"ROLES": 1, | ||
"io": 1, | ||
"d3": 1 | ||
"angular": true, | ||
"define": true, | ||
"requirejs": true, | ||
"MG": true, | ||
"Snackbar": true, | ||
"ROLES": true, | ||
"io": true, | ||
"d3": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.