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

feat: update to Angular 12 #2769

Merged
merged 17 commits into from
Jun 27, 2021
Merged

feat: update to Angular 12 #2769

merged 17 commits into from
Jun 27, 2021

Conversation

yggg
Copy link
Contributor

@yggg yggg commented Jun 16, 2021

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

Fixes #2763. Fixes #2742.

BREAKING CHANGE:

  • Bump Angular version to 12.
  • Minimal requred tslib version is 2.1.0.
  • NbTable and NbTreeGridComponent:
    • _viewRepeater, _coalescedStyleScheduler constructor parameters are now required.
    • New parameters (_viewportRuler, _stickyPositioningListener) added to the constructor.

@yggg yggg requested a review from andreipadolin June 17, 2021 09:15
yggg added 4 commits June 17, 2021 14:09
`@angular-devkit/*` packages have a different of rxjs and it causes
incompatibilities in types. Switching to promises so we don't mix devkit
Observables with operators from our version.
Angular 12 started to process `scss` files from the `assets` directory
as a project files when building with production configuration. To prevent
build errors we ignore `assets/examples` directory in the production
configuration and than copying it manually to the dist directory when
build is over. This way we prevent build error, but now we can't run
`ng serve docs` with production configuration as we can't copy add examples
directory to the internal Angular server. As a workaround we could build docs
and then serve it with a simple http server, for example `npx http-server docs/dist` and navigate to `localhost:8080/nebular`.
As for now it's still possible to run `ng serve docs` in a dev configuration.
Details on assets processing:
https://stackoverflow.com/a/67742437/9334725
@ubihacks
Copy link

any update on this

andreipadolin
andreipadolin previously approved these changes Jun 21, 2021
@MVDeveloper1
Copy link

MVDeveloper1 commented Jun 25, 2021

When the package will be updated? This should be considered urgent!

@xorb
Copy link

xorb commented Jun 25, 2021

any update on this?

@yggg yggg merged commit 5e74916 into akveo:master Jun 27, 2021
@yggg yggg deleted the feat/update-to-angular-12 branch June 27, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants