Skip to content

ng update modifies files out of the project #2907

Closed
@jnizet

Description

@jnizet

Version info

Angular:
12.2.1

Firebase:
8.9.1

AngularFire:
6.1.5

Other (e.g. Ionic/Cordova, Node, browser, operating system):
macOS

Expected behavior

ng update @angular/fire modifies source files of the Angular project only

Actual behavior

ng update @angular/fire modifies source files outside of the angular project.

I have a subdirectory functions in my root project directory, containing... a firebase function, with its own package.json etc. When running the update from the root directory containing the package.json for the Angular poject, the update also modifies the file functions/src/index.ts and replaces import * as functions from 'firebase-functions'; by import * as functions from 'firebase/compat-functions';.

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