alexa-games / skill-flow-builder

Development suite that helps you create narrative-driven Alexa skills, including a GUI editor and CLI
Other
69 stars 17 forks source link

fix: alexa-sfb vscode when installed locally #25

Closed tyliec closed 4 years ago

tyliec commented 4 years ago

fix: alexa-sfb vscode when installed locally

When installed locally, alexa-sfb vscode errors out with problems accessing local reference paths file:../sfb-f, file:../sfb-util, ...etc.

Description

When the CLI is installed locally, edit the package.json to point towards the modules before running npm install --production so we still can reference those local file paths.

Edited related test(s).

Motivation and Context

Stop alexa-sfb vscode from erroring out on a local install.

Testing

alexa-sfb vscode yarn test

Types of changes

Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tyliec commented 4 years ago

Potential Problem: Our users have vscode extensions named sfb-*, we overwrite their vscode extensions.