diff --git a/.vscodeignore b/.vscodeignore index fbd8824..c5a93c2 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -10,3 +10,5 @@ vsc-extension-quickstart.md **/.eslintrc.json **/*.map **/*.ts + +setup-development/** \ No newline at end of file diff --git a/setup-development/linux/upgrade-linux.sh b/setup-development/linux/upgrade-linux.sh index 1cfa484..9399b59 100755 --- a/setup-development/linux/upgrade-linux.sh +++ b/setup-development/linux/upgrade-linux.sh @@ -114,8 +114,8 @@ dryrun nvm install "$nodeversion" dryrun nvm use "$nodeversion" # Use npm to install electron-rebuild and yo -printf "Installing electron-rebuild, yo, and generator-code\n" -dryrun npm install electron-rebuild yo generator-code +printf "Installing electron-rebuild and vsce\n" +dryrun npm install -g electron-rebuild vsce # use npm to acquire dependencies for Mind-Reader printf "\nAcquiring dependencies...\n" diff --git a/setup-development/windows/upgrade-windows.ps1 b/setup-development/windows/upgrade-windows.ps1 index 0e7a549..49e19ad 100644 --- a/setup-development/windows/upgrade-windows.ps1 +++ b/setup-development/windows/upgrade-windows.ps1 @@ -165,11 +165,11 @@ function EnsureNodePackageInstalled { } } -# Check if electron-rebuild is installed, if not, install it +# electron-rebuild is used to rebuild the extension for a given version of Electron EnsureNodePackageInstalled electron-rebuild -# These are useful (but not necessary) packages to have installed when working on new VSCode extensions -EnsureNodePackageInstalled yo, generator-code +# vsce is used to package the extension +EnsureNodePackageInstalled vsce # We're about to do some path traversal, so save the current directory $prev_directory = $pwd