Full-stack pnpm + Turborepo monorepo skill, independent of the separate backend and frontend monorepo skills it draws on. Repository shape is split four ways at the top level: applications-backend, applications-frontend, packages-backend, packages-frontend — so a path states which runtime a file ends up in. Defaults: NestJS for backend services, React with IBM Carbon Design for browser applications; the project's stated architecture overrides both. Covers workspace globs, the Turborepo pipeline, filtered validation, blast-radius checks, Module Federation, turbo prune image builds, and Helm. Documents one sanctioned cross-boundary dependency: API contract types owned by the backend, imported type-only by the frontend. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
35 lines
794 B
JSON
35 lines
794 B
JSON
{
|
|
"name": "@ca/example-utils",
|
|
"version": "1.0.0",
|
|
"description": "Generic example shared utility package for CogArchHub",
|
|
"author": "IBM",
|
|
"license": "IBM copyright",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://nexus.edst.ibm.com/repository/Cognitive_Architect/"
|
|
},
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"check-types": "tsc --noEmit",
|
|
"lint": "eslint src --ext .ts",
|
|
"dev": "tsc --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@ca/eslint-config": "workspace:*",
|
|
"@ca/typescript-config": "workspace:*",
|
|
"typescript": "^5.4.5"
|
|
}
|
|
}
|