Skip to content

test: try 20-next #292

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

test: try 20-next #292

wants to merge 5 commits into from

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Apr 11, 2025

This is just optimistic change trying out:

ng update @angular/cli @angular/core --next

And ensuring min node supported version in Angular 20 is used to build the app

@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Apr 11, 2025
Copy link

netlify bot commented Apr 11, 2025

Deploy Preview for plugin-angular-universal-demo ready!

Name Link
🔨 Latest commit f931f0b
🔍 Latest deploy log https://app.netlify.com/sites/plugin-angular-universal-demo/deploys/680217bdcbea24000861169a
😎 Deploy Preview https://deploy-preview-292--plugin-angular-universal-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

import { appConfig } from './app.config'
import { serverRoutes } from './app.routes.server'

const serverConfig: ApplicationConfig = {
providers: [provideServerRendering(), provideServerRoutesConfig(serverRoutes)],
providers: [provideServerRendering(withRoutes(serverRoutes))],
Copy link
Contributor Author

@pieh pieh Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This had to be migrated manually (checked how newly scaffolded project with npx @angular/cli@next new sets things up) as ng update @angular/cli @angular/core --next didn't cover it (initially it resulted in trying to import no longer existing provideServerRoutesConfig function)

@pieh
Copy link
Contributor Author

pieh commented Apr 11, 2025

Note - test on Node 18 fail because it's unsupported with Angular 20:

$ npm run build

> [email protected] build
> ng build --verbose

Node.js version v18.19.0 detected.
The Angular CLI requires a minimum Node.js version of v20.11.

Please update your Node.js version or visit https://nodejs.org/ for additional instructions.

Test setup would need adjustment to skip tests using Angular 20 when on not supported Node version to continue testing previous Angular major versions (or maybe drop testing this node version as it's no longer maintained anyway)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant