Skip to content

SPFx project upgrade - rush stack compiler config not upgraded to 4.7 #5925

@ferrarirosso

Description

@ferrarirosso

Priority

(Low) Something is a little off

Description

I have upgraded an spfx project from 1.15.2 to 1.18.2 using the @pnp/[email protected]

  1. Under the devDependencies, the entry "@microsoft/rush-stack-compiler-4.5"... for the 1.15.2 will not be removed as there is no instructions to remove it.
  2. The tsconfig.json will still point to this 4.5 version, instead of the newly installed (through the spfx project upgrade to 1.18.2) v4.7

I've removed the v4.5 entry and also updated my tsconfig.json manually to point to v4.7 as I suppose this is the version to be used, correct ?

Steps to reproduce

Perform an upgrade of a spfx 1.15.2 to spfx 1.18.2
image

Expected results

Remove reference to rush-stack-compiler v4.5
Generate instruction to use v4.7 in tsconfig.json

Actual results

see description above

Diagnostics

No response

CLI for Microsoft 365 version

7.5.0

nodejs version

18.19.1

Operating system (environment)

macOS

Shell

zsh

cli doctor

No response

Additional Info

No response

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