@echoing-dinner-19531 Thanks for the quick response
I am asking this since I have an issue with doing so, I would appreciate it dearly if you can advise me on how to handle my error
I used this template repo -
https://github.com/pulumi/pulumi-component-provider-go-boilerplate
Thing is, when my GitHub actions runs and trying to publish the NodeJS SDK, it fails on the error:
npm ERR! need auth This command requires you to be logged in to <https://npm.pkg.github.com/>
npm ERR! need auth You need to authorize this machine using `npm adduser`
My suspicion is - that it happens because the Makefile script builds a
package.json
inside
sdk/nodejs/bin
with the following:
{
"name": "@pulumi/xyz",
"version": "0.0.1",
"repository": "pulumi-<MY_REPO_NAME>",
"scripts": {
"build": "tsc",
"install": "node scripts/install-pulumi-plugin.js resource xyz "
},
"dependencies": {
"@pulumi/aws": "^4.0.0"
},
"devDependencies": {
"typescript": "^3.7.0"
},
"peerDependencies": {
"@pulumi/pulumi": "latest"
},
"pulumi": {
"resource": true,
"pluginDownloadURL": "<github://api.github.com/@><MY_ORG>[/<MY_REPO_NAME>]"
}
}
Notice the part -
"name": "@pulumi/xyz"
From my understanding it should be something like:
"name": "@<MY_ORG_NAME>/xyz"
Is there a keyword that I can pass to the schema.yaml file in order to change this?