mirror of
https://github.com/shabegom/buttons.git
synced 2026-07-22 05:30:25 +00:00
* refactor: split button types into separate files - Created src/buttonTypes/ directory with individual files for each button type - Added registry system to handle circular dependencies - Updated imports to use new modular structure - Added setup system for registering button handlers - Fixed TypeScript configuration to support esModuleInterop - All button types now have their own dedicated files: - calculate.ts - chain.ts - command.ts - copy.ts - link.ts - remove.ts - replace.ts - swap.ts - template.ts - templater.ts - text.ts - Maintained backward compatibility through index.ts exports * refactor: simplify button types structure - Removed unnecessary main buttonTypes.ts file (folder + index.ts handles imports) - Removed registry system and setup files (unnecessary complexity) - Simplified swap.ts to use direct imports instead of registry pattern - Cleaner, more straightforward modular structure - All imports continue to work as before
18 lines
442 B
JSON
18 lines
442 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
// "inlineSourceMap": true,
|
|
// "inlineSources": true,
|
|
"jsx": "preserve",
|
|
"jsxFactory": "h",
|
|
"jsxFragmentFactory": "Fragment",
|
|
"module": "ESNext",
|
|
"target": "esnext",
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"lib": ["dom", "esnext"]
|
|
},
|
|
"include": ["**/*.ts", "**/*.tsx"]
|
|
}
|