mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
- 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>
41 lines
865 B
JSON
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"
|
|
]
|
|
}
|