You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@zeppelin.apache.org by "tbonelee (via GitHub)" <gi...@apache.org> on 2025/10/22 17:20:59 UTC

[PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

tbonelee opened a new pull request, #5109:
URL: https://github.com/apache/zeppelin/pull/5109

   ### What is this PR for?
   
   This PR bumps Angular from 9 to 13 and updates related dependencies in zeppelin-web-angular.
   
   It addresses:
   - https://issues.apache.org/jira/browse/ZEPPELIN-6349
   - https://issues.apache.org/jira/browse/ZEPPELIN-6227 (except the custom TSLint rules)
   
   I removed the zeppelin-helium and helium-vis-example projects in this PR. The Angular rewrite of Helium was never completed, it’s currently unused, and it introduced circular-dependency-related stack overflows during the application build. Given that, removing these modules is the safer choice.
   
   ### What type of PR is it?
   Chore
   
   ### Todos
   * [x] - Bump Angular version
   * [x] - Migrate TSLint to ESLint
   * [x] - Fix deprecated code usages
   * [x] - Bump other minor dependencies
   * [x] - Remove `zeppelin-helium` and `helium-vis-example`
   
   ### What is the Jira issue?
   
   [ZEPPELIN-6349](https://issues.apache.org/jira/browse/ZEPPELIN-6349)
   
   ### How should this be tested?
   - Run E2E tests
   - Manual tests across various pages
   - Verify `serve` (dev server), `build`, and `lint` work as expected
   
   ### Questions:
   * Does the license files need to update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#issuecomment-3445442355

   https://github.com/dididy/zeppelin/actions/runs/18786968912
   
   https://github.com/dididy/zeppelin/commits/pr/5109-e2e-2/
   
   I created a new branch based on current PR, merged #5101, #5102, and #5105 into it, and ran the tests — all of them passed. Since the core notebook-related features in Zeppelin are functioning properly, it seems there are no major issues. Great work!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2456005123


##########
zeppelin-web-angular/src/assets/classic-visualization-templates/columnselector_settings.html:
##########
@@ -12,21 +12,50 @@
 limitations under the License.
 -->
 <div
-  style="border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05); margin-top: 10px; margin-bottom: 11px; background-color: #fff;"
+  style="
+    border: 1px solid #ddd;
+    border-radius: 4px;
+    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
+    margin-top: 10px;
+    margin-bottom: 11px;
+    background-color: #fff;
+  "
 >
   <div
-    style="background-color: #f5f5f5; border-bottom: 1px solid #ddd; border-radius: 3px 3px 0 0; padding: 6px 12px 6px 12px; font-size: 13px;"
+    style="
+      background-color: #f5f5f5;
+      border-bottom: 1px solid #ddd;
+      border-radius: 3px 3px 0 0;
+      padding: 6px 12px 6px 12px;
+      font-size: 13px;
+    "
   >
-    <span style="vertical-align: middle; display: inline-block; margin-top: 3px; color: #333;">Available Fields</span>
-    <div style="clear: both;"></div>
+    <span style="vertical-align: middle; display: inline-block; margin-top: 3px; color: #333">Available Fields</span>

Review Comment:
   Then I think we can consider this part later. Thanks!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2456522007


##########
zeppelin-web-angular/src/app/app-runtime-compiler.providers.ts:
##########


Review Comment:
   Thank you for checking instead. As you mentioned, since replacing it isn’t straightforward, I think it’s fine to leave it as is if there are no issues with its functionality. Deprecating the Angular interpreter for this would mean we won’t be able to upgrade it in the future, so that doesn’t seem like a good approach.
   
   I’ve confirmed that all the reviews I left earlier are functioning correctly. Thank you for the great work, and I’ll take a closer look before approving. Thanks again.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2454692576


##########
zeppelin-web-angular/package.json:
##########
@@ -78,28 +80,31 @@
     "@types/node": "~12.19.16",
     "@types/parse5": "^5.0.2",
     "@types/webpack-env": "^1.18.8",
-    "codelyzer": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "5.27.1",
+    "@typescript-eslint/parser": "5.27.1",
     "cross-env": "^10.1.0",
-    "dotenv": "^8.0.0",
+    "dotenv": "^17.2.3",
+    "eslint": "^8.17.0",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jsdoc": "^50.8.0",
+    "eslint-plugin-prefer-arrow": "^1.2.3",
     "https-proxy-agent": "^2.2.1",
     "husky": "9.1.7",
-    "lint-staged": "^8.1.6",
+    "lint-staged": "^15.5.2",
     "monaco-editor-webpack-plugin": "6.0.0",
-    "ng-packagr": "^9.1.5",
-    "ngx-build-plus": "^9.0.6",
-    "nz-tslint-rules": "^0.800.2",
-    "prettier": "^1.17.0",
-    "protractor": "~5.4.0",
+    "ng-packagr": "^13.3.1",
+    "ngx-build-plus": "^13.0.1",
+    "nz-tslint-rules": "^0.901.0",
+    "prettier": "^3.6.2",
     "scandirectory": "8.1.1",
     "ts-node": "~7.0.0",
-    "tsickle": "0.38.1",
-    "tslint": "~5.15.0",
     "tslint-no-circular-imports": "^0.7.0",

Review Comment:
   If you're removing TSLint, I think you can also remove `nz-tslint-rules` and `tslint-no-circular-imports`.
   For any custom rules, you can either add them as ESLint rules if possible, or create an issue for them if not.
   
   After that, you can remove the `tslint-rule` folder and the postinstall build step (`npm run build:tslint-rules`), and update the `lint` and `lint:fix` scripts to use ESLint instead.
   
   It seems that `src/tslint.json` should be removed as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee merged PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455947238


##########
zeppelin-web-angular/src/assets/classic-visualization-templates/columnselector_settings.html:
##########
@@ -12,21 +12,50 @@
 limitations under the License.
 -->
 <div
-  style="border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05); margin-top: 10px; margin-bottom: 11px; background-color: #fff;"
+  style="
+    border: 1px solid #ddd;
+    border-radius: 4px;
+    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
+    margin-top: 10px;
+    margin-bottom: 11px;
+    background-color: #fff;
+  "
 >
   <div
-    style="background-color: #f5f5f5; border-bottom: 1px solid #ddd; border-radius: 3px 3px 0 0; padding: 6px 12px 6px 12px; font-size: 13px;"
+    style="
+      background-color: #f5f5f5;
+      border-bottom: 1px solid #ddd;
+      border-radius: 3px 3px 0 0;
+      padding: 6px 12px 6px 12px;
+      font-size: 13px;
+    "
   >
-    <span style="vertical-align: middle; display: inline-block; margin-top: 3px; color: #333;">Available Fields</span>
-    <div style="clear: both;"></div>
+    <span style="vertical-align: middle; display: inline-block; margin-top: 3px; color: #333">Available Fields</span>

Review Comment:
   I think maybe `printWidth` option do that work. Also, as we use (almost) the latest prettier now, we won't face major reformatting for a while.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455496905


##########
zeppelin-web-angular/package.json:
##########
@@ -78,28 +80,31 @@
     "@types/node": "~12.19.16",
     "@types/parse5": "^5.0.2",
     "@types/webpack-env": "^1.18.8",
-    "codelyzer": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "5.27.1",
+    "@typescript-eslint/parser": "5.27.1",
     "cross-env": "^10.1.0",
-    "dotenv": "^8.0.0",
+    "dotenv": "^17.2.3",
+    "eslint": "^8.17.0",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jsdoc": "^50.8.0",
+    "eslint-plugin-prefer-arrow": "^1.2.3",
     "https-proxy-agent": "^2.2.1",
     "husky": "9.1.7",
-    "lint-staged": "^8.1.6",
+    "lint-staged": "^15.5.2",
     "monaco-editor-webpack-plugin": "6.0.0",
-    "ng-packagr": "^9.1.5",
-    "ngx-build-plus": "^9.0.6",
-    "nz-tslint-rules": "^0.800.2",
-    "prettier": "^1.17.0",
-    "protractor": "~5.4.0",
+    "ng-packagr": "^13.3.1",
+    "ngx-build-plus": "^13.0.1",
+    "nz-tslint-rules": "^0.901.0",
+    "prettier": "^3.6.2",
     "scandirectory": "8.1.1",
     "ts-node": "~7.0.0",
-    "tsickle": "0.38.1",
-    "tslint": "~5.15.0",
     "tslint-no-circular-imports": "^0.7.0",

Review Comment:
   https://issues.apache.org/jira/browse/ZEPPELIN-6372
   I’ve opened an issue for this, and I’ll add it later.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455429559


##########
zeppelin-web-angular/projects/zeppelin-sdk/.eslintrc.json:
##########
@@ -0,0 +1,35 @@
+{
+  "extends": "../../.eslintrc.json",
+  "ignorePatterns": ["!**/*"],
+  "overrides": [
+    {
+      "files": ["*.ts"],
+      "parserOptions": {
+        "project": ["projects/zeppelin-sdk/tsconfig.lib.json", "projects/zeppelin-sdk/tsconfig.spec.json"],

Review Comment:
   https://github.com/apache/zeppelin/actions/runs/18752067872/job/53494105014?pr=5109
   
   It seems like a good direction, but this might be the reason why the e2e tests are failing.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455646751


##########
zeppelin-web-angular/src/assets/classic-visualization-templates/columnselector_settings.html:
##########
@@ -12,21 +12,50 @@
 limitations under the License.
 -->
 <div
-  style="border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05); margin-top: 10px; margin-bottom: 11px; background-color: #fff;"
+  style="
+    border: 1px solid #ddd;
+    border-radius: 4px;
+    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
+    margin-top: 10px;
+    margin-bottom: 11px;
+    background-color: #fff;
+  "
 >
   <div
-    style="background-color: #f5f5f5; border-bottom: 1px solid #ddd; border-radius: 3px 3px 0 0; padding: 6px 12px 6px 12px; font-size: 13px;"
+    style="
+      background-color: #f5f5f5;
+      border-bottom: 1px solid #ddd;
+      border-radius: 3px 3px 0 0;
+      padding: 6px 12px 6px 12px;
+      font-size: 13px;
+    "
   >
-    <span style="vertical-align: middle; display: inline-block; margin-top: 3px; color: #333;">Available Fields</span>
-    <div style="clear: both;"></div>
+    <span style="vertical-align: middle; display: inline-block; margin-top: 3px; color: #333">Available Fields</span>

Review Comment:
   It would be nice to have a consistent rule for this as well, since in some cases the styles are aligned with line breaks and in others they are not.
   



##########
zeppelin-web-angular/src/polyfills.ts:
##########
@@ -84,8 +74,8 @@
 /***************************************************************************************************
  * Zone JS is required by default for Angular itself.
  */
-// tslint:disable
-import 'zone.js/dist/zone'; // Included with Angular CLI.
+/* eslint-disable */

Review Comment:
   Does this really need to be here? It seems like removing it wouldn’t cause any issues.
   



##########
zeppelin-web-angular/src/app/app-runtime-compiler.providers.ts:
##########


Review Comment:
   <img width="634" height="190" alt="Image" src="https://github.com/user-attachments/assets/e32c9f99-24b6-42b6-8c9e-c678647f195f" />
   
   How about replacing the JIT-based `RUNTIME_COMPILER_PROVIDERS` with an Ivy-compatible approach?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2456237582


##########
zeppelin-web-angular/projects/zeppelin-sdk/.eslintrc.json:
##########
@@ -0,0 +1,35 @@
+{
+  "extends": "../../.eslintrc.json",
+  "ignorePatterns": ["!**/*"],
+  "overrides": [
+    {
+      "files": ["*.ts"],
+      "parserOptions": {
+        "project": ["projects/zeppelin-sdk/tsconfig.lib.json", "projects/zeppelin-sdk/tsconfig.spec.json"],

Review Comment:
   I added path mapping in `e2e/tsconfig.json` and it seems to work.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455408551


##########
zeppelin-web-angular/package.json:
##########
@@ -78,28 +80,31 @@
     "@types/node": "~12.19.16",
     "@types/parse5": "^5.0.2",
     "@types/webpack-env": "^1.18.8",
-    "codelyzer": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "5.27.1",
+    "@typescript-eslint/parser": "5.27.1",
     "cross-env": "^10.1.0",
-    "dotenv": "^8.0.0",
+    "dotenv": "^17.2.3",
+    "eslint": "^8.17.0",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jsdoc": "^50.8.0",
+    "eslint-plugin-prefer-arrow": "^1.2.3",
     "https-proxy-agent": "^2.2.1",
     "husky": "9.1.7",
-    "lint-staged": "^8.1.6",
+    "lint-staged": "^15.5.2",
     "monaco-editor-webpack-plugin": "6.0.0",
-    "ng-packagr": "^9.1.5",
-    "ngx-build-plus": "^9.0.6",
-    "nz-tslint-rules": "^0.800.2",
-    "prettier": "^1.17.0",
-    "protractor": "~5.4.0",
+    "ng-packagr": "^13.3.1",
+    "ngx-build-plus": "^13.0.1",
+    "nz-tslint-rules": "^0.901.0",
+    "prettier": "^3.6.2",
     "scandirectory": "8.1.1",
     "ts-node": "~7.0.0",
-    "tsickle": "0.38.1",
-    "tslint": "~5.15.0",
     "tslint-no-circular-imports": "^0.7.0",

Review Comment:
   I’ve removed all TSLint-related code for now. If we need any custom lint rules, we can re-implement them later.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455658642


##########
zeppelin-web-angular/src/polyfills.ts:
##########
@@ -84,8 +74,8 @@
 /***************************************************************************************************
  * Zone JS is required by default for Angular itself.
  */
-// tslint:disable
-import 'zone.js/dist/zone'; // Included with Angular CLI.
+/* eslint-disable */

Review Comment:
   Does this(eslint-disable) need to be here? It seems like removing it wouldn’t cause any issues.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2454652343


##########
zeppelin-web-angular/projects/zeppelin-visualization/.eslintrc.json:
##########
@@ -0,0 +1,38 @@
+{
+  "extends": "../../.eslintrc.json",
+  "ignorePatterns": ["!**/*"],
+  "overrides": [
+    {
+      "files": ["*.ts"],
+      "parserOptions": {
+        "project": [
+          "projects/zeppelin-visualization/tsconfig.lib.json",
+          "projects/zeppelin-visualization/tsconfig.spec.json"

Review Comment:
   ```suggestion
             "zeppelin-web-angular/projects/zeppelin-visualization/tsconfig.lib.json",
             "zeppelin-web-angular/projects/zeppelin-visualization/tsconfig.spec.json"
   ```
   
   <img width="548" height="80" alt="Image" src="https://github.com/user-attachments/assets/8210d411-02d4-437b-910c-b4478dca819e" />



##########
zeppelin-web-angular/projects/zeppelin-sdk/.eslintrc.json:
##########
@@ -0,0 +1,35 @@
+{
+  "extends": "../../.eslintrc.json",
+  "ignorePatterns": ["!**/*"],
+  "overrides": [
+    {
+      "files": ["*.ts"],
+      "parserOptions": {
+        "project": ["projects/zeppelin-sdk/tsconfig.lib.json", "projects/zeppelin-sdk/tsconfig.spec.json"],

Review Comment:
   ```suggestion
           "project": ["zeppelin-web-angular/projects/zeppelin-sdk/tsconfig.lib.json", "zeppelin-web-angular/projects/zeppelin-sdk/tsconfig.spec.json"],
   ```
   
   <img width="637" height="67" alt="Image" src="https://github.com/user-attachments/assets/be9c53f0-41e6-45eb-a956-a1f53004e411" />



##########
zeppelin-web-angular/.browserslistrc:
##########


Review Comment:
   It seems that `.browserslistrc` exists in both `zeppelin-web-angular/` and `zeppelin-web-angular/src/`. Aside from comments, there doesn’t appear to be any difference between them. So I think it should be fine to keep just one of them.



##########
zeppelin-web-angular/src/app/pages/workspace/share/result/result.component.ts:
##########
@@ -26,7 +26,7 @@ import {
   ViewContainerRef
 } from '@angular/core';
 import { DomSanitizer, SafeHtml, SafeUrl } from '@angular/platform-browser';
-import { default as AnsiUp } from 'ansi_up';
+import { AnsiUp } from 'ansi_up';

Review Comment:
   <img width="387" height="84" alt="Image" src="https://github.com/user-attachments/assets/e46013de-1924-435a-b184-15ea5632a269" />
   
   It seems like type definitions and related setup for **ansi_up** are required.



##########
zeppelin-web-angular/package.json:
##########
@@ -78,28 +80,31 @@
     "@types/node": "~12.19.16",
     "@types/parse5": "^5.0.2",
     "@types/webpack-env": "^1.18.8",
-    "codelyzer": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "5.27.1",
+    "@typescript-eslint/parser": "5.27.1",
     "cross-env": "^10.1.0",
-    "dotenv": "^8.0.0",
+    "dotenv": "^17.2.3",
+    "eslint": "^8.17.0",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jsdoc": "^50.8.0",
+    "eslint-plugin-prefer-arrow": "^1.2.3",
     "https-proxy-agent": "^2.2.1",
     "husky": "9.1.7",
-    "lint-staged": "^8.1.6",
+    "lint-staged": "^15.5.2",
     "monaco-editor-webpack-plugin": "6.0.0",
-    "ng-packagr": "^9.1.5",
-    "ngx-build-plus": "^9.0.6",
-    "nz-tslint-rules": "^0.800.2",
-    "prettier": "^1.17.0",
-    "protractor": "~5.4.0",
+    "ng-packagr": "^13.3.1",
+    "ngx-build-plus": "^13.0.1",
+    "nz-tslint-rules": "^0.901.0",
+    "prettier": "^3.6.2",
     "scandirectory": "8.1.1",
     "ts-node": "~7.0.0",
-    "tsickle": "0.38.1",
-    "tslint": "~5.15.0",
     "tslint-no-circular-imports": "^0.7.0",

Review Comment:
   If we’re removing TSLint, I think we can also remove `nz-tslint-rules` and `tslint-no-circular-imports`.
   For any custom rules, we can either add them as ESLint rules if possible, or create an issue for them if not.
   
   After that, you can remove the `tslint-rule` folder and the postinstall build step (`npm run build:tslint-rules`), and update the `lint` and `lint:fix` scripts to use ESLint instead.
   
   It seems that `src/tslint.json` should be removed as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455658642


##########
zeppelin-web-angular/src/polyfills.ts:
##########
@@ -84,8 +74,8 @@
 /***************************************************************************************************
  * Zone JS is required by default for Angular itself.
  */
-// tslint:disable
-import 'zone.js/dist/zone'; // Included with Angular CLI.
+/* eslint-disable */

Review Comment:
   Does this(eslint-disable) need to be here? It seems like removing it wouldn’t cause any issues.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2456325507


##########
zeppelin-web-angular/src/app/app-runtime-compiler.providers.ts:
##########


Review Comment:
   I think replacing this with reliable, public APIs won't be straightforward. The Angular team has opposed exposing a runtime API that compiles string templates for security and performance reasons.
   (https://github.com/angular/angular-cli/issues/9306#issuecomment-378081686)
   
   We've also had to implement workarounds for related runtime-compiler/AOT issue. (https://github.com/apache/zeppelin/pull/4809)
   
   Given that, we may consider alternative approaches to rendering dynamic templates with data binding.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2456353744


##########
zeppelin-web-angular/src/app/app-runtime-compiler.providers.ts:
##########


Review Comment:
   , or else we could deprecate `%angular` interpreter.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2452941377


##########
zeppelin-web-angular/projects/zeppelin-sdk/src/interfaces/message-data-type-map.interface.ts:
##########
@@ -84,7 +84,7 @@ import { JobManagerDisabled, ListNoteJobs, ListUpdateNoteJobs } from './message-
 import { InterpreterBindings, InterpreterSetting } from './message-interpreter.interface';
 import { OP } from './message-operator.interface';
 
-export type MixMessageDataTypeMap = MessageSendDataTypeMap & MessageReceiveDataTypeMap;
+export type MessageDataTypeMap = MessageSendDataTypeMap | MessageReceiveDataTypeMap;

Review Comment:
   - After upgrading to TS4, using an intersection of send/receive maps caused overlapping `OP` keys (e.g. `LIST_NOTE_JOBS`) to intersect their payload types (e.g. `undefined & ListNoteJobs`), producing `never`.
   - This broke `WebSocketMessage<keyof MessageSendDataTypeMap>` because `MixMessageTypeMap[K]` evaluated to `never` for some `K`, leading to generic constraint errors (TS2344) and lost inference.
   - Switching `MixMessageTypeMap` to a union `(Send | Receive)` restores correct indexed access `(Send[K] | Receive[K])` and fixes the errors.
   - Also updated `WebSocketMessage` to a discriminated-union friendly form for stable inference. (Type-only change; no runtime impact.)
   
   ### Note
   To learn how applying `keyof` operator to union type or intersection type works, see https://effectivetypescript.com/2024/08/30/keyof-puzzle/



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2452941377


##########
zeppelin-web-angular/projects/zeppelin-sdk/src/interfaces/message-data-type-map.interface.ts:
##########
@@ -84,7 +84,7 @@ import { JobManagerDisabled, ListNoteJobs, ListUpdateNoteJobs } from './message-
 import { InterpreterBindings, InterpreterSetting } from './message-interpreter.interface';
 import { OP } from './message-operator.interface';
 
-export type MixMessageDataTypeMap = MessageSendDataTypeMap & MessageReceiveDataTypeMap;
+export type MessageDataTypeMap = MessageSendDataTypeMap | MessageReceiveDataTypeMap;

Review Comment:
   - After upgrading to TS4, using an intersection of send/receive maps caused overlapping `OP` keys (e.g. `LIST_NOTE_JOBS`) to intersect their payload types (e.g. `undefined & ListNoteJobs`), producing `never`.
   - This broke `WebSocketMessage<keyof MessageSendDataTypeMap>` because `MixMessageTypeMap[K]` evaluated to `never` for some `K`, leading to generic constraint errors (TS2344) and lost inference.
   - Switching `MixMessageTypeMap` to a union `(Send | Receive)` restores correct indexed access `(Send[K] | Receive[K])` and fixes the errors.
   - Also updated `WebSocketMessage` to a discriminated-union friendly form for stable inference. (Type-only change; no runtime impact.)
   
   ### Note
   To learn how applying `keyof` operator to union type or intersection type works, see https://effectivetypescript.com/2024/08/30/keyof-puzzle/
   #### TL;DR
   - `keyof (A & B)` = `(keyof A) | (keyof B)`
   - `keyof (A | B)` = `(keyof A) & (keyof B)`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2453297984


##########
zeppelin-web-angular/package.json:
##########
@@ -5,16 +5,14 @@
     "prepare": "cd .. && husky",
     "postinstall": "npm run build:projects && npm run build:tslint-rules",
     "ng": "./node_modules/.bin/ng",
-    "start": "cross-env NODE_OPTIONS=--openssl-legacy-provider ng serve --proxy-config proxy.conf.js --extra-webpack-config webpack.partial.js",
-    "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider ng build --prod --extra-webpack-config webpack.partial.js",
+    "start": "ng serve --proxy-config proxy.conf.js --extra-webpack-config webpack.partial.js",
+    "build": "ng build --configuration production --extra-webpack-config webpack.partial.js",
     "build:tslint-rules": "tsc -p tslint-rules/tsconfig.json",
-    "build:projects": "npm run build-project:sdk && npm run build-project:vis && npm run build-project:helium",
-    "build-helium-vis-example": " ng build --project helium-vis-example",
-    "build-project:sdk": " ng build --project zeppelin-sdk",
-    "build-project:vis": " ng build --project zeppelin-visualization",
-    "build-project:helium": "ng build --project zeppelin-helium",
-    "lint": "ng lint && tslint -p tslint-rules/tsconfig.json && prettier --check \"**/*.{ts,js,json,css,html}\"",
-    "lint:fix": "ng lint --fix && tslint --fix -p tslint-rules/tsconfig.json && prettier --write \"**/*.{ts,js,json,css,html}\"",
+    "build:projects": "npm run build-project:sdk && npm run build-project:vis",
+    "build-project:sdk": "ng build --project zeppelin-sdk",
+    "build-project:vis": "ng build --project zeppelin-visualization",
+    "lint": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint && tslint -p tslint-rules/tsconfig.json && prettier --check \"**/*.{ts,js,json,css,html}\"",
+    "lint:fix": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint --fix && tslint --fix -p tslint-rules/tsconfig.json && prettier --write \"**/*.{ts,js,json,css,html}\"",

Review Comment:
   Added `--max-old-space-size=9128` options to fix heap out of memory error.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455400400


##########
zeppelin-web-angular/projects/zeppelin-sdk/.eslintrc.json:
##########
@@ -0,0 +1,35 @@
+{
+  "extends": "../../.eslintrc.json",
+  "ignorePatterns": ["!**/*"],
+  "overrides": [
+    {
+      "files": ["*.ts"],
+      "parserOptions": {
+        "project": ["projects/zeppelin-sdk/tsconfig.lib.json", "projects/zeppelin-sdk/tsconfig.spec.json"],

Review Comment:
   I set `parserOptions.project` to `true` and unified the per-project config filenames from `tsconfig.*.json` to `tsconfig.json`. With this, `@typescript-eslint/parser` automatically picks the nearest `tsconfig.json` for each file instead of relying on hard-coded project paths, which avoids the path-resolution error we saw.
   
   If/when we upgrade Angular further and adopt ESLint's flat config, we can switch to a javascript flat config and keep paths relative to the config file location using `__dirname`, which should remove this class of issues.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#issuecomment-3644745429

   @tbonelee @dididy thanks for your great work on the front-end area, I have a question about the direction, I see you are working on https://github.com/apache/zeppelin/pull/5111, does it mean we stop upgrading Angular to more recent versions, but focus on React migration? To be clear, I'm not against that, and I truly trust your professionalism in this field, the only concern is that this will take a long period, also has risks, e.g., abandonment or facing a huge tech challenge during migration, so I think it's still valuable to keep upgrading Angular to a modern version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455411255


##########
zeppelin-web-angular/.browserslistrc:
##########


Review Comment:
   I removed `src/.browserslistrc`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2454692576


##########
zeppelin-web-angular/package.json:
##########
@@ -78,28 +80,31 @@
     "@types/node": "~12.19.16",
     "@types/parse5": "^5.0.2",
     "@types/webpack-env": "^1.18.8",
-    "codelyzer": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "5.27.1",
+    "@typescript-eslint/parser": "5.27.1",
     "cross-env": "^10.1.0",
-    "dotenv": "^8.0.0",
+    "dotenv": "^17.2.3",
+    "eslint": "^8.17.0",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jsdoc": "^50.8.0",
+    "eslint-plugin-prefer-arrow": "^1.2.3",
     "https-proxy-agent": "^2.2.1",
     "husky": "9.1.7",
-    "lint-staged": "^8.1.6",
+    "lint-staged": "^15.5.2",
     "monaco-editor-webpack-plugin": "6.0.0",
-    "ng-packagr": "^9.1.5",
-    "ngx-build-plus": "^9.0.6",
-    "nz-tslint-rules": "^0.800.2",
-    "prettier": "^1.17.0",
-    "protractor": "~5.4.0",
+    "ng-packagr": "^13.3.1",
+    "ngx-build-plus": "^13.0.1",
+    "nz-tslint-rules": "^0.901.0",
+    "prettier": "^3.6.2",
     "scandirectory": "8.1.1",
     "ts-node": "~7.0.0",
-    "tsickle": "0.38.1",
-    "tslint": "~5.15.0",
     "tslint-no-circular-imports": "^0.7.0",

Review Comment:
   If you're removing TSLint, I think we can also remove `nz-tslint-rules` and `tslint-no-circular-imports`.
   For any custom rules, you can either add them as ESLint rules if possible, or create an issue for them if not.
   
   After that, you can remove the `tslint-rule` folder and the postinstall build step (`npm run build:tslint-rules`), and update the `lint` and `lint:fix` scripts to use ESLint instead.
   
   It seems that `src/tslint.json` should be removed as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455428301


##########
zeppelin-web-angular/src/app/pages/workspace/share/result/result.component.ts:
##########
@@ -26,7 +26,7 @@ import {
   ViewContainerRef
 } from '@angular/core';
 import { DomSanitizer, SafeHtml, SafeUrl } from '@angular/platform-browser';
-import { default as AnsiUp } from 'ansi_up';
+import { AnsiUp } from 'ansi_up';

Review Comment:
   I can’t reproduce this locally. ansi_up@6.0.6 ships its own type definitions. Could you try again on your end? If it still fails, a clean install (remove node_modules and the lockfile, then reinstall) or sharing your TS version and the exact error would help.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2452805136


##########
zeppelin-web-angular/projects/zeppelin-sdk/src/interfaces/message-common.interface.ts:
##########
@@ -1,3 +1,4 @@
+/* eslint-disable @typescript-eslint/naming-convention */

Review Comment:
   It silences linting errors of using dot characters(`.`) in object keys.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#issuecomment-3448154381

   Thanks, merged into master and branch-0.12


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2452941377


##########
zeppelin-web-angular/projects/zeppelin-sdk/src/interfaces/message-data-type-map.interface.ts:
##########
@@ -84,7 +84,7 @@ import { JobManagerDisabled, ListNoteJobs, ListUpdateNoteJobs } from './message-
 import { InterpreterBindings, InterpreterSetting } from './message-interpreter.interface';
 import { OP } from './message-operator.interface';
 
-export type MixMessageDataTypeMap = MessageSendDataTypeMap & MessageReceiveDataTypeMap;
+export type MessageDataTypeMap = MessageSendDataTypeMap | MessageReceiveDataTypeMap;

Review Comment:
   - After upgrading to TS4, using an intersection of send/receive maps caused overlapping `OP` keys (e.g. `LIST_NOTE_JOBS`) to intersect their payload types (e.g. `undefined & ListNoteJobs`), producing `never`.
   - This broke `WebSocketMessage<keyof MessageSendDataTypeMap>` because `MixMessageTypeMap[K]` evaluated to `never` for some `K`, leading to generic constraint errors (TS2344) and lost inference.
   - Switching `MixMessageTypeMap` to a union `(Send | Receive)` restores correct indexed access `(Send[K] | Receive[K])` and fixes the errors.
   - Also updated `WebSocketMessage` to a discriminated-union friendly form for stable inference. (Type-only change; no runtime impact.)
   
   ### Note
   To learn how applying `keyof` operator to union type or intersection type, see https://effectivetypescript.com/2024/08/30/keyof-puzzle/



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2452975325


##########
zeppelin-web-angular/src/app/pages/workspace/job-manager/job-manager.component.html:
##########
@@ -70,8 +70,8 @@
         *ngFor="let item of filteredJobs"
         [note]="item"
         [highlight]="filterString"
-        (start)="onStart($event)"
-        (stop)="onStop($event)"
+        (startJob)="onStartJob($event)"
+        (stopJob)="onStopJob($event)"

Review Comment:
   Fixed name conflicts with native events(`start`, `stop`)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2454692576


##########
zeppelin-web-angular/package.json:
##########
@@ -78,28 +80,31 @@
     "@types/node": "~12.19.16",
     "@types/parse5": "^5.0.2",
     "@types/webpack-env": "^1.18.8",
-    "codelyzer": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "5.27.1",
+    "@typescript-eslint/parser": "5.27.1",
     "cross-env": "^10.1.0",
-    "dotenv": "^8.0.0",
+    "dotenv": "^17.2.3",
+    "eslint": "^8.17.0",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jsdoc": "^50.8.0",
+    "eslint-plugin-prefer-arrow": "^1.2.3",
     "https-proxy-agent": "^2.2.1",
     "husky": "9.1.7",
-    "lint-staged": "^8.1.6",
+    "lint-staged": "^15.5.2",
     "monaco-editor-webpack-plugin": "6.0.0",
-    "ng-packagr": "^9.1.5",
-    "ngx-build-plus": "^9.0.6",
-    "nz-tslint-rules": "^0.800.2",
-    "prettier": "^1.17.0",
-    "protractor": "~5.4.0",
+    "ng-packagr": "^13.3.1",
+    "ngx-build-plus": "^13.0.1",
+    "nz-tslint-rules": "^0.901.0",
+    "prettier": "^3.6.2",
     "scandirectory": "8.1.1",
     "ts-node": "~7.0.0",
-    "tsickle": "0.38.1",
-    "tslint": "~5.15.0",
     "tslint-no-circular-imports": "^0.7.0",

Review Comment:
   If you're removing TSLint, I think we can also remove `nz-tslint-rules` and `tslint-no-circular-imports`.
   For any custom rules, we can either add them as ESLint rules if possible, or create an issue for them if not.
   
   After that, you can remove the `tslint-rule` folder and the postinstall build step (`npm run build:tslint-rules`), and update the `lint` and `lint:fix` scripts to use ESLint instead.
   
   It seems that `src/tslint.json` should be removed as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#issuecomment-3437464968

   I've fixed failed `.less` file path resolution with this commit (https://github.com/apache/zeppelin/pull/5109/commits/f68719f2ae6f7b14b7a36853a9f5fa6698dc8855)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "dididy (via GitHub)" <gi...@apache.org>.
dididy commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2455658642


##########
zeppelin-web-angular/src/polyfills.ts:
##########
@@ -84,8 +74,8 @@
 /***************************************************************************************************
  * Zone JS is required by default for Angular itself.
  */
-// tslint:disable
-import 'zone.js/dist/zone'; // Included with Angular CLI.
+/* eslint-disable */

Review Comment:
   Does this need to be here? It seems like removing it wouldn’t cause any issues.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-6349] Bump Angular from 9 to 13 [zeppelin]

Posted by "tbonelee (via GitHub)" <gi...@apache.org>.
tbonelee commented on PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#issuecomment-3644786179

   Yes, I personally think the React migration may take a long time and could potentially hit blockers.
   Because of that, until the migration is fully completed, it would be better to continue maintaining the existing Angular part in parallel.
   
   Also, upgrading Angular is necessary in order to move forward with Typescript and other dependency upgrades as well.
   
   For these two reasons, I'm thinking of keeping upgrading the Angular version as much as possible when time allows, alongside the React migration efforts. That said, I understand there may be different views on this, and I'm open to discussing and aligning on the best approach.
   
   Thank you for raising this point. It helps clarify and align on the overall direction.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org