Skip to content

Commit 42374d9

Browse files
committed
chore: add codex-bindings package and update workspace configuration
This commit introduces the new `codex-bindings` package, including its `Cargo.toml` and `Cargo.lock` files, and adds TypeScript export functionality. The workspace configuration in `Cargo.toml` files has been updated to reflect the new package structure, ensuring proper dependency management. Additionally, references to `codex_bindings` have been updated to `codex-bindings` across relevant files for consistency.
1 parent 5700d9e commit 42374d9

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- "src/**"
1010
- "src-tauri/**"
1111
- "codex-client/**"
12-
- "codex_bindings/**"
12+
- "codex-bindings/**"
1313
- "Cargo.toml"
1414
- "package.json"
1515
pull_request:
@@ -19,7 +19,7 @@ on:
1919
- "src/**"
2020
- "src-tauri/**"
2121
- "codex-client/**"
22-
- "codex_bindings/**"
22+
- "codex-bindings/**"
2323
- "Cargo.toml"
2424
- "package.json"
2525

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
members = [
33
"src-tauri",
44
"codex-client",
5-
"codex_bindings",
5+
"codex-bindings",
66
]
77
resolver = "2"
88

@@ -65,5 +65,5 @@ tauri-remote-ui = { git = "https://github.com/DraviaVemal/tauri-remote-ui" }
6565
fix-path-env = { git = "https://github.com/tauri-apps/fix-path-env-rs" }
6666

6767
# Workspace internal dependencies
68-
codex_bindings = { path = "codex_bindings" }
68+
codex-bindings = { path = "codex-bindings" }
6969
codex-client = { path = "codex-client" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "codex_bindings"
2+
name = "codex-bindings"
33
version.workspace = true
44
edition.workspace = true
55
authors.workspace = true
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "tsc && vite build",
99
"preview": "vite preview",
1010
"tauri": "tauri",
11-
"export:bindings": "cargo run --manifest-path codex_bindings/Cargo.toml --bin codex_export_bindings"
11+
"export:bindings": "cargo run -p codex-bindings --bin codex_export_bindings"
1212
},
1313
"dependencies": {
1414
"@radix-ui/react-accordion": "^1.2.12",

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ regex.workspace = true
5252
tauri-plugin-single-instance.workspace = true
5353
tauri-plugin-updater.workspace = true
5454

55-
codex_bindings.workspace = true
55+
codex-bindings.workspace = true
5656
fix-path-env.workspace = true
5757
codex-client.workspace = true

0 commit comments

Comments
 (0)