feat: estructura base OpenSpec + Skills + arquitectura limpia Capacitor+Dextie

This commit is contained in:
mono
2026-10-24 20:49:29 -05:00
parent 2e6262b5a5
commit 0c7cf651ce
1659 changed files with 265883 additions and 0 deletions

23
packages/ui/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "@toldo/ui",
"version": "0.0.1",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsc"
},
"dependencies": {
"@toldo/core": "workspace:*",
"@toldo/services": "workspace:*"
},
"devDependencies": {
"typescript": "~6.0.3"
}
}

View File

@@ -0,0 +1,8 @@
export interface ButtonProps {
label: string;
disabled?: boolean;
}
export function createButton(props: ButtonProps): string {
return `<button ${props.disabled ? 'disabled' : ''}>${props.label}</button>`;
}

1
packages/ui/src/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './components/Button';

18
packages/ui/tsconfig.json Normal file
View File

@@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"declaration": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"paths": {
"@toldo/core": ["../core/src"],
"@toldo/services": ["../services/src"]
}
},
"include": ["src"]
}