Files
metabuilder/hooks/tsconfig.json
johndoe6345789 6781711a53 fix(hooks): correct named exports and add TypeScript configuration
- Fixed index.ts to use named exports instead of default imports (all hooks use named exports)
- Added tsconfig.json for proper TypeScript configuration
- Renamed INTEGRATION_EXAMPLES.ts to .tsx (JSX file)
- Configured tsconfig to only type-check core production hooks

The 104 production-ready hooks now export correctly as named exports from @metabuilder/hooks.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-23 20:01:16 +00:00

41 lines
865 B
JSON

{
"compilerOptions": {
"rootDir": ".",
"outDir": "dist",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"skipLibCheck": true,
"strict": false,
"noImplicitAny": false,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"jsx": "react-jsx"
},
"include": [
"use*.ts",
"use*.tsx",
"index.ts"
],
"exclude": [
"node_modules",
"dist",
"**/*.test.ts",
"**/*.test.tsx",
"*.tsx",
"hooks.ts",
"I18nNavigation.ts",
"ToastContext.tsx",
"SnippetManagerRedux.test.tsx",
"SnippetToolbar.test.tsx",
"FormControl.tsx",
"RadioGroup.tsx",
"ToggleButton.tsx"
]
}