Elffuss BraidHub

kikocis/continue public

Merge pull request #6301 from continuedev/pe/prerelease

chore: update preview.yaml with package build logic
Changesetd2d9136faab9c5907f15baa2f81cb918d44aab5da2727c9689ef778ca6128817
AuthorPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-06-25 21:46 -07:00
CommitterGitHub <noreply@github.com> · 2025-06-25 21:46 -07:00
Parents6938fb4f8042, a36aa2a5e5e6

Browse the files at this changeset

9 files changed

modified .github/workflows/main.yaml +2 −2
@@ -105,11 +105,11 @@
105105 key: ${{ runner.os }}-node-${{ hashFiles('gui/package-lock.json') }}
106106
107107 - name: Build packages (Windows)
108- run: build.ps1
108+ run: ./scripts/build-packages.ps1
109109 if: matrix.os == 'windows-latest'
110110
111111 - name: Build packages (Unix)
112- run: ./build.sh
112+ run: ./scripts/build-packages.sh
113113 if: matrix.os != 'windows-latest'
114114
115115 - name: Install extension Dependencies
modified .github/workflows/preview.yaml +8 −0
@@ -99,6 +99,14 @@
9999 path: gui/node_modules
100100 key: ${{ runner.os }}-node-${{ hashFiles('gui/package-lock.json') }}
101101
102+ - name: Build packages (Windows)
103+ run: ./scripts/build-packages.ps1
104+ if: matrix.os == 'windows-latest'
105+
106+ - name: Build packages (Unix)
107+ run: ./scripts/build-packages.sh
108+ if: matrix.os != 'windows-latest'
109+
102110 - name: Install extension Dependencies
103111 run: |
104112 cd extensions/vscode
modified binary/package-lock.json +1 −1
@@ -55,7 +55,7 @@
5555 "@continuedev/config-yaml": "file:../packages/config-yaml",
5656 "@continuedev/fetch": "^1.0.14",
5757 "@continuedev/llm-info": "^1.0.8",
58- "@continuedev/openai-adapters": "1.0.42",
58+ "@continuedev/openai-adapters": "file:../packages/openai-adapters",
5959 "@modelcontextprotocol/sdk": "^1.12.0",
6060 "@mozilla/readability": "^0.5.0",
6161 "@octokit/rest": "^20.1.1",
deleted build.ps1 +0 −13
@@ -1,13 +0,0 @@
1-Push-Location packages
2-
3-Push-Location "openai-adapters"
4-npm ci
5-npm run build
6-Pop-Location
7-
8-Push-Location "config-yaml"
9-npm ci
10-npm run build
11-Pop-Location
12-
13-Pop-Location
No newline at the end of the file
deleted build.sh +0 −13
@@ -1,13 +0,0 @@
1-# Build @continuedev packages for monorepo style linking
2-
3-cd packages
4-cd openai-adapters
5-
6-npm ci
7-npm run build
8-
9-cd ..
10-cd config-yaml
11-
12-npm ci
13-npm run build
modified extensions/vscode/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

modified gui/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

added scripts/build-packages.ps1 +13 −0
@@ -0,0 +1,13 @@
1+Push-Location packages
2+
3+Push-Location "openai-adapters"
4+npm ci
5+npm run build
6+Pop-Location
7+
8+Push-Location "config-yaml"
9+npm ci
10+npm run build
11+Pop-Location
12+
13+Pop-Location
No newline at the end of the file
added scripts/build-packages.sh +13 −0
@@ -0,0 +1,13 @@
1+# Build @continuedev packages for monorepo style linking
2+
3+cd packages
4+cd openai-adapters
5+
6+npm ci
7+npm run build
8+
9+cd ..
10+cd config-yaml
11+
12+npm ci
13+npm run build