1
0
Fork 0

Merge branch 'master' into features/core

pull/4/head
Jonathan Clem 2019-05-21 10:49:19 -04:00
commit 4090b77772
No known key found for this signature in database
GPG Key ID: 48C5B22E9FD6E80F
5 changed files with 954 additions and 4 deletions

20
.eslintrc.json Normal file
View File

@ -0,0 +1,20 @@
{
"plugins": ["jest", "@typescript-eslint"],
"extends": ["plugin:github/es6"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"rules": {
"no-unused-vars": "off",
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
}
}

View File

@ -1,6 +1,6 @@
workflow "CI" {
on = "push"
resolves = ["Format", "Test"]
resolves = ["Format", "Lint", "Test"]
}
action "Dependencies" {
@ -26,6 +26,12 @@ action "Format" {
args = "run format-check"
}
action "Lint" {
needs = "Dependencies"
uses = "actions/npm@v2.0.0"
args = "run lint"
}
action "Test" {
needs = "Compile"
uses = "actions/npm@v2.0.0"

922
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,10 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run tsc",
"check-all": "concurrently \"npm:format-check\" \"npm:lint\" \"npm:test\" \"npm:build -- -- --noEmit\"",
"format": "prettier --write packages/**/*.ts",
"format-check": "prettier --check packages/**/*.ts",
"lint": "eslint packages/*/src/**/*.ts",
"new-package": "scripts/create-package",
"test": "jest"
},
@ -13,6 +15,11 @@
"@types/jest": "^24.0.11",
"@types/node": "^11.13.5",
"@types/signale": "^1.2.1",
"@typescript-eslint/parser": "^1.9.0",
"concurrently": "^4.1.0",
"eslint": "^5.16.0",
"eslint-plugin-github": "^2.0.0",
"eslint-plugin-jest": "^22.5.1",
"jest": "^24.7.1",
"jest-circus": "^24.7.1",
"lerna": "^3.13.3",

View File

@ -1,6 +1,5 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "commonjs",
"strict": true,
"declaration": true,