Skip to content

Commit 7bbb5ff

Browse files
authored
Upgrade @runt/schema to 0.6.2 (#206)
* upgrade runt to 0.6.2 * Upgrade @runt/schema to 0.6.2 - Update package.json to use jsr:^0.6.2 - Update runtime command versions across all environments - Update documentation references - Update test expectations - All 58 tests passing
1 parent ddcfc51 commit 7bbb5ff

9 files changed

Lines changed: 37 additions & 38 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ VITE_GOOGLE_CLIENT_ID=94663405566-1go7jlpd2ar9u9urbfirmtjv1bm0tcis.apps.googleus
2525
VITE_GOOGLE_AUTH_ENABLED="false"
2626

2727
# The command displayed in the UI for starting a local Python runtime.
28-
VITE_RUNTIME_COMMAND="deno run --unstable-broadcast-channel --allow-all --env-file=./.env jsr:@runt/pyodide-runtime-agent@0.6.0"
28+
VITE_RUNTIME_COMMAND="deno run --unstable-broadcast-channel --allow-all --env-file=./.env jsr:@runt/pyodide-runtime-agent@0.6.2"

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The `@runt/schema` package provides the shared types and events between Anode an
123123
### Production (JSR Package)
124124

125125
```json
126-
"@runt/schema": "jsr:^0.6.0"
126+
"@runt/schema": "jsr:^0.6.2"
127127
```
128128

129129
Use this for stable releases and production deployments.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The `@runt/schema` package provides shared types and events between Anode and Ru
8585
### Production (JSR Package)
8686

8787
```json
88-
"@runt/schema": "jsr:^0.6.0"
88+
"@runt/schema": "jsr:^0.6.2"
8989
```
9090

9191
Use this for stable releases and production deployments.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ The `@runt/schema` package provides shared types and events between Anode and Ru
215215
**Production (JSR Package)**:
216216

217217
```json
218-
"@runt/schema": "jsr:^0.6.0"
218+
"@runt/schema": "jsr:^0.6.2"
219219
```
220220

221221
**Testing PR Changes (GitHub Reference)**:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dev:scan": "pnpm run dev & npx react-scan@latest localhost:5173",
1212
"dev:prod": "vite --mode production",
1313
"dev:sync": "wrangler dev",
14-
"dev:runtime": "deno run --allow-all --env-file=.env \"jsr:@runt/pyodide-runtime-agent@^0.6.0\"",
14+
"dev:runtime": "deno run --allow-all --env-file=.env \"jsr:@runt/pyodide-runtime-agent@^0.6.2\"",
1515
"build": "vite build --mode development",
1616
"build:preview": "vite build --mode preview",
1717
"build:production": "vite build --mode production",
@@ -60,7 +60,7 @@
6060
"@radix-ui/react-separator": "^1.1.7",
6161
"@radix-ui/react-slot": "^1.2.3",
6262
"@radix-ui/react-tooltip": "^1.1.6",
63-
"@runt/schema": "github:runtimed/runt#8d3bd82a1c2e54cf46b0f133d327d4ca6de6acdc&path:/packages/schema",
63+
"@runt/schema": "jsr:^0.6.2",
6464
"@tanstack/react-virtual": "^3.13.12",
6565
"@types/react-syntax-highlighter": "^15.5.13",
6666
"@uiw/codemirror-theme-github": "^4.23.14",

pnpm-lock.yaml

Lines changed: 25 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/util/runtime-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function generateRuntimeCommand(
1111
): string {
1212
const baseRuntimeCommand =
1313
customCommand ||
14-
'deno run --allow-all --env-file=.env "jsr:@runt/pyodide-runtime-agent@^0.6.0"';
14+
'deno run --allow-all --env-file=.env "jsr:@runt/pyodide-runtime-agent@^0.6.2"';
1515

1616
return `NOTEBOOK_ID=${notebookId} ${baseRuntimeCommand}`;
1717
}

test/runtime-command.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("Runtime Command Generation", () => {
1010
const runtimeCommand = generateRuntimeCommand(notebookId);
1111

1212
expect(runtimeCommand).toBe(
13-
'NOTEBOOK_ID=test-notebook-123 deno run --allow-all --env-file=.env "jsr:@runt/pyodide-runtime-agent@^0.6.0"'
13+
'NOTEBOOK_ID=test-notebook-123 deno run --allow-all --env-file=.env "jsr:@runt/pyodide-runtime-agent@^0.6.2"'
1414
);
1515
});
1616

@@ -51,7 +51,7 @@ describe("Runtime Command Generation", () => {
5151
const runtimeCommand = generateRuntimeCommand(notebookId);
5252

5353
expect(runtimeCommand).toBe(
54-
'NOTEBOOK_ID=notebook-with-dashes_and_underscores.123 deno run --allow-all --env-file=.env "jsr:@runt/pyodide-runtime-agent@^0.6.0"'
54+
'NOTEBOOK_ID=notebook-with-dashes_and_underscores.123 deno run --allow-all --env-file=.env "jsr:@runt/pyodide-runtime-agent@^0.6.2"'
5555
);
5656
});
5757

wrangler.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DEPLOYMENT_ENV = "development"
3737
VITE_LIVESTORE_SYNC_URL = "ws://localhost:8787/livestore"
3838
VITE_GOOGLE_CLIENT_ID = "94663405566-1go7jlpd2ar9u9urbfirmtjv1bm0tcis.apps.googleusercontent.com"
3939
VITE_GOOGLE_AUTH_ENABLED = "false"
40-
VITE_RUNTIME_COMMAND = "deno run --unstable-broadcast-channel --allow-all --env-file=./.env jsr:@runt/pyodide-runtime-agent@0.6.0"
40+
VITE_RUNTIME_COMMAND = "deno run --unstable-broadcast-channel --allow-all --env-file=./.env jsr:@runt/pyodide-runtime-agent@0.6.2"
4141

4242

4343
# ---
@@ -94,7 +94,7 @@ ARTIFACT_THRESHOLD = "16384"
9494
VITE_LIVESTORE_SYNC_URL = "wss://app.runt.run/livestore"
9595
VITE_GOOGLE_CLIENT_ID = "94663405566-1go7jlpd2ar9u9urbfirmtjv1bm0tcis.apps.googleusercontent.com"
9696
VITE_GOOGLE_AUTH_ENABLED = "true"
97-
VITE_RUNTIME_COMMAND = "deno run --unstable-broadcast-channel --allow-all --env-file=./.env.production jsr:@runt/pyodide-runtime-agent@0.6.0"
97+
VITE_RUNTIME_COMMAND = "deno run --unstable-broadcast-channel --allow-all --env-file=./.env.production jsr:@runt/pyodide-runtime-agent@0.6.2"
9898

9999

100100
# Preview Environment (all-in-one worker)
@@ -128,7 +128,7 @@ ARTIFACT_THRESHOLD = "16384"
128128
VITE_LIVESTORE_SYNC_URL = "wss://preview.runt.run/livestore"
129129
VITE_GOOGLE_CLIENT_ID = "94663405566-1go7jlpd2ar9u9urbfirmtjv1bm0tcis.apps.googleusercontent.com"
130130
VITE_GOOGLE_AUTH_ENABLED = "true"
131-
VITE_RUNTIME_COMMAND = "deno run --unstable-broadcast-channel --allow-all --env-file=./.env.preview jsr:@runt/pyodide-runtime-agent@0.6.0"
131+
VITE_RUNTIME_COMMAND = "deno run --unstable-broadcast-channel --allow-all --env-file=./.env.preview jsr:@runt/pyodide-runtime-agent@0.6.2"
132132

133133

134134
# ---

0 commit comments

Comments
 (0)