Skip to content

Commit

Permalink
chore: add docs to install script (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Erichsen authored Jun 20, 2024
1 parent a6ff923 commit 5876649
Show file tree
Hide file tree
Showing 7 changed files with 676 additions and 740 deletions.
10 changes: 10 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,16 @@
"options": {
"cwd": "binary"
}
},
{
"label": "docs:start",
"type": "shell",
"command": "npm",
"args": ["run", "start"],
"problemMatcher": [],
"options": {
"cwd": "docs"
}
}
]
}
1,378 changes: 646 additions & 732 deletions docs/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.2.1",
"@docusaurus/plugin-client-redirects": "^3.2.1",
"@docusaurus/preset-classic": "^3.2.1",
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-client-redirects": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.1.0",
"docusaurus-json-schema-plugin": "^1.11.0",
Expand Down
4 changes: 2 additions & 2 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "continue",
"icon": "media/icon.png",
"version": "0.9.163",
"version": "0.9.165",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"
Expand Down
3 changes: 3 additions & 0 deletions scripts/install-dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@ npm run build

Pop-Location

Write-Output "`nInstalling docs dependencies..." -ForegroundColor White
Push-Location docs

npm install
13 changes: 11 additions & 2 deletions scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@
# - Run Task -> Install Dependencies
# - Debug -> Extension
set -e

echo "Installing Core extension dependencies..."
pushd core
npm install
npm link

popd

echo "Installing GUI extension dependencies..."
pushd gui
npm install
npm link @continuedev/core
npm run build

popd

# VSCode Extension (will also package GUI)
echo "Installing VSCode extension dependencies..."
pushd extensions/vscode

# This does way too many things inline but is the common denominator between many of the scripts
npm install
npm link @continuedev/core
Expand All @@ -31,4 +34,10 @@ popd
echo "Installing binary dependencies..."
pushd binary
npm install
npm run build
npm run build

popd

echo "Installing docs dependencies..."
pushd docs
npm install

0 comments on commit 5876649

Please sign in to comment.