I have a Javascript SDK that is published to NPM. I also have a Vue app that uses the SDK and I need to be able to test them together in different pre-prod environments (e.g. staging). My questions are:
You can use a private npm-registry that proxies to npmjs. Checkout https://verdaccio.org/
You can publish your sdk package with tags like dev, stg and in your app use those tagged versions based on env
You can use the local version of the javascript SDK package (pulled down from a shared devlopment git branch) in your vue app using npm link https://docs.npmjs.com/cli/v7/commands/npm-link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With