Files
anomalyco__opentui/package.json
T
Simon Klee 6dec16a77c native: move Zig sources into packages/native (#1391)
Separate the native implementation from the TypeScript bindings. Keep
core on
the public bindings and keep the current native artifact packages and
release
workflows.

packages/native owns the Zig source, tests, benches, and vendor updates.
The
package is private and unpublished for now Core still packages the
@opentui/core-* artifacts. build:native, test:native, and bench:native
still
work from core and delegate to native.

Expose a Zig import root and a no-JS hello example for proof of concept,
not a focus point, just a smoke test.
2026-08-20 11:34:03 +02:00

35 lines
1.8 KiB
JSON

{
"name": "@opentui",
"private": true,
"workspaces": [
"packages/*",
"packages/solid/examples"
],
"scripts": {
"build": "cd packages/native && bun run build && cd ../core && bun scripts/build.ts --native --skip-zig && bun run build:lib && cd ../qrcode && bun run build && cd ../three && bun run build && cd ../solid && bun run build && cd ../react && bun run build && cd ../keymap && bun run build && cd ../ssh && bun run build",
"build:examples": "cd packages/examples && bun run build",
"clean": "bun scripts/clean.ts",
"examples:node": "node packages/examples/scripts/run-node26.mjs",
"fmt": "oxfmt --write .",
"fmt:check": "oxfmt --check .",
"lint": "oxlint .",
"lint:ci": "oxlint . --deny-warnings",
"lint:fix": "oxlint --fix .",
"pre-publish": "bun scripts/pre-publish.ts",
"publish": "bun run pre-publish && bun run publish:core && bun run publish:qrcode && bun run publish:three && bun run publish:react && bun run publish:solid && bun run publish:keymap && bun run publish:ssh",
"publish:core": "cd packages/core && bun run publish",
"publish:qrcode": "cd packages/qrcode && bun run publish",
"publish:three": "cd packages/three && bun run publish",
"publish:react": "cd packages/react && bun run publish",
"publish:solid": "cd packages/solid && bun run publish",
"publish:keymap": "cd packages/keymap && bun run publish",
"publish:ssh": "cd packages/ssh && bun run publish",
"prepare-release": "bun scripts/prepare-release.ts",
"test": "bun run --filter '@opentui/native' --filter '@opentui/core' --filter '@opentui/qrcode' --filter '@opentui/three' --filter '@opentui/solid' --filter '@opentui/react' --filter '@opentui/keymap' --filter '@opentui/ssh' --if-present test"
},
"devDependencies": {
"oxfmt": "0.41.0",
"oxlint": "1.56.0"
}
}