https://pulumi.com logo
#typescript
Title
# typescript
p

proud-cricket-86351

04/29/2022, 3:13 PM
Is it possible to publish a TS pulumi project to NPM? and if so is there any tutorial?
b

billowy-army-68599

04/29/2022, 3:14 PM
not a pulumi project, but you can publish a ComponentResource
what do you currently have?
p

proud-cricket-86351

04/29/2022, 3:15 PM
oh a component resource would fit my use case aswell
is there any example of that perhaps? i just want to publish a very small s3 bucket component resource to npm
if you have the
package.json
and everything configured correctly you just need to run
npm publish
p

proud-cricket-86351

04/29/2022, 3:20 PM
Ah i see, so basically the package.json determines if it could be a npm package or not
b

billowy-army-68599

04/29/2022, 3:21 PM
yup
p

proud-cricket-86351

04/29/2022, 3:21 PM
Cool bro, thanks for your time again and im going to create an awesome pulumi project!
b

billowy-army-68599

04/29/2022, 3:21 PM
once you've created the component, give me a shout and I'll help you make it multi language 😉
p

proud-cricket-86351

04/29/2022, 3:21 PM
wait?
multi language isn’t that very hard?
b

billowy-army-68599

04/29/2022, 3:22 PM
not really, you can take an existing component and make it a multi language component in Pulumi by adding a few steps
p

proud-cricket-86351

04/29/2022, 3:22 PM
woooow
thats really cool
b

billowy-army-68599

04/29/2022, 3:22 PM

https://www.youtube.com/watch?v=4psf6WVLxtY

p

proud-cricket-86351

04/29/2022, 3:23 PM
Thx pall!
im going to check it out, do you mind me messaging you if i dont understand or have questions
b

billowy-army-68599

04/29/2022, 3:23 PM
its best to keep it public so everyone can benefit, but feel free to drop me questions in a channel, happy to help
👍 1
p

proud-cricket-86351

04/29/2022, 3:26 PM
sure thing