chore: 🤖 execute linting and testing with npm-run-all

This commit is contained in:
Randall Morey committed 2020-11-16 14:39:06 -05:00
1 parent 63e3596ee1
commit 7874817710
6 files changed
+32 -32

No files matched your search

+12 -12
View File
@@ -19,18 +19,18 @@
"build": "yarn build:ui:core",
"build:ui:core": "cd ui/core && yarn build",
"build:ui:desktop": "cd ui/desktop && yarn build",
"lint": "yarn lint:addons:api && yarn lint:addons:auth && yarn lint:addons:rose && yarn lint:ui:core",
"lint:addons:api": "echo \"\n\nlint: addons/api\n\" && cd addons/api && yarn lint",
"lint:addons:auth": "echo \"\n\nlint: addons/auth\n\" && cd addons/auth && yarn lint",
"lint:addons:rose": "echo \"\n\nlint: addons/rose\n\" && cd addons/rose && yarn lint",
"lint:ui:core": "echo \"\n\nlint: ui/core\n\" && cd ui/core && yarn lint",
"lint:ui:desktop": "echo \"\n\nlint: ui/desktop\n\" && cd ui/desktop && yarn lint",
"test": "yarn test:addons:api && yarn test:addons:auth && yarn test:addons:rose && yarn test:ui:core",
"test:addons:api": "echo \"\n\ntest: addons/api\n\" && cd addons/api && yarn test",
"test:addons:auth": "echo \"\n\ntest: addons/auth\n\" && cd addons/auth && yarn test",
"test:addons:rose": "echo \"\n\ntest: addons/rose\n\" && cd addons/rose && yarn test",
"test:ui:core": "echo \"\n\ntest: ui/core\n\" && cd ui/core && yarn test",
"test:ui:desktop": "echo \"\n\ntest: ui/desktop\n\" && cd ui/desktop && yarn test",
"lint": "npm-run-all lint:*",
"lint:addons-api": "cd addons/api && yarn lint",
"lint:addons-auth": "cd addons/auth && yarn lint",
"lint:addons-rose": "cd addons/rose && yarn lint",
"lint:ui-core": "cd ui/core && yarn lint",
"lint:ui-desktop": "cd ui/desktop && yarn lint",
"test": "npm-run-all test:*",
"test:addons-api": "cd addons/api && yarn test",
"test:addons-auth": "cd addons/auth && yarn test",
"test:addons-rose": "cd addons/rose && yarn test",
"test:ui-core": "cd ui/core && yarn test",
"test:ui-desktop": "cd ui/desktop && yarn test",
"compliance:audit": "bash ./scripts/yarn-audit.sh",
"precommit": "yarn compliance:licenses && yarn compliance:audit && yarn lint && yarn test",
"commit": "git-cz",
+3 -3
View File
@@ -44,8 +44,8 @@
}
.rose-dropdown {
$iconWidth: sizing.rems(m) + sizing.rems(s);
$indent: $iconWidth + sizing.rems(xs);
$icon-width: sizing.rems(m) + sizing.rems(s);
$indent: $icon-width + sizing.rems(xs);
.rose-form-radio-label {
display: flex;
@@ -63,7 +63,7 @@
.indent-label-2 {
.rose-form-radio-label {
padding-left: $indent + $iconWidth;
padding-left: $indent + $icon-width;
}
}
+2 -2
View File
@@ -17,7 +17,7 @@
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"lint:sass": "sass-lint -v -q",
"format": "yarn format:js && npm run format:sass",
"format": "npm-run-all format:*",
"format:js": "prettier --write '{app,config,stories,tests}/**/*.js' *.js",
"format:sass": "prettier --write app/**/*.scss",
"start": "ember serve",
@@ -87,7 +87,7 @@
"faker": "^4.1.0",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"prettier": "^2.1.2",
"qunit-dom": "^1.2.0",
"rose": "*",
"sass": "^1.26.5",
+1 -1
View File
@@ -17,7 +17,7 @@
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"lint:sass": "sass-lint -v -q",
"format": "yarn format:js && npm run format:sass",
"format": "npm-run-all format:*",
"format:js": "prettier --write '{app,config,stories,tests}/**/*.js' *.js",
"format:sass": "prettier --write app/**/*.scss",
"start": "ember serve",
@@ -2,20 +2,20 @@ import { module, test } from 'qunit';
import {
visit,
currentURL,
fillIn,
click,
//fillIn,
//click,
find,
findAll,
getRootElement
//findAll,
//getRootElement
//setupOnerror,
} from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
import { Response } from 'miragejs';
//import { Response } from 'miragejs';
//import a11yAudit from 'ember-a11y-testing/test-support/audit';
import {
currentSession,
authenticateSession,
//authenticateSession,
invalidateSession,
} from 'ember-simple-auth/test-support';
+8 -8
View File
@@ -2,20 +2,20 @@ import { module, test } from 'qunit';
import {
visit,
currentURL,
fillIn,
click,
find,
findAll,
getRootElement
//fillIn,
//click,
//find,
//findAll,
//getRootElement
//setupOnerror,
} from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
import { Response } from 'miragejs';
//import { Response } from 'miragejs';
//import a11yAudit from 'ember-a11y-testing/test-support/audit';
import {
currentSession,
authenticateSession,
//currentSession,
//authenticateSession,
invalidateSession,
} from 'ember-simple-auth/test-support';