shabegom_buttons/tsconfig.json
Sam Morrison b4b9d65637
refactor: split button types into separate files (#248)
* 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
2025-07-18 16:46:30 -04:00

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"]
}