Hello everybody!! We are in the process of publish...
# package-authoring
p
Hello everybody!! We are in the process of publishing our
duplocloud
pulumi terraform bridge provider, I am facing one issue while building node SDK with a custom namespace like
@duplocloud/pulumi
instead of
@pulumi/duplocloud
, Few typescript files generated as part of node SDK not referring to custom namespace
@duplocloud/pulumi
instead its adding
@pulumi/duplocloud
I see there is already issue filed- https://github.com/pulumi/pulumi/issues/15979 A few details:
schema.json
Copy code
"nodejs": {
            "packageName": "@duplocloud/pulumi",
            "packageDescription": "A Pulumi package for creating and managing duplocloud cloud resources.",
            "readme": "\u003e This provider is a derived work of the [Terraform Provider](<https://github.com/duplocloud/terraform-provider-duplocloud|https://github.com/duplocloud/terraform-provider-duplocloud>)\n\u003e distributed under [MPL 2.0](<https://www.mozilla.org/en-US/MPL/2.0/|https://www.mozilla.org/en-US/MPL/2.0/>). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-duplocloud` repo](<https://github.com/duplocloud/pulumi-duplocloud/issues|https://github.com/duplocloud/pulumi-duplocloud/issues>); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-duplocloud` repo](<https://github.com/duplocloud/terraform-provider-duplocloud/issues|https://github.com/duplocloud/terraform-provider-duplocloud/issues>).",
            "compatibility": "tfbridge20",
            "disableUnionOutputTypes": true,
            "respectSchemaVersion": true
        },
resources.go
Copy code
JavaScript: &tfbridge.JavaScriptInfo{
            // RespectSchemaVersion ensures the SDK is generated linking to the correct version of the provider.
            RespectSchemaVersion: true,
            PackageName:          "@duplocloud/pulumi",
        },
Am I missing anything here? Or do I need to use a pulumi scope for publishing the Node SDK?