summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extension/package.json2
-rw-r--r--extension/scripts/install_from_source.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/extension/package.json b/extension/package.json
index 1a8d9004..324ea8dd 100644
--- a/extension/package.json
+++ b/extension/package.json
@@ -160,7 +160,7 @@
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
- "package": "cp ./config/prod_config.json ./config/config.json && mkdir -p ./build && vsce package --out ./build && chmod 777 ./build/continue-0.0.5.vsix && cp ./config/dev_config.json ./config/config.json",
+ "package": "cp ./config/prod_config.json ./config/config.json && mkdir -p ./build && vsce package --out ./build && cp ./config/dev_config.json ./config/config.json",
"full-package": "cd ../continuedev && poetry build && cp ./dist/continuedev-0.1.0-py3-none-any.whl ../extension/scripts/continuedev-0.1.0-py3-none-any.whl && cd ../extension && npm run typegen && npm run clientgen && cd react-app && npm run build && cd .. && npm run package",
"install-extension": "code --install-extension ./build/continue-0.0.6.vsix",
"uninstall": "code --uninstall-extension .continue",
diff --git a/extension/scripts/install_from_source.py b/extension/scripts/install_from_source.py
index 28f382b0..bbb86797 100644
--- a/extension/scripts/install_from_source.py
+++ b/extension/scripts/install_from_source.py
@@ -29,7 +29,7 @@ def main():
print("Poetry is required for Continue but is not installed on your machine. See https://python-poetry.org/docs/#installation to download the latest version, then try again.")
return
- resp = run("cd ../../continuedev; poetry run typegen")
+ resp = run("cd ../../continuedev; poetry install; poetry run typegen")
resp = run(
"cd ..; npm i; cd react-app; npm i; cd ..; npm run full-package")