Skip to content

Commit eeabed8

Browse files
committed
fix(publish): exclude sqlite-wasm from publish flow
1 parent b34937f commit eeabed8

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ jobs:
435435
436436
# ---- build TypeScript packages (turbo dep graph picks up native) ----
437437
- name: Build TypeScript packages
438-
run: pnpm build -F rivetkit -F '@rivetkit/*' -F '!@rivetkit/shared-data' -F '!@rivetkit/engine-frontend' -F '!@rivetkit/mcp-hub' -F '!@rivetkit/sqlite-native' -F '!@rivetkit/rivetkit-native'
438+
run: pnpm build -F rivetkit -F '@rivetkit/*' -F '!@rivetkit/shared-data' -F '!@rivetkit/engine-frontend' -F '!@rivetkit/mcp-hub' -F '!@rivetkit/sqlite-native' -F '!@rivetkit/sqlite-wasm' -F '!@rivetkit/rivetkit-native'
439439

440440
- name: Pack inspector
441441
run: npx turbo build:pack-inspector -F rivetkit

scripts/publish/src/ci/bin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ program
337337
`npm install rivetkit@${tag}`,
338338
`npm install @rivetkit/react@${tag}`,
339339
`npm install @rivetkit/rivetkit-native@${tag}`,
340-
`npm install @rivetkit/sqlite-wasm@${tag}`,
341340
`npm install @rivetkit/workflow-engine@${tag}`,
342341
"```",
343342
"",

scripts/publish/src/lib/packages.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
* those optionals at install time, so they must exist on the registry before
99
* anyone installs the meta.
1010
*
11-
* NOTE: `@rivetkit/sqlite-native` is deliberately NOT discovered here. The
12-
* sqlite-native Rust crate is now statically linked into
13-
* `@rivetkit/rivetkit-native` via `libsqlite3-sys` + the `rivetkit-sqlite-native`
14-
* workspace dep, so the standalone npm package is redundant. The committed
15-
* `rivetkit-typescript/packages/sqlite-native/*` tree is deprecated and stays
16-
* on the registry at its last published version.
11+
* NOTE: `@rivetkit/sqlite-native` and `@rivetkit/sqlite-wasm` are deliberately
12+
* NOT discovered here. The sqlite-native Rust crate is now statically linked
13+
* into `@rivetkit/rivetkit-native` via `libsqlite3-sys` +
14+
* the `rivetkit-sqlite-native` workspace dep, so the standalone npm package is
15+
* redundant. The old sqlite-wasm package was removed from the workspace but
16+
* its package.json remains for compatibility. Both stay on the registry at
17+
* their last published versions.
1718
*/
1819
import { execSync } from "node:child_process";
1920
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
@@ -41,6 +42,7 @@ export const EXCLUDED = new Set<string>([
4142
"@rivetkit/engine-frontend",
4243
"@rivetkit/mcp-hub",
4344
"@rivetkit/sqlite-native",
45+
"@rivetkit/sqlite-wasm",
4446
"example-agent-os",
4547
"example-agent-os-e2e",
4648
]);

scripts/publish/src/local/cut-release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ async function main() {
154154
await $({
155155
stdio: "inherit",
156156
cwd: repoRoot,
157-
})`pnpm build -F rivetkit -F @rivetkit/* -F !@rivetkit/shared-data -F !@rivetkit/engine-frontend -F !@rivetkit/mcp-hub -F !@rivetkit/sqlite-native -F !@rivetkit/rivetkit-native`;
157+
})`pnpm build -F rivetkit -F @rivetkit/* -F !@rivetkit/shared-data -F !@rivetkit/engine-frontend -F !@rivetkit/mcp-hub -F !@rivetkit/sqlite-native -F !@rivetkit/sqlite-wasm -F !@rivetkit/rivetkit-native`;
158158
await $({
159159
stdio: "inherit",
160160
cwd: repoRoot,

0 commit comments

Comments
 (0)