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

Atualizar Angular (11 > 19) #335

Open
8 tasks
lguima opened this issue Feb 1, 2025 · 4 comments · May be fixed by #331, #336, #337 or #338
Open
8 tasks

Atualizar Angular (11 > 19) #335

lguima opened this issue Feb 1, 2025 · 4 comments · May be fixed by #331, #336, #337 or #338
Labels
enhancement New feature or request

Comments

@lguima
Copy link
Collaborator

lguima commented Feb 1, 2025

Versões


Validações

Deploy (Netlify)

  • Log

Scripts (Local)

  • Install
  • Serve
  • Build
    • Local
    • Production
  • Test
  • E2E

Site (Local/Preview)

  • Desktop
  • Mobile

Referências

@lguima lguima added the enhancement New feature or request label Feb 1, 2025
@lguima lguima changed the title Atualizar Angular Atualizar Angular (11 > 19) Feb 1, 2025
@lguima
Copy link
Collaborator Author

lguima commented Feb 1, 2025

Angular (11 > 12)

Pull Request: #331


❌ Erros

Package "@angular-devkit/build-angular" has an incompatible peer dependency to "tailwindcss" (requires "^2.0.0", would install "3.3.1")

[error] Error: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

⚠️ Avisos

(node:5510) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
warning " > angular-responsive-carousel@2.1.2" has incorrect peer dependency "@angular/common@^11.2.14".
warning " > angular-responsive-carousel@2.1.2" has incorrect peer dependency "@angular/core@^11.2.14".
warning "@angular-devkit/build-angular > webpack-dev-server > webpack-dev-middleware@3.7.2" has incorrect peer dependency "webpack@^4.0.0".
warning " > karma-jasmine-html-reporter@1.7.0" has incorrect peer dependency "jasmine-core@>=3.8".
warning "tailwindcss > postcss-js@4.0.1" has incorrect peer dependency "postcss@^8.4.21".

@lguima
Copy link
Collaborator Author

lguima commented Feb 1, 2025

Angular (12 > 13)

Pull Request: #336
Diff: lguima#1


❌ Erros

Package "angular-responsive-carousel" has an incompatible peer dependency to "@angular/common" (requires "^11.2.14" (extended), would install "13.4.0").
Package "angular-responsive-carousel" has an incompatible peer dependency to "@angular/core" (requires "^11.2.14" (extended), would install "13.4.0").

[error] Error: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
Package "@angular/flex-layout" has an incompatible peer dependency to "@angular/cdk" (requires "^12.0.0", would install "13.3.9").

Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

⚠️ Avisos

@lguima
Copy link
Collaborator Author

lguima commented Feb 1, 2025

Angular (13 > 14)

Pull Request: #337
Diff: lguima#2


❌ Erros

Package "angular-responsive-carousel" has an incompatible peer dependency to "@angular/common" (requires "^11.2.14" (extended), would install "14.3.0").
Package "angular-responsive-carousel" has an incompatible peer dependency to "@angular/core" (requires "^11.2.14" (extended), would install "14.3.0").

[error] Error: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
Package "@angular/flex-layout" has an incompatible peer dependency to "@angular/cdk" (requires "^12.0.0", would install "14.2.7").

[error] Error: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

⚠️ Avisos

Débitos Técnicos

FormControl

Form models now require a generic type parameter. For gradual migration you can opt-out using the untyped version of the form model classes.

import { FormControl, FormGroup } from '@angular/forms';
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';

@lguima lguima linked a pull request Feb 1, 2025 that will close this issue
10 tasks
@lguima
Copy link
Collaborator Author

lguima commented Feb 1, 2025

Angular (14 > 15)

Issue: #339
Pull Request: #338
Diff: lguima#3


❗ Observações

In Angular Material v15, many of the components have been refactored to be based on the official Material Design Components for Web (MDC). This change affected the DOM and CSS classes of many components. Read further

After you update your application to v15, visually review your application and its interactions to ensure everything is working as it should.


❌ Erros

Package "angular-responsive-carousel" has an incompatible peer dependency to "@angular/common" (requires "^11.2.14" (extended), would install "15.2.10").
Package "angular-responsive-carousel" has an incompatible peer dependency to "@angular/core" (requires "^11.2.14" (extended), would install "15.2.10").

[error] Error: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
Package "@angular/flex-layout" has an incompatible peer dependency to "@angular/cdk" (requires "^12.0.0", would install "15.2.9").

[error] Error: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
Error: node_modules/@datorama/akita/src/lib/entityStore.d.ts:262:83 - error TS2344: Type 'UIState' does not satisfy the constraint 'EntityState<any, any>'.

262 export declare class EntityUIStore<UIState, DEPRECATED = any> extends EntityStore<UIState> {
                                                                                      ~~~~~~~

  node_modules/@datorama/akita/src/lib/entityStore.d.ts:262:36
    262 export declare class EntityUIStore<UIState, DEPRECATED = any> extends EntityStore<UIState> {
                                           ~~~~~~~
    This type parameter might need an `extends EntityState<any, any>` constraint.
./node_modules/@datorama/akita/src/lib/arrayFind.js:28:9-29 - Error: export 'distinctUntilChanged' (imported as 'distinctUntilChanged') was not found in 'rxjs' (possible exports: ArgumentOutOfRangeError, AsyncSubject, BehaviorSubject, ConnectableObservable, EMPTY, EmptyError, GroupedObservable, NEVER, Notification, NotificationKind, ObjectUnsubscribedError, Observable, ReplaySubject, Scheduler, Subject, Subscriber, Subscription, TimeoutError, UnsubscriptionError, VirtualAction, VirtualTimeScheduler, animationFrame, animationFrameScheduler, asap, asapScheduler, async, asyncScheduler, bindCallback, bindNodeCallback, combineLatest, concat, config, defer, empty, forkJoin, from, fromEvent, fromEventPattern, generate, identity, iif, interval, isObservable, merge, never, noop, observable, of, onErrorResumeNext, pairs, partition, pipe, queue, queueScheduler, race, range, scheduled, throwError, timer, using, zip)

⚠️ Avisos

Warning: .../querido-diario-frontend/src/app/modules/components/notifications/notifications.component.ts depends on 'moment'. CommonJS or AMD dependencies can cause optimization bailouts.

For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: .../querido-diario-frontend/src/app/modules/pages/search/search.component.ts depends on 'ngx-csv/ngx-csv'. CommonJS or AMD dependencies can cause optimization bailouts.

For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

@lguima lguima linked a pull request Feb 1, 2025 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment