Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from xbrowsersync/v1.1.13
Merge v1.1.13 branch
- Loading branch information
Showing
160 changed files
with
9,719 additions
and
14,127 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,72 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"jest": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"airbnb-typescript/base", | ||
"plugin:prettier/recommended" | ||
], | ||
"globals": { | ||
"JSX": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"project": "./tsconfig.eslint.json", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"simple-import-sort", | ||
"unused-imports" | ||
], | ||
"rules": { | ||
"@typescript-eslint/comma-dangle": "off", | ||
"@typescript-eslint/indent": "off", | ||
"@typescript-eslint/lines-between-class-members": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/semi": "warn", | ||
"class-methods-use-this": "off", | ||
"consistent-return": "off", | ||
"func-style": "warn", | ||
"global-require": "off", | ||
"import/extensions": "off", | ||
"import/no-dynamic-require": "off", | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": true | ||
} | ||
], | ||
"import/order": "off", | ||
"import/prefer-default-export": "off", | ||
"no-bitwise": "off", | ||
"no-empty": "off", | ||
"no-nested-ternary": "off", | ||
"no-param-reassign": "off", | ||
"no-undef": "error", | ||
"no-underscore-dangle": "off", | ||
"no-unreachable": "warn", | ||
"no-unused-vars": "warn", | ||
"prefer-destructuring": "off", | ||
"prettier/prettier": "warn", | ||
"simple-import-sort/imports": [ | ||
"warn", | ||
{ | ||
"groups": [ | ||
[ | ||
"^\\u0000", | ||
"^@?\\w", | ||
"^[^.]", | ||
"^\\." | ||
] | ||
] | ||
} | ||
], | ||
"simple-import-sort/exports": "warn", | ||
"sort-imports": "off", | ||
"spaced-comment": "off", | ||
"unused-imports/no-unused-imports-ts": "warn" | ||
} | ||
} |
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,20 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"endOfLine": "lf", | ||
"overrides": [{ | ||
"files": [ | ||
"*.html" | ||
], | ||
"options": { | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"jsxBracketSameLine": true | ||
} | ||
}], | ||
"printWidth": 120, | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "es5", | ||
"useTabs": false | ||
} |
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,20 @@ | ||
{ | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-sass-guidelines", | ||
"stylelint-prettier/recommended" | ||
], | ||
"rules": { | ||
"declaration-block-no-duplicate-properties": null, | ||
"declaration-property-value-blacklist": null, | ||
"font-family-no-missing-generic-family-keyword": null, | ||
"max-nesting-depth": 20, | ||
"no-descending-specificity": null, | ||
"scss/at-extend-no-missing-placeholder": null, | ||
"scss/selector-no-redundant-nesting-selector": null, | ||
"selector-max-compound-selectors": null, | ||
"selector-max-id": null, | ||
"selector-no-qualifying-type": null, | ||
"selector-type-no-unknown": null | ||
} | ||
} |
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,11 +1,11 @@ | ||
language: node_js | ||
node_js: | ||
- "lts/*" | ||
- 'lts/*' | ||
services: | ||
- mongodb | ||
install: | ||
- npm install | ||
script: | ||
- npm run build | ||
- npm run coverage | ||
- npm run e2etests | ||
- npm run test:e2e |
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,9 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"HookyQR.beautify", | ||
"msjsdiag.debugger-for-chrome", | ||
"stylelint.vscode-stylelint" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,81 @@ | ||
{ | ||
"[markdown]": { | ||
"editor.formatOnSave": false | ||
}, | ||
"[html]": { | ||
"editor.defaultFormatter": "HookyQR.beautify" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | ||
"editor.formatOnSave": false | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "HookyQR.beautify" | ||
}, | ||
"[jsonc]": { | ||
"editor.defaultFormatter": "HookyQR.beautify" | ||
}, | ||
"[scss]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": false | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | ||
"editor.formatOnSave": false | ||
}, | ||
"beautify.config": { | ||
"end_with_newline": true, | ||
"indent_size": 2, | ||
"indent_with_tabs": false | ||
}, | ||
"beautify.language": { | ||
"js": { | ||
"ext": [ | ||
"json" | ||
] | ||
}, | ||
"html": [ | ||
"html" | ||
] | ||
}, | ||
"css.validate": false, | ||
"editor.codeActionsOnSave": { | ||
"source.addMissingImports": true, | ||
"source.fixAll": false, | ||
"source.fixAll.eslint": true, | ||
"source.fixAll.stylelint": true | ||
}, | ||
"editor.detectIndentation": false, | ||
"editor.formatOnSave": true, | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"eslint.alwaysShowStatus": true, | ||
"eslint.enable": true, | ||
"eslint.validate": [ | ||
"javascript", | ||
"typescript" | ||
], | ||
"files.eol": "\n", | ||
"git.ignoreLimitWarning": true, | ||
"search.exclude": { | ||
"dist": true, | ||
"html.format.enable": false, | ||
"html.format.endWithNewline": true, | ||
"html.format.maxPreserveNewLines": 1, | ||
"html.format.wrapAttributes": "aligned-multiple", | ||
"html.format.wrapLineLength": 120, | ||
"scss.validate": false, | ||
"stylelint.enable": true, | ||
"stylelint.validate": [ | ||
"css", | ||
"html", | ||
"markdown", | ||
"sass", | ||
"scss" | ||
], | ||
"typescript.tsdk": "./node_modules/typescript/lib", | ||
"files.exclude": { | ||
"**/node_modules": true | ||
}, | ||
"terminal.integrated.shellArgs.windows": [], | ||
"typescript.tsc.autoDetect": "off", | ||
"typescript.tsdk": "node_modules\\typescript\\lib", | ||
"jestTestExplorer.logpanel": true | ||
} | ||
"search.exclude": { | ||
"**/dist": 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const Server = require("./server"); | ||
const server_1 = require("./server"); | ||
// Entry point into server | ||
exports.default = (() => __awaiter(void 0, void 0, void 0, function* () { | ||
const app = yield Server.createApplication(); | ||
yield Server.startService(app); | ||
}))(); | ||
//# sourceMappingURL=api.js.map | ||
exports.default = (async () => { | ||
const app = await server_1.createApplication(); | ||
await server_1.startService(app); | ||
})(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Verb = exports.ServiceStatus = exports.LogLevel = void 0; | ||
var LogLevel; | ||
(function (LogLevel) { | ||
LogLevel[LogLevel["Error"] = 0] = "Error"; | ||
LogLevel[LogLevel["Info"] = 1] = "Info"; | ||
})(LogLevel = exports.LogLevel || (exports.LogLevel = {})); | ||
var ServiceStatus; | ||
(function (ServiceStatus) { | ||
ServiceStatus[ServiceStatus["online"] = 1] = "online"; | ||
ServiceStatus[ServiceStatus["offline"] = 2] = "offline"; | ||
ServiceStatus[ServiceStatus["noNewSyncs"] = 3] = "noNewSyncs"; | ||
})(ServiceStatus = exports.ServiceStatus || (exports.ServiceStatus = {})); | ||
var Verb; | ||
(function (Verb) { | ||
Verb["delete"] = "delete"; | ||
Verb["get"] = "get"; | ||
Verb["options"] = "options"; | ||
Verb["patch"] = "patch"; | ||
Verb["post"] = "post"; | ||
Verb["put"] = "put"; | ||
})(Verb = exports.Verb || (exports.Verb = {})); |
Oops, something went wrong.