Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade helix-front to Angular 12.2 #2131

Merged

Commits on Jun 3, 2022

  1. parent ed990b8

    author Micah Stubbs <micah.stubbs@gmail.com> 1651701734 -0700
    committer Micah Stubbs <micah.stubbs@gmail.com> 1654124422 -0700
    
    parent ed990b8
    author Micah Stubbs <micah.stubbs@gmail.com> 1651701734 -0700
    committer Micah Stubbs <micah.stubbs@gmail.com> 1654124376 -0700
    
    ng update @angular/cli --from=5.2.11 --to=6 --migrate-only
    
    npm i -D rxjs-tslint, add rxjs specific linting rules, add lint:tslint alternative linting script
    
    npm install @angular/cdk@6.1.0
    
    npm install @angular/{animations,cdk,common,compiler,compiler-cli,core,forms,material,platform-browser,platform-browser-dynamic,platform-server,router}@6.1.0
    
    npm i ajv@6.9.1
    
    npm i codelyzer@6.0.1
    
    npm i ngx-clipboard@11.1.5
    
    npm i tsickle@0.32.1
    
    restore rxjs-compat@6.0.0-rc.0 to fix rxjs issue at npm run build
    
    WIP state with new Reactive Form
    
    Revert "WIP state with new Reactive Form"
    
    This reverts commit f9e2e37.
    micahstubbs committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    16e146e View commit details
    Browse the repository at this point in the history
  2. parent 017555c

    author Micah Stubbs <micah.stubbs@gmail.com> 1652219675 -0700
    committer Micah Stubbs <micah.stubbs@gmail.com> 1654124644 -0700
    
    parent ed990b8
    author Micah Stubbs <micah.stubbs@gmail.com> 1651701734 -0700
    committer Micah Stubbs <micah.stubbs@gmail.com> 1654124422 -0700
    
    parent ed990b8
    author Micah Stubbs <micah.stubbs@gmail.com> 1651701734 -0700
    committer Micah Stubbs <micah.stubbs@gmail.com> 1654124376 -0700
    
    ng update @angular/cli --from=5.2.11 --to=6 --migrate-only
    
    npm i -D rxjs-tslint, add rxjs specific linting rules, add lint:tslint alternative linting script
    
    npm install @angular/cdk@6.1.0
    
    npm install @angular/{animations,cdk,common,compiler,compiler-cli,core,forms,material,platform-browser,platform-browser-dynamic,platform-server,router}@6.1.0
    
    npm i ajv@6.9.1
    
    npm i codelyzer@6.0.1
    
    npm i ngx-clipboard@11.1.5
    
    npm i tsickle@0.32.1
    
    restore rxjs-compat@6.0.0-rc.0 to fix rxjs issue at npm run build
    
    WIP state with new Reactive Form
    
    Revert "WIP state with new Reactive Form"
    
    This reverts commit f9e2e37.
    
    upgrade to typescript@^3.2.4
    
    pin typescript at 3.2.4
    
    manually update @angular/material to ^7.2.16
    
    npm i @angular/flex-layout@7.0.0-beta.24
    
    npm i tsickle@0.34.2
    
    npm i @swimlane/ngx-datatable@14.0.0
    
    npm i @swimlane/ngx-graph@6.0.0-rc.2
    
    ObservableMedia --> MediaObserver to handle breaking change introduce in @angular/flex-layout@7.0.0-beta.23
    
    npm i @swimlane/ngx-charts@11.2.0
    
    manually upgrade to Angular 8.2.14 and associated major deps
    
    fix new TypeScript errors
    
    update bundle target to ES2015 since Angular 8 now automatically creates an ES5 compat build too
    
    @ViewChild {static: true}
    
    NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@8 update @angular/material@8 --force
    
    use @angular/core@8.2.3 and friends, fix bad upgrade script that jumped ahead to v9
    
    npm i typescript@3.5.3
    
    npm i zone.js@~0.9.1
    
    npm i tsickle@0.37.0
    
    npm i @angular/flex-layout@8.0.0-beta.27
    
    npm i @swimlane/ngx-datatable@16.0.0
    
    npm i @ngtools/webpack@9.0.0-next.7
    
    npm uninstall node-sass && npm i sass
    
    nvm use 10.9.0 && npm i
    
    manually update material imports, use deep imports
    
    npm i -D @angular-devkit/build-angular@0.803.29
    
    npm i ngx-clipboard@12.1.2
    
    npm i @swimlane/ngx-charts@13.0.4
    
    npm i @swimlane/ngx-graph@7.0.0
    
    npm i @swimlane/ngx-datatable@16.0.3
    
    npm i @swimlane/ngx-datatable@16.1.0
    
    update ngx-datatable style paths: no longer a release folder
    
    nvm use 10.13.0
    
    Angular CLI update for packages - @angular/core@9, @angular/cli@9
    
    @angular/cli migration - workspace-version-9
    Angular Workspace migration. Update an Angular CLI workspace to version 9.
    
    @angular/cli migration - schematic-options-9
    Replace deprecated 'styleext' and 'spec' Angular schematic options.
    
    npm i tsickle@0.38.1
    
    add generic type to ModuleWithProviders in app routing module
    
    npm i rxjs@6.5.5
    
    NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@9 update @angular/material@9 --force
    
    npm i @angular/flex-layout@9.0.0-beta.31
    
    ngForm --> ng-form
    
    npm i angulartics2@9.1.0
    
    Anglartics2Piwik --> Angulartics2Matomo
    
    Revert "Anglartics2Piwik --> Angulartics2Matomo"
    
    This reverts commit 30d00dc.
    
    update piwik import
    
    specify one budget of 500k for initial js needed to bootstrap app
    
    ng-form --> ngForm
    
    npm i ngx-vis@3.1.0
    
    install peer deps for ngx-vis
    
    npm i ngx-vis@2.3.2
    
    Revert "npm i ngx-vis@2.3.2"
    
    This reverts commit 0dd8588.
    
    update dashboard network vis code to new syntax from ngx-vis@3
    
    increase build budget to 3503kb, using current es5 build size as the baseline
    
    use array instead to DataSet to fix tests
    
    temporarily disable tracking lib angulartics to work around v9 bug, re-enable at v10
    
    fix lint config path. should be client
    
    add npm run lint:fix script
    
    npm run lint:fix
    
    disable linting rules that generate new errors for now
    
    remove obsolete property decorator linting rules
    
    remove deprecated linting rules
    
    remove duplicate import, properly turn off linting rules with new failures
    
    npm i
    
    upgrade helix-front to Angular 10.2
    
    remove entryComponents in shared.module.ts since Ivy renderer does not use these
    
    npx @angular/cli@10 update @angular/core@10 @angular/cli@10
    
    npx @angular/cli@10 update @angular/material@10 --force
    
    npm i @angular/flex-layout@10.0.0-beta.32
    
    npm i jasmine-core@3.8
    
    npm i codelyzer@6.0.2
    
    npm i angulartics2@10.1.0
    
    npm i @swimlane/ngx-graph@7.2.0
    
    npm i @swimlane/ngx-graph@7.2.0
    
    npm i @swimlane/ngx-datatable@18.0.0
    
    npm i @swimlane/ngx-charts@16.0.0
    
    nvm use 12.20.2
    
    async --> waitForAsync
    
    async --> waitForAsync in the rest of the tests
    
    mock http calls in config detail component
    
    guard data loading
    
    use HttpClientTestingModule to mock http calls
    
    handle case where not found is returned
    
    add error handling at login service
    
    fix errors with better error handling in user.ts
    
    ng update @angular/core@11 @angular/cli@11 --force
    
    ng update @angular/material@11 --force
    
    npm i @swimlane/ngx-datatable@19.0.0
    
    npm i @swimlane/ngx-graph@8.0.0-rc.2
    
    npm i rxjs@6.6.3
    
    npm i jasmine-core@3.8
    
    npm i timsort@0.3.0
    
    npm run lint --fix
    
    ng update @angular/core@12 @angular/cli@12 --force
    
    ng update @angular/material@12 --force
    
    ng update @angular/cli@12 --migrate-only production-by-default
    
    npm i @angular/flex-layout@12.0.0-beta.35
    
    npm i @swimlane/ngx-datatable@20.0.0
    
    npm i tsickle@0.43.0
    
    update bundle budget to 3.44MB
    micahstubbs committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    925614b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d5a3f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df5aba1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4eff935 View commit details
    Browse the repository at this point in the history