Skip to content

Commit 627eaac

Browse files
committed
Rename "Roo Code Nightly" to "Roo Code Next"
1 parent 170fde8 commit 627eaac

File tree

15 files changed

+53
-53
lines changed

15 files changed

+53
-53
lines changed

.github/workflows/nightly-publish.yml renamed to .github/workflows/next-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly Publish
1+
name: Publish Roo Code Next
22

33
on:
44
workflow_run:
@@ -13,7 +13,7 @@ env:
1313
PNPM_VERSION: 10.8.1
1414

1515
jobs:
16-
publish-nightly:
16+
publish-next:
1717
runs-on: ubuntu-latest
1818
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1919

@@ -36,7 +36,7 @@ jobs:
3636
cache: 'pnpm'
3737
- name: Install dependencies
3838
run: pnpm install --frozen-lockfile
39-
- name: Forge numeric Nightly version
39+
- name: Forge numeric version
4040
id: version
4141
env:
4242
RUN_NUMBER: ${{ github.run_number }}
@@ -48,15 +48,15 @@ jobs:
4848
node <<'EOF'
4949
const fs = require('fs');
5050
const path = require('path');
51-
const pkgPath = path.join(__dirname, 'apps', 'vscode-nightly', 'package.nightly.json');
51+
const pkgPath = path.join(__dirname, 'apps', 'vscode-next', 'package.next.json');
5252
const pkg = JSON.parse(fs.readFileSync(pkgPath,'utf8'));
5353
const [maj, min] = pkg.version.split('.');
5454
pkg.version = `${maj}.${min}.${process.env.VERSION_NUMBER}`;
5555
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2));
56-
console.log(`🔖 Nightly version set to ${pkg.version}`);
56+
console.log(`🔖 Version set to ${pkg.version}`);
5757
EOF
5858
- name: Build VSIX
59-
run: pnpm build:nightly # Produces bin/roo-code-nightly-0.0.[count].vsix
59+
run: pnpm build:next # Produces bin/roo-code-next-0.0.[count].vsix
6060
- name: Publish to VS Code Marketplace
6161
env:
6262
VSCE_PAT: ${{ secrets.VSCE_PAT }}
File renamed without changes.

apps/vscode-nightly/esbuild.mjs renamed to apps/vscode-next/esbuild.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ const __filename = fileURLToPath(import.meta.url)
99
const __dirname = path.dirname(__filename)
1010

1111
async function main() {
12-
const name = "extension-nightly"
12+
const name = "extension-next"
1313
const production = process.argv.includes("--production")
1414
const minify = production
1515
const sourcemap = !production
1616

17-
const overrideJson = JSON.parse(fs.readFileSync(path.join(__dirname, "package.nightly.json"), "utf8"))
17+
const overrideJson = JSON.parse(fs.readFileSync(path.join(__dirname, "package.next.json"), "utf8"))
1818
console.log(`[${name}] name: ${overrideJson.name}`)
1919
console.log(`[${name}] version: ${overrideJson.version}`)
2020

@@ -35,7 +35,7 @@ async function main() {
3535
define: {
3636
"process.env.PKG_NAME": '"roo-code-nightly"',
3737
"process.env.PKG_VERSION": `"${overrideJson.version}"`,
38-
"process.env.PKG_OUTPUT_CHANNEL": '"Roo-Code-Nightly"',
38+
"process.env.PKG_OUTPUT_CHANNEL": '"Roo-Code-Next"',
3939
...(gitSha ? { "process.env.PKG_SHA": `"${gitSha}"` } : {}),
4040
},
4141
}
@@ -108,13 +108,13 @@ async function main() {
108108

109109
const nlsPkg = JSON.parse(fs.readFileSync(path.join(srcDir, "package.nls.json"), "utf8"))
110110

111-
const nlsNightlyPkg = JSON.parse(
112-
fs.readFileSync(path.join(__dirname, "package.nls.nightly.json"), "utf8"),
111+
const nlsNextPkg = JSON.parse(
112+
fs.readFileSync(path.join(__dirname, "package.nls.next.json"), "utf8"),
113113
)
114114

115115
fs.writeFileSync(
116116
path.join(buildDir, "package.nls.json"),
117-
JSON.stringify({ ...nlsPkg, ...nlsNightlyPkg }, null, 2),
117+
JSON.stringify({ ...nlsPkg, ...nlsNextPkg }, null, 2),
118118
)
119119

120120
console.log(`[generatePackageJson] Generated package.nls.json`)

apps/vscode-next/package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "@roo-code/vscode-next",
3+
"description": "'Next' build for the Roo Code VSCode extension.",
4+
"private": true,
5+
"packageManager": "[email protected]",
6+
"scripts": {
7+
"bundle:next": "node esbuild.mjs",
8+
"vsix:next": "cd build && mkdirp ../../../bin && npx vsce package --no-dependencies --out ../../../bin",
9+
"clean": "rimraf build .turbo"
10+
},
11+
"devDependencies": {
12+
"@roo-code/build": "workspace:^"
13+
}
14+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "roo-code-nightly",
33
"version": "0.0.1",
4-
"icon": "assets/icons/icon-nightly.png",
4+
"icon": "assets/icons/icon-next.png",
55
"scripts": {}
66
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extension.displayName": "Roo Code Next",
3+
"views.contextMenu.label": "Roo Code Next",
4+
"views.terminalMenu.label": "Roo Code Next",
5+
"views.activitybar.title": "Roo Code Next",
6+
"configuration.title": "Roo Code Next"
7+
}

apps/vscode-nightly/package.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

apps/vscode-nightly/package.nls.nightly.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"test": "turbo test --log-order grouped --output-logs new-only",
1515
"format": "turbo format --log-order grouped --output-logs new-only",
1616
"bundle": "turbo bundle --log-order grouped --output-logs new-only",
17-
"bundle:nightly": "turbo bundle:nightly --log-order grouped --output-logs new-only",
17+
"bundle:next": "turbo bundle:next --log-order grouped --output-logs new-only",
1818
"build": "turbo vsix --log-order grouped --output-logs new-only",
19-
"build:nightly": "turbo vsix:nightly --log-order grouped --output-logs new-only",
19+
"build:next": "turbo vsix:next --log-order grouped --output-logs new-only",
2020
"clean": "turbo clean --log-order grouped --output-logs new-only && rimraf dist out bin .vite-port .turbo",
2121
"changeset:version": "cp CHANGELOG.md src/CHANGELOG.md && changeset version && cp -vf src/CHANGELOG.md .",
2222
"knip": "knip --include files",

packages/build/src/__tests__/index.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,22 +109,22 @@ describe("generatePackageJson", () => {
109109
},
110110
overrideJson: {
111111
name: "roo-code-nightly",
112-
displayName: "Roo Code Nightly",
112+
displayName: "Roo Code Next",
113113
publisher: "RooVeterinaryInc",
114114
version: "0.0.1",
115-
icon: "assets/icons/icon-nightly.png",
115+
icon: "assets/icons/icon-next.png",
116116
scripts: {},
117117
},
118118
substitution: ["roo-cline", "roo-code-nightly"],
119119
})
120120

121121
expect(generatedPackageJson).toStrictEqual({
122122
name: "roo-code-nightly",
123-
displayName: "Roo Code Nightly",
123+
displayName: "Roo Code Next",
124124
description: "%extension.description%",
125125
publisher: "RooVeterinaryInc",
126126
version: "0.0.1",
127-
icon: "assets/icons/icon-nightly.png",
127+
icon: "assets/icons/icon-next.png",
128128
contributes: {
129129
viewsContainers: {
130130
activitybar: [

0 commit comments

Comments
 (0)