sparse-intern-71089
01/27/2020, 3:05 PMrhythmic-finland-36256
01/27/2020, 3:09 PMlimited-rainbow-51650
01/27/2020, 3:41 PMrhythmic-finland-36256
01/27/2020, 3:45 PMrhythmic-finland-36256
01/27/2020, 3:46 PMrhythmic-finland-36256
02/10/2020, 11:56 PMbest-summer-38252
02/11/2020, 9:27 AMrhythmic-finland-36256
02/24/2020, 12:42 PM@pulumi/kubernetes@1.4.5
in my package.json
- should this exact version be given to the user of my module, too? Maybe the user started yesterday and already uses @pulumi/kubernetes@1.5.1
which has some bugfixes. Not sure how this behaves then.limited-rainbow-51650
02/24/2020, 12:51 PMpackage.json
like "@pulumi/kubernetes": "^1.4.3"
but do not publish a lock file to the registry. The given version specifier uses 1.4.3 as the minimum version but will use a later 1.4.x version when availablelimited-rainbow-51650
02/24/2020, 12:52 PMrhythmic-finland-36256
02/24/2020, 12:56 PMnpm ci
over npm install
. When someone else installs my library, they will have their own lock-file tracking also transitive dependencies, right?rhythmic-finland-36256
02/24/2020, 12:57 PM@pulumi/kubernetes
but might choose the version on their own?limited-rainbow-51650
02/24/2020, 1:13 PMrhythmic-finland-36256
02/24/2020, 1:39 PMboundless-airport-99052
02/25/2020, 8:17 AMHow to deal with testingI have a nested pulumi project that imports the component in parent folder
import * as lib from '../index'
And before releasing the component, I do unit tests on the component itself and do a pulumi preview
on the pulumi project. I think I can go further by doing a real pulumi up
and pulumi destroy
during testing phase.
How to handle dependenciesFor the moment, I only add
@pulumi/*
dependencies as devDependencies
and let main project configure dependencies version. But I’m not sure it’s the best way to deal with dependencies, especially if you publish your component publiclyNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by