I’m building a custom resource package which uses ...
# typescript
c
I’m building a custom resource package which uses a provider we also wrote but when the typescript sdk is generated its trying to import the types I declared in schema from the incorrect package
Copy code
- import pulumiSmkit from "@pulumi/svmkit"
+ import pulumiSmkit from "@svmkit/pulumi-svmkit"
The import should be to the package we host and not from the pulumi org. Can I set this in the schema.yaml somewhere?
Copy code
name: svmkit-resource-components
resources:
  svmkit-resource-components:aws:Node:
    properties:
      voteAccountKey:
        "$ref": /svmkit/v0.12.0/schema.json#/resources/svmkit:index:KeyPair
        description: The vote account key pair.
languages:
  nodejs:
    packageName: "@svmkit/svmkit-resource-components"
    dependencies:
      "@svmkit/pulumi-svmkit": "^0.12.0"
    devDependencies:
      typescript: "^3.7.0"