7b5af2dd9f
- converted relative imports to path aliases ($c/*, $ai/*, $tui/*, etc.) across all packages - added per-package tsconfig.json with complete path mappings for runtime resolution - set importModuleSpecifier to non-relative for IDE auto-import preferences - updated dev script to run from monorepo root for consistent path resolution
48 lines
2.1 KiB
JSON
48 lines
2.1 KiB
JSON
{
|
|
"name": "omp-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"install:dev": "bun install && bun --cwd=packages/coding-agent link && bun --cwd=packages/ai link",
|
|
"dev": "bun packages/coding-agent/src/cli.ts",
|
|
"stats": "bun --cwd=packages/coding-agent src/cli.ts stats",
|
|
"check": "biome check --write . && bun --cwd=packages/coding-agent run check && bun --cwd=packages/omp-stats run check",
|
|
"fix": "biome check --write --unsafe . && bun --cwd=packages/coding-agent run format-prompts",
|
|
"bench:gen-fixtures": "bun run packages/react-edit-benchmark/generate.ts --react-dir /tmp/react-source --count-per-type 3",
|
|
"bench:edit": "bun --cwd=packages/react-edit-benchmark run start",
|
|
"version:patch": "npm version patch -ws --no-git-tag-version && bun scripts/sync-versions.ts && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
|
"version:minor": "npm version minor -ws --no-git-tag-version && bun scripts/sync-versions.ts && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
|
"version:major": "npm version major -ws --no-git-tag-version && bun scripts/sync-versions.ts && rm -rf node_modules packages/*/node_modules bun.lock && 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": "bun scripts/release.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.11",
|
|
"@bufbuild/protoc-gen-es": "^2.10.2",
|
|
"@types/bun": "^1.2.17",
|
|
"@types/node": "^22.10.5",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260102.1",
|
|
"bun-types": "^1.3.5",
|
|
"concurrently": "^9.2.1",
|
|
"lint-staged": "^16.2.7",
|
|
"prettier": "^3.8.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
},
|
|
"version": "0.0.3",
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.34.46",
|
|
"get-east-asian-width": "^1.4.0"
|
|
}
|
|
}
|