You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2022/05/18 23:49:21 UTC
[GitHub] [helix] micahstubbs opened a new issue, #2105: upgrade helix-front to Angular 11.0
micahstubbs opened a new issue, #2105:
URL: https://github.com/apache/helix/issues/2105
https://update.angular.io/?l=3&v=10.2-11.0
see:
- #2095 for the 10.2 upgrade
- #2092 for the 9.1 upgrade
- #2088 for the 8.2 upgrade
- #2084 for the 7.2 upgrade
- #2053 for prior upgrades, as well as motivation, details, and history.
<img width="696" alt="Screen Shot 2022-05-18 at 4 48 59 PM" src="https://user-images.githubusercontent.com/2119400/169173429-e92a8167-952f-4c91-823c-4363cdd1f1fb.png">
--
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@helix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135253860
## new peer dep warnings:
```py
@angular/flex-layout@10.0.0-beta.32 --> @angular/cdk@^10.0.0-rc.0
@swimlane/ngx-datatable@18.0.0 --> @angular/common@^10.0.0
@swimlane/ngx-datatable@18.0.0 --> @angular/core@^10.0.0
@swimlane/ngx-datatable@18.0.0 --> @angular/platform-browser@^10.0.0
@swimlane/ngx-graph@7.2.0 --> @angular/animations@6.x || 7.x || 8.x || 9.x || 10.x
@swimlane/ngx-graph@7.2.0 --> @angular/common@6.x || 7.x || 8.x || 9.x || 10.x
@swimlane/ngx-graph@7.2.0 --> @angular/core@6.x || 7.x || 8.x || 9.x || 10.x
@swimlane/ngx-graph@7.2.0 --> @angular/cdk@6.x || 7.x || 8.x || 9.x || 10.x
karma-jasmine-html---> jasmine-core@>=3.8
ngx-vis@3.1.0 --> keycharm@^0.2.0
rxjs-tslint@0.1.8 --> tslint@^5.0.0
vis-network@7.10.2 --> timsort@^0.3.0
```
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] NealSun96 closed issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
NealSun96 closed issue #2105: upgrade helix-front to Angular 11.2
URL: https://github.com/apache/helix/issues/2105
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135276610
Let's test the upgrade from Angular 10.2 to Angular 11.2.
- [x] `npm install` works
- [x] `npm run type:check:watch` shows 0 TypeScript errors
- [x] `npm run lint` runs and passes `All files pass linting.`
- [x] `npm run build` works
- [ ] `npm start` works, with 0 errors in the browser console.
- [ ] `npm run test` runs and passes.
`npm start` works as expected, and recognizes our proxy config in `proxy.conf.json`.
Helix UI renders with 0 errors and 2 warnings in the browser console. The warning is understandable since the piwik telemetry library is not configured.
`npm run test` results
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135270269
Let's test the upgrade from Angular 10.2 to Angular 11.2.
- [x] `npm install` works
- [x] `npm run type:check:watch` shows 0 TypeScript errors
- [x] `npm run lint` runs and passes `All files pass linting.`
- [x] `npm run build` works
- [x] `npm start` works, with 0 errors in the browser console.
- [x] `npm run test` runs and passes.
`npm start` works as expected, and recognizes our proxy config in `proxy.conf.json`.
Helix UI renders with 0 errors and 2 warnings in the browser console. The warning is understandable since the piwik telemetry library is not configured.
`npm run test` results
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1130770028
Angular CLI version | Angular version | Node.js version | TypeScript version | RxJS version
-- | -- | -- | -- | --
~11.2.0 | ~11.2.0 | ^10.13.0 \|\| ^12.11.1 | >= 4.0.8 <= 4.1.6 | ^6.5.5
https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135256373
```py
npm i @swimlane/ngx-datatable@19.0.0
```
[blame](https://github.com/swimlane/ngx-datatable/blame/1a36d29147cb4b1991b7f5615aee56f908dfd683/package.json)
[tags](https://github.com/swimlane/ngx-datatable/tags)
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135263986
Oh, it's tslint@6, not rxjs@6 that is new!
Oh well, let's ignore these last two peer dep warnings for now:
```py
rxjs-tslint@0.1.8 --> tslint@^5.0.0
ngx-vis@3.1.0 --> keycharm@^0.2.0
```
Both are instances where the library should update their own deps.
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135271829
This should fix it:
```py
npm run lint -- --fix
> helix-front@1.2.1 lint /Users/m/workspace/helix/helix-front
> ng lint "--fix"
TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.
Linting "helix-front"...
Warning: member-ordering - Direct string option is deprecated and does not support accessors.
See also https://palantir.github.io/tslint/rules/member-ordering/
You should replace "static-before-instance","variables-before-functions"
with the following equivalent options and add -accessor categories as appropriate:
[
{
"name": "static field",
"kinds": [
"public-static-field",
"protected-static-field",
"private-static-field"
]
},
{
"name": "instance field",
"kinds": [
"public-instance-field",
"protected-instance-field",
"private-instance-field"
]
},
{
"name": "static method",
"kinds": [
"public-static-method",
"private-static-method",
"protected-static-method",
"public-static-accessor",
"protected-static-accessor",
"private-static-accessor"
]
},
{
"name": "instance method",
"kinds": [
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method",
"public-instance-accessor",
"protected-instance-accessor",
"private-instance-accessor"
]
}
]
All files pass linting.
TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.
Linting "helix-front-e2e"...
All files pass linting.
```
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135261356
https://github.com/ReactiveX/rxjs-tslint#migration-to-rxjs-6
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135276379
```py
npm run build
> helix-front@1.2.1 build /helix/helix-front
> rm -rf dist && mkdir dist && ng build --aot --prod && tsc -p server
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/cdk/platform : es2015 as esm2015
Compiling @angular/cdk/bidi : es2015 as esm2015
Compiling @angular/cdk/collections : es2015 as esm2015
Compiling @angular/cdk/scrolling : es2015 as esm2015
Compiling @angular/cdk/portal : es2015 as esm2015
Compiling @angular/cdk/keycodes : es2015 as esm2015
Compiling @angular/cdk/overlay : es2015 as esm2015
Compiling @angular/cdk/observers : es2015 as esm2015
Compiling @angular/cdk/a11y : es2015 as esm2015
Compiling @angular/animations : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/material/core : es2015 as esm2015
Compiling @angular/material/dialog : es2015 as esm2015
Compiling @angular/material/button : es2015 as esm2015
Compiling @angular/cdk/layout : es2015 as esm2015
Compiling @angular/material/snack-bar : es2015 as esm2015
Compiling @angular/flex-layout/core : es2015 as esm2015
Compiling @angular/flex-layout/extended : es2015 as esm2015
Compiling @angular/flex-layout/flex : es2015 as esm2015
Compiling @angular/flex-layout/grid : es2015 as esm2015
Compiling @angular/flex-layout : es2015 as esm2015
Compiling ngx-vis : es2015 as esm2015
Compiling @swimlane/ngx-datatable : es2015 as esm2015
Compiling ngx-json-viewer : es2015 as esm2015
Compiling @angular/material/button-toggle : es2015 as esm2015
Compiling @angular/material/card : es2015 as esm2015
Compiling @angular/material/checkbox : es2015 as esm2015
Compiling @angular/material/toolbar : es2015 as esm2015
Compiling @angular/material/tooltip : es2015 as esm2015
Compiling @angular/material/slide-toggle : es2015 as esm2015
Compiling @angular/cdk/text-field : es2015 as esm2015
Compiling @angular/material/form-field : es2015 as esm2015
Compiling @angular/material/input : es2015 as esm2015
Compiling @angular/material/icon : es2015 as esm2015
Compiling @angular/material/progress-bar : es2015 as esm2015
Compiling @angular/material/progress-spinner : es2015 as esm2015
Compiling @angular/material/sidenav : es2015 as esm2015
Compiling @angular/material/divider : es2015 as esm2015
Compiling @angular/material/list : es2015 as esm2015
Compiling @angular/material/menu : es2015 as esm2015
Compiling @angular/material/tabs : es2015 as esm2015
Compiling @angular/cdk/accordion : es2015 as esm2015
Compiling @angular/material/expansion : es2015 as esm2015
Compiling ngx-window-token : es2015 as esm2015
Compiling ngx-clipboard : es2015 as esm2015
Compiling @swimlane/ngx-charts : es2015 as esm2015
Compiling @swimlane/ngx-graph : es2015 as esm2015
✔ Browser application bundle generation complete.
✔ ES5 bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.
Initial Chunk Files | Names | Size
main-es5.6fdd32cad9683ce3b06c.js | main | 3.13 MB
main-es2015.6fdd32cad9683ce3b06c.js | main | 3.01 MB
polyfills-es5.0df109ec60230a86de19.js | polyfills-es5 | 168.48 kB
styles.86ae04cb6ac6684537cb.css | styles | 99.95 kB
polyfills-es2015.e113d669f78ab60c76c0.js | polyfills | 72.79 kB
runtime-es2015.a4dadbc03350107420a4.js | runtime | 1.45 kB
runtime-es5.a4dadbc03350107420a4.js | runtime | 1.45 kB
| Initial ES5 Total | 3.40 MB
| Initial ES2015 Total | 3.18 MB
Build at: 2022-05-24T00:39:40.194Z - Hash: 8b8a719fbae273bf7283 - Time: 173772ms
Warning: /helix/helix-front/client/app/resource/shared/resource.service.ts depends on 'lodash'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /helix/helix-front/node_modules/ngx-vis/__ivy_ngcc__/fesm2015/ngxvis.js depends on 'vis-network'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /helix/helix-front/node_modules/@swimlane/ngx-graph/__ivy_ngcc__/fesm2015/swimlane-ngx-graph.js depends on 'webcola'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /helix/helix-front/node_modules/ngx-vis/__ivy_ngcc__/fesm2015/ngxvis.js depends on 'vis-timeline'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /helix/helix-front/node_modules/@swimlane/ngx-graph/__ivy_ngcc__/fesm2015/swimlane-ngx-graph.js depends on 'dagre'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
```
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135273924
Let's test the upgrade from Angular 10.2 to Angular 11.2.
- [x] `npm install` works
- [x] `npm run type:check:watch` shows 0 TypeScript errors
- [ ] `npm run lint` runs and passes `All files pass linting.`
- [ ] `npm run build` works
- [ ] `npm start` works, with 0 errors in the browser console.
- [ ] `npm run test` runs and passes.
<!---
`npm start` works as expected, and recognizes our proxy config in `proxy.conf.json`.
Helix UI renders with 0 errors and 2 warnings in the browser console. The warning is understandable since the piwik telemetry library is not configured.
`npm run test` results
--->
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135270981
```py
npm run lint
> helix-front@1.2.1 lint /helix/helix-front
> ng lint
TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.
Linting "helix-front"...
Warning: member-ordering - Direct string option is deprecated and does not support accessors.
See also https://palantir.github.io/tslint/rules/member-ordering/
You should replace "static-before-instance","variables-before-functions"
with the following equivalent options and add -accessor categories as appropriate:
[
{
"name": "static field",
"kinds": [
"public-static-field",
"protected-static-field",
"private-static-field"
]
},
{
"name": "instance field",
"kinds": [
"public-instance-field",
"protected-instance-field",
"private-instance-field"
]
},
{
"name": "static method",
"kinds": [
"public-static-method",
"private-static-method",
"protected-static-method",
"public-static-accessor",
"protected-static-accessor",
"private-static-accessor"
]
},
{
"name": "instance method",
"kinds": [
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method",
"public-instance-accessor",
"protected-instance-accessor",
"private-instance-accessor"
]
}
]
/helix/helix-front/client/app/resource/shared/resource.model.ts:52:3
ERROR: 52:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
/helix/helix-front/client/app/shared/input-inline/input-inline.component.ts:22:3
ERROR: 22:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 24:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 26:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 27:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 28:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 29:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 30:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 31:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 32:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 33:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 34:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 35:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 36:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 38:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 40:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 42:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 45:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 46:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
/helix/helix-front/client/app/shared/node-viewer/node-viewer.component.ts:47:3
ERROR: 47:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 50:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 53:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 63:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 64:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 66:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 67:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 68:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 71:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 72:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 91:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 99:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
ERROR: 109:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface.
/helix/helix-front/client/app/workflow/workflow-list/workflow-list.component.ts:4:62
ERROR: 4:62 no-trailing-whitespace trailing whitespace
Lint errors found in the listed files.
```
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135252450
```py
ng update @angular/material@11 --force
Using package manager: 'npm'
Collecting installed dependencies...
Found 70 dependencies.
Fetching dependency metadata from registry...
Package "@angular/flex-layout" has an incompatible peer dependency to "@angular/cdk" (requires "^10.0.0-rc.0", would install "11.2.13").
Updating package.json with dependency @angular/cdk @ "11.2.13" (was "10.2.7")...
Updating package.json with dependency @angular/material @ "11.2.13" (was "10.2.7")...
UPDATE package.json (3339 bytes)
✔ Packages installed successfully.
** Executing migrations of package '@angular/cdk' **
❯ Updates the Angular CDK to v11.
Could not find TypeScript project for project: helix-front-e2e
✓ Updated Angular CDK to version 11
Migration completed.
** Executing migrations of package '@angular/material' **
❯ Updates Angular Material to v11.
Could not find TypeScript project for project: helix-front-e2e
⚠ General notice: The HammerJS v9 migration for Angular Components is not able to migrate tests. Please manually clean up tests in your project if they rely on HammerJS.
Read more about migrating tests: https://git.io/ng-material-v9-hammer-migrate-tests
✓ Updated Angular Material to version 11
Migration completed.
```
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135258039
```py
npm i @swimlane/ngx-graph@8.0.0-rc.2
```
[blame](https://github.com/swimlane/ngx-graph/blame/a518bfdc19034281b48cecee0fab1c39051d1d8c/package.json)
[tags](https://github.com/swimlane/ngx-graph/tags)
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135251015
```py
ng update @angular/core@11 @angular/cli@11 --force
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 11.2.19 to perform the update.
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Using package manager: 'npm'
Collecting installed dependencies...
Found 70 dependencies.
Fetching dependency metadata from registry...
Package "rxjs-tslint" has an incompatible peer dependency to "tslint" (requires "^5.0.0", would install "6.1.3").
Updating package.json with dependency @angular-devkit/build-angular @ "0.1102.19" (was "0.1002.4")...
Updating package.json with dependency @angular/cli @ "11.2.19" (was "10.2.4")...
Updating package.json with dependency @angular/compiler-cli @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency karma @ "6.3.20" (was "5.0.9")...
Updating package.json with dependency tslint @ "6.1.3" (was "5.20.1")...
Updating package.json with dependency @angular/animations @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/common @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/compiler @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/core @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/forms @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/platform-browser @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/platform-browser-dynamic @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/platform-server @ "11.2.14" (was "10.2.5")...
Updating package.json with dependency @angular/router @ "11.2.14" (was "10.2.5")...
UPDATE package.json (3337 bytes)
✔ Packages installed successfully.
** Executing migrations of package '@angular/cli' **
❯ Replace deprecated library builder '@angular-devkit/build-ng-packagr'.
Migration completed.
❯ Add 'declarationMap' compiler options for non production library builds.
Migration completed.
❯ Remove deprecated options from 'angular.json' that are no longer present in v11.
UPDATE angular.json (3854 bytes)
Migration completed.
❯ Update workspace dependencies to match a new v11 project.
UPDATE package.json (3338 bytes)
✔ Packages installed successfully.
Migration completed.
** Executing migrations of package '@angular/core' **
❯ In Angular version 11, the type of `AbstractControl.parent` can be `null` to reflect the runtime value more accurately.
This migration automatically adds non-null assertions to existing accesses of the `parent` property on types like `FormControl`, `FormArray` and `FormGroup`.
Migration completed.
❯ ViewEncapsulation.Native has been removed as of Angular version 11.
This migration replaces any usages with ViewEncapsulation.ShadowDom.
Migration completed.
❯ NavigationExtras omissions migration.
In version 11, some unsupported properties were omitted from the `extras` parameter of the `Router.navigateByUrl` and `Router.createUrlTree` methods.
Migration completed.
❯ Updates the `initialNavigation` property for `RouterModule.forRoot`.
Migration completed.
❯ NavigationExtras.preserveQueryParams has been removed as of Angular version 11.
This migration replaces any usages with the appropriate assignment of the queryParamsHandling key.
Migration completed.
❯ The default value for `relativeLinkResolution` is changing from 'legacy' to 'corrected'.
This migration updates `RouterModule` configurations that use the default value to
now specifically use 'legacy' to prevent breakages when updating.
UPDATE client/app/app-routing.module.ts (4538 bytes)
Migration completed.
❯ `async` to `waitForAsync` migration.
The `async` testing function has been renamed to `waitForAsync` to avoid confusion with the native `async` keyword.
Migration completed.
❯ Removes `canActivate` from a `Route` config when `redirectTo` is also present.
Migration completed.
```
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] micahstubbs commented on issue #2105: upgrade helix-front to Angular 11.2
Posted by GitBox <gi...@apache.org>.
micahstubbs commented on issue #2105:
URL: https://github.com/apache/helix/issues/2105#issuecomment-1135254998
let's try
```py
npm i @angular/flex-layout@11.0.0-beta.33
```
[blame](https://github.com/angular/flex-layout/blame/be5cdd4e6616ff8725fe90fdd3bf9ea1bcea02fa/package.json)
[tags](https://github.com/angular/flex-layout/tags)
--
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@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org