An admin has added a formula field to our production org that includes a reference to a field from a 3rd party managed package.
I want to bring this field into our sfdx project codebase now, but will get an error when creating scratch orgs because our scratch orgs obviously don't have the 3rd party managed package installed.
Is there a way to get around this issue? I have tried adding the managed package to the list of dependencies in the sfdx-project.json
file of our sfdx project, but it doesn't seem to get installed when a scratch org is created.
Even if that is possible, I'm still not 100% sure whether we would get charged for scratch org deployments with this package installed, as it is a paid package?