I’m working on a resource component that assembles...
# general
c
I’m working on a resource component that assembles aws, tls, and a custom provider into some higher order components. I am having issues setting
$ref
for the TLS provider and my own custom provider. What is the best way to explorer schemas? And for the custom provider the typescript sdk is referencing
@pulumi
instead of my npm org.
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"
Is it
moduleToPackage
to fix the imports?
Copy code
import * as pulumiSvmkit from "@pulumi/svmkit"
I need to configure the import for the package. moduleToPackage didn’t do it