You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2019/01/29 06:42:12 UTC

[ignite] branch master updated: IGNITE-11034 Web Console: TS linter updated. (#5939)

This is an automated email from the ASF dual-hosted git repository.

anovikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new e99803f  IGNITE-11034 Web Console: TS linter updated. (#5939)
e99803f is described below

commit e99803f4d04c346c55824fb48d6a4d92115d4431
Author: Alexander Kalinin <ve...@yandex.ru>
AuthorDate: Tue Jan 29 13:42:05 2019 +0700

    IGNITE-11034 Web Console: TS linter updated. (#5939)
    
    * IGNITE-11034. Web Console: AngularJS dep updated.
    * IGNITE-11034. Web Console: Get rid of npm eslint command.
    * IGNITE-11034 Fix missing landing carousel items.
---
 modules/web-console/frontend/.eslintrc             |  4 ++--
 .../app/components/page-landing/template.pug       |  2 +-
 modules/web-console/frontend/package.json          | 25 +++++++++++-----------
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/modules/web-console/frontend/.eslintrc b/modules/web-console/frontend/.eslintrc
index 8f6bf20..0cfc9a2 100644
--- a/modules/web-console/frontend/.eslintrc
+++ b/modules/web-console/frontend/.eslintrc
@@ -1,7 +1,7 @@
-parser: "typescript-eslint-parser"
+parser: '@typescript-eslint/parser'
 
 plugins:
-    - typescript
+    - '@typescript-eslint'
 
 env:
     es6: true
diff --git a/modules/web-console/frontend/app/components/page-landing/template.pug b/modules/web-console/frontend/app/components/page-landing/template.pug
index bf926fa..ffbc3f2 100644
--- a/modules/web-console/frontend/app/components/page-landing/template.pug
+++ b/modules/web-console/frontend/app/components/page-landing/template.pug
@@ -24,7 +24,7 @@ section.intro-container-wrapper
         .col-lg-6.col-md-6.col-sm-6.col-xs-12
             ui-carousel(slides='$ctrl.images' autoplay='true' slides-to-show='1' arrows='false')
                 carousel-item
-                    img(ng-src='{{item}}')
+                    img(src='{{item}}')
 section.features-container-wrapper
     .container.features-container
         .section-title The Web Console allows you to:
diff --git a/modules/web-console/frontend/package.json b/modules/web-console/frontend/package.json
index aa6e037..1dc258f 100644
--- a/modules/web-console/frontend/package.json
+++ b/modules/web-console/frontend/package.json
@@ -9,8 +9,7 @@
     "dev": "npm start",
     "build": "webpack --config ./webpack/webpack.prod.js",
     "test": "karma start ./test/karma.conf.js",
-    "test-watch": "npm test -- --no-single-run",
-    "eslint": "eslint --ignore-pattern node_modules/ --format node_modules/eslint-formatter-friendly . -- --eff-by-issue"
+    "test-watch": "npm test -- --no-single-run"
   },
   "license": "Apache-2.0",
   "keywords": [
@@ -32,17 +31,17 @@
     "@uirouter/core": "5.0.19",
     "@uirouter/rx": "0.5.0",
     "@uirouter/visualizer": "4.0.2",
-    "angular": "1.7.4",
+    "angular": "1.7.6",
     "angular-acl": "0.1.10",
-    "angular-animate": "1.7.4",
-    "angular-aria": "1.7.4",
-    "angular-cookies": "1.7.4",
+    "angular-animate": "1.7.6",
+    "angular-aria": "1.7.6",
+    "angular-cookies": "1.7.6",
     "angular-drag-and-drop-lists": "1.4.0",
     "angular-gridster": "0.13.14",
-    "angular-messages": "1.7.4",
+    "angular-messages": "1.7.6",
     "angular-motion": "0.4.4",
     "angular-nvd3": "1.0.9",
-    "angular-sanitize": "1.7.4",
+    "angular-sanitize": "1.7.6",
     "angular-smart-table": "2.1.11",
     "angular-strap": "2.3.12",
     "angular-translate": "2.18.1",
@@ -97,7 +96,9 @@
     "@types/ui-grid": "0.0.38",
     "@types/webpack": "4.4.11",
     "@types/webpack-merge": "4.1.3",
-    "angular-mocks": "1.7.4",
+    "@typescript-eslint/eslint-plugin": "1.1.0",
+    "@typescript-eslint/parser": "1.1.0",
+    "angular-mocks": "1.7.6",
     "app-root-path": "2.0.1",
     "babel-loader": "8.0.2",
     "bootstrap-sass": "3.3.7",
@@ -105,10 +106,9 @@
     "chalk": "2.1.0",
     "copy-webpack-plugin": "4.5.2",
     "css-loader": "0.28.7",
-    "eslint": "4.19.1",
+    "eslint": "5.12.1",
     "eslint-formatter-friendly": "6.0.0",
     "eslint-loader": "2.1.0",
-    "eslint-plugin-typescript": "0.12.0",
     "expose-loader": "0.7.5",
     "file-loader": "1.1.11",
     "glob": "7.1.2",
@@ -141,8 +141,7 @@
     "style-loader": "0.19.0",
     "svg-sprite-loader": "3.9.2",
     "teamcity-service-messages": "0.1.9",
-    "typescript": "3.0.3",
-    "typescript-eslint-parser": "19.0.1",
+    "typescript": "3.2.4",
     "uglifyjs-webpack-plugin": "1.3.0",
     "webpack": "4.19.1",
     "webpack-cli": "3.1.0",