Skip to content

Angular 16 support #167

Description

@fmalcher

Angular 16 is out, and we are happy to say that this package is compatible with the new Angular without any notable changes.
However, the ng add command fails at the moment:

$ ng add angular-cli-ghpages
ℹ Using package manager: npm
✔ Found compatible package version: angular-cli-ghpages@0.6.2.
✔ Package information loaded.

The package angular-cli-ghpages@0.6.2 will be installed and executed.
Would you like to proceed? Yes
✔ Packages successfully installed.
NOT SUPPORTED: keyword "id", use "$id" for schema ID

This is because the Angular CLI looks for the most compatible version where all peerDependencies are met.
Since we set Angular itself to <= 15 in our peer deps, it will select a very old version.

As a workaround, please add @latest here and ignore the warning:

ng add angular-cli-ghpages@latest

This is a very small fix, and we're trying to release a new version in the next couple of days.
PRs are welcome!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions