Giter Club home page Giter Club logo

Comments (7)

mensch72 avatar mensch72 commented on June 16, 2024

starting to upgrade in separate local clone, following
https://update.angular.io/

from vodle.

mensch72 avatar mensch72 commented on June 16, 2024

following
https://update.angular.io/?l=3&v=13.0-14.0
running
ng update @angular/core@14 @angular/cli@14
finished successfully, saying

Using package manager: npm
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
    Updating package.json with dependency @angular-devkit/build-angular @ "14.1.1" (was "13.3.9")...
    Updating package.json with dependency @angular-devkit/core @ "14.1.1" (was "13.3.9")...
    Updating package.json with dependency @angular-devkit/schematics @ "14.1.1" (was "13.3.9")...
    Updating package.json with dependency @angular/cli @ "14.1.1" (was "13.3.9")...
    Updating package.json with dependency @angular/compiler @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/compiler-cli @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/language-service @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/animations @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/common @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/core @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/forms @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/platform-browser @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/platform-browser-dynamic @ "14.1.1" (was "13.3.11")...
    Updating package.json with dependency @angular/router @ "14.1.1" (was "13.3.11")...
UPDATE package.json (3143 bytes)
✔ Packages successfully installed.
** Executing migrations of package '@angular/cli' **

▸ Remove 'defaultProject' option from workspace configuration.
  The project to use will be determined from the current working directory.
UPDATE angular.json (5346 bytes)
  Migration completed.

▸ Remove 'showCircularDependencies' option from browser and server builders.
  Migration completed.

▸ Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'.
UPDATE angular.json (5363 bytes)
  Migration completed.

▸ Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'.
✔ Packages installed successfully.
  Migration completed.

▸ Remove 'package.json' files from library projects secondary entrypoints.
  Migration completed.

▸ Update TypeScript compilation target to 'ES2020'.
UPDATE tsconfig.json (727 bytes)
  Migration completed.

** Executing migrations of package '@angular/core' **

▸ As of Angular version 13, `entryComponents` are no longer necessary.
UPDATE src/app/app.module.ts (2982 bytes)
  Migration completed.

▸ In Angular version 14, the `pathMatch` property of `Routes` was updated to be a strict union of the two valid options: `'full'|'prefix'`.
  `Routes` and `Route` variables need an explicit type so TypeScript does not infer the property as the looser `string`.
  Migration completed.

▸ As of Angular version 14, Forms model classes accept a type parameter, and existing usages must be opted out to preserve backwards-compatibility.
UPDATE src/app/sharedcomponents/select-server/select-server.component.ts (3340 bytes)
UPDATE src/app/draftpoll/draftpoll.page.ts (26020 bytes)
UPDATE src/app/delegation-dialog/delegation-dialog.page.ts (7522 bytes)
UPDATE src/app/addoption-dialog/addoption-dialog.page.ts (6845 bytes)
UPDATE src/app/settings/settings.page.ts (6526 bytes)
UPDATE src/app/login/login.page.ts (10082 bytes)
  Migration completed.

will keep an eye on the last remarks in that log output regarding Forms.

still, ionic serve then gives errors in JS console:
TypeError: resolver.resolveComponentFactory is not a function
apparently since we haven't upgraded ionic so far...

from vodle.

mensch72 avatar mensch72 commented on June 16, 2024

now continuing according to
https://ionicframework.com/docs/intro/upgrading-to-ionic-6
trying
npm install @ionic/angular@6
gave incompatibility errors, so i just went on with
npm install @ionic/angular@6 --force
which seemed to succeed.
now
ionic serve
gives
Property 'open' does not exist on type 'IonDatetime'.
let's try to fix that next...

from vodle.

mensch72 avatar mensch72 commented on June 16, 2024

commenting out that line temporarily makes ionic serve compile successfully.
observations:

  • default wap in settings page does not show, console has error "pinFormatter is not a function" --> commented this out for now.

from vodle.

mensch72 avatar mensch72 commented on June 16, 2024

removed pinformatter altogether, it had no function anyway.
more observations:

  • add option dialog now too narrow --> adjusted global.scss

from vodle.

mensch72 avatar mensch72 commented on June 16, 2024

apparently all issues have been solved. will test live now.

from vodle.

mensch72 avatar mensch72 commented on June 16, 2024

all seems to work. will merge now.

from vodle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.