Skip to content

Commit

Permalink
mgr/dashboard: Fix npm run fixmod
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Nawracay <[email protected]>
  • Loading branch information
p-se committed May 29, 2019
1 parent bc49c2e commit 6814516
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 11 deletions.
125 changes: 115 additions & 10 deletions src/pybind/mgr/dashboard/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/pybind/mgr/dashboard/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lint": "npm run lint:tsc && npm run lint:tslint && npm run lint:prettier && npm run lint:html",
"fix:prettier": "prettier --write \"{src,e2e}/**/*.{ts,scss}\"",
"fix:tslint": "npm run lint:tslint -- --fix",
"fixmod": "prettier --write $(git rev-parse --show-toplevel)/$(git status --porcelain | grep -E '^(\\sM|\\?\\?|A)' | sed -e 's/^...//' | grep -E '^(src|e2e).*\\.(ts|scss)$') 1>/dev/null 2>&1 && echo 'done' || echo 'no changes found'",
"fixmod": "pretty-quick --pattern \"{src,e2e}/**/*.{ts,scss}\" --branch HEAD",
"fix": "npm run fix:tslint; npm run fix:prettier",
"compodoc": "compodoc",
"doc-build": "compodoc -p src/tsconfig.app.json",
Expand Down Expand Up @@ -106,6 +106,7 @@
"jest-preset-angular": "6.0.2",
"jest-silent-reporter": "0.1.2",
"prettier": "1.16.4",
"pretty-quick": "^1.11.0",
"protractor": "5.4.2",
"protractor-screenshoter-plugin": "0.10.3",
"replace-in-file": "3.4.3",
Expand Down

0 comments on commit 6814516

Please sign in to comment.