small script corrections

This commit is contained in:
Nate Sesti 2023-05-31 20:55:52 -04:00
parent a1eba543b1
commit ab1e7a42d6
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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")