build(deps): refactored TypeScript and package configuration across monorepo

- Added tsconfig.publish.json files to all packages with optimized publish-time configuration.
- Updated all package.json scripts with prepublishOnly hooks for correct type checking during publish.
- Added @oh-my-pi/omp-stats path mappings to root tsconfig.json for consistent imports.
- Added WASM generation script for photon module and integrated into install:dev script.
This commit is contained in:
can1357
2026-01-23 13:46:01 +01:00
parent d672458138
commit 0fe761dc4b
409 changed files with 1894 additions and 1551 deletions
+8 -2
View File
@@ -20,6 +20,11 @@
"./hooks": {
"types": "./src/extensibility/hooks/index.ts",
"import": "./src/extensibility/hooks/index.ts"
},
"./prompts/*": "./src/prompts/*",
"./*": {
"types": "./src/*",
"import": "./src/*"
}
},
"files": [
@@ -35,10 +40,11 @@
"clean": "rm -rf dist",
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js",
"build:binary": "bun run generate-wasm-b64 && bun build --compile ./src/cli.ts --outfile dist/omp",
"generate-wasm-b64": "bun scripts/generate-wasm-b64.ts",
"generate-template": "bun scripts/generate-template.ts",
"postinstall": "bun run generate-template || true",
"postinstall": "(bun run generate-wasm-b64 && bun run generate-template) || true",
"test": "bun test",
"prepublishOnly": "bun run generate-template"
"prepublishOnly": "cp tsconfig.publish.json tsconfig.json && bun run generate-template"
},
"dependencies": {
"@oh-my-pi/omp-stats": "workspace:*",