1cee37cf92
- Migrated from Node.js to Bun runtime to leverage native TypeScript execution and faster startup times. - Replaced npm with bun package manager and updated lockfile format. - Converted Node.js APIs (child_process, fs, readline) to Bun equivalents across all packages. - Updated shebang lines from node/tsx to bun for CLI entry points. - Removed TypeScript build step by using source files directly as package entry points. - Updated CI workflows to use Bun instead of Node.js for installation and testing.
42 lines
1.6 KiB
JSON
42 lines
1.6 KiB
JSON
{
|
|
"name": "pi-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages/web-ui/example"
|
|
],
|
|
"scripts": {
|
|
"build": "bun --cwd=packages/web-ui run build:css",
|
|
"dev": "bun --cwd=packages/web-ui run dev",
|
|
"check": "biome check --write . && bun --cwd=packages/web-ui run check",
|
|
"test": "bun run --filter '*' test",
|
|
"version:patch": "npm version patch -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lockb && bun install",
|
|
"version:minor": "npm version minor -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lockb && bun install",
|
|
"version:major": "npm version major -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lockb && bun install",
|
|
"version:set": "npm version -ws",
|
|
"prepublishOnly": "bun run build && bun run check",
|
|
"publish": "bun run prepublishOnly && npm publish -ws --access public",
|
|
"publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run",
|
|
"release:patch": "bun scripts/release.mjs patch",
|
|
"release:minor": "bun scripts/release.mjs minor",
|
|
"release:major": "bun scripts/release.mjs major",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.10",
|
|
"@types/bun": "^1.2.17",
|
|
"@types/node": "^22.10.5",
|
|
"concurrently": "^9.2.1",
|
|
"husky": "^9.1.7"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
},
|
|
"version": "0.0.3",
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.34.46",
|
|
"get-east-asian-width": "^1.4.0"
|
|
}
|
|
}
|